• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Exception: java.lang.illegal Argument Exception

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I making use of SOAPUI for getting the xml responce for the given wsdl request.

An Exception is throwing when i try to take the response of it.

Here is the wsdl File code:

<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn rderPush" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
<soapenv:Header/>
<soapenv:Body>
<urn:integrateWebOrder soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<in0 xsi:type="vo rderHeader" xmlns:vo="http://vo.orderpush.ws.portal.interflora.com">
<areaCharge xsi:type="xsd ouble">0.1</areaCharge>
<callDivert xsi:type="soapenc:string">N</callDivert>
<campaignCode xsi:type="soapenc:string">if</campaignCode>
<cardAuthCode xsi:type="soapenc:string">A1234</cardAuthCode>
<cardServiceProvider xsi:type="soapenc:string">HSBC</cardServiceProvider>
<cardTransactionStatus xsi:type="soapenc:string">A</cardTransactionStatus>
<conversionRate xsi:type="xsd ouble">1</conversionRate>
<conversionType xsi:type="soapenc:string">ss</conversionType>
<currencyInd xsi:type="soapenc:string">s</currencyInd>
<custAddr1 xsi:type="soapenc:string">1 Amor Way</custAddr1>
<custAddr2 xsi:type="soapenc:string">Dunham Lane</custAddr2>
<custCardNo xsi:type="soapenc:string">************3198</custCardNo>
<custCardType xsi:type="soapenc:string">VISA</custCardType>
<custCountry xsi:type="soapenc:string">United Kingdom</custCountry>
<custCounty xsi:type="soapenc:string">Herts</custCounty>
<custDateOfBirth xsi:type="soapenc:string">2008-05-28 10:05:08</custDateOfBirth>
<custEmailAddress xsi:type="soapenc:string">[email protected]</custEmailAddress>
<custEmailType xsi:type="soapenc:string">O</custEmailType>
<custExpiry xsi:type="soapenc:string">2008-06-15 10:05:08</custExpiry>
<custFirstname xsi:type="soapenc:string">Andy</custFirstname>
<custHomePhone xsi:type="soapenc:string">01462 489700</custHomePhone>
<custId xsi:type="xsd:long">5766056</custId>
<custIssueNo xsi:type="soapenc:string">A1234</custIssueNo>
<custLastname xsi:type="soapenc:string">Owens</custLastname>
<custMobilePhone xsi:type="soapenc:string">9999996453</custMobilePhone>
<custPostcode xsi:type="soapenc:string">SG6 1UG</custPostcode>
<custStart xsi:type="soapenc:string">A1234</custStart>
<custTitle xsi:type="soapenc:string">Mr</custTitle>
<custTown xsi:type="soapenc:string">Letchworth</custTown>
<custType xsi:type="soapenc:string">O</custType>
<custWorkPhone xsi:type="soapenc:string">01462 489700</custWorkPhone>
<delivChargeTaxi xsi:type="xsd ouble">0</delivChargeTaxi>
<delivPoolCharge xsi:type="xsd ouble">0.89</delivPoolCharge>
<deliveryInstructions xsi:type="soapenc:string">Hello</deliveryInstructions>
<deliveryOption xsi:type="soapenc:string">1</deliveryOption>
<deliveryTiming xsi:type="soapenc:string">SD</deliveryTiming>
<execCountryType xsi:type="soapenc:string">INL</execCountryType>
<execMbrAutoAlloc xsi:type="soapenc:string">Y</execMbrAutoAlloc>
<executingMbrNo xsi:type="soapenc:string">1344A</executingMbrNo>
<firstProductDesc xsi:type="soapenc:string">BABY GIRL ROSE BLUSH GIFT SET</firstProductDesc>
<freeDelDiscountValue xsi:type="xsd ouble">0</freeDelDiscountValue>
<funeralTime xsi:type="soapenc:string">2008-05-30</funeralTime>
<noOfLineitems xsi:type="xsd:int">2</noOfLineitems>
<occasion xsi:type="soapenc:string">BIRTH</occasion>
<orderCreatedDate xsi:type="soapenc:string">2008-05-21 10:05:08</orderCreatedDate>
<orderDeliveryDate xsi:type="soapenc:string">2008-05-26 10:05:08</orderDeliveryDate>
<orderDiscountedValue xsi:type="xsd ouble">0</orderDiscountedValue>
<orderLocId xsi:type="soapenc:string">NE041200</orderLocId>
<orderOrigin xsi:type="soapenc:string">WEB</orderOrigin>
<orderStatus xsi:type="soapenc:string">D</orderStatus>
<orderType xsi:type="soapenc:string">Relay Order</orderType>
<orderTypeDefCode xsi:type="soapenc:string">6104</orderTypeDefCode>
<origRefNo xsi:type="soapenc:string">53966512</origRefNo>
<peakDelivCharge xsi:type="xsd ouble">0</peakDelivCharge>
<priorityDelivCharge xsi:type="xsd ouble">2</priorityDelivCharge>
<qasSuccessFlag xsi:type="soapenc:string">U</qasSuccessFlag>
<qasUsedFlag xsi:type="soapenc:string">U</qasUsedFlag>
<receiveMktgInfoFlag xsi:type="soapenc:string">N</receiveMktgInfoFlag>
<receiveReceiptFlag xsi:type="soapenc:string">N</receiveReceiptFlag>
<recipAddr0 xsi:type="soapenc:string">xx</recipAddr0>
<recipAddr1 xsi:type="soapenc:string">Poets Cottage, Poets Way</recipAddr1>
<recipAddr2 xsi:type="soapenc:string">Newnham</recipAddr2>
<recipCountry xsi:type="soapenc:string">UNITED KINGDOM</recipCountry>
<recipCounty xsi:type="soapenc:string">Northamptonshire</recipCounty>
<recipEmail xsi:type="soapenc:string">[email protected]</recipEmail>
<recipEmailType xsi:type="soapenc:string">O</recipEmailType>
<recipFirstname xsi:type="soapenc:string">Paula</recipFirstname>
<recipHomePhone xsi:type="soapenc:string">01327 312269</recipHomePhone>
<recipLastname xsi:type="soapenc:string">Cooper</recipLastname>
<recipMobilePhone xsi:type="soapenc:string">9999999999</recipMobilePhone>
<recipPostcode xsi:type="soapenc:string">NN11 3HQ</recipPostcode>
<recipTitle xsi:type="soapenc:string">Mrs</recipTitle>
<recipTown xsi:type="soapenc:string">DAVENTRY</recipTown>
<recipWorkPhone xsi:type="soapenc:string">01327 312269</recipWorkPhone>
<recipientRelationship xsi:type="soapenc:string">Father</recipientRelationship>
<remindMeFlag xsi:type="soapenc:string">Y</remindMeFlag>
<rotationWeight xsi:type="xsd:int">1</rotationWeight>
<sendingMbrNo xsi:type="soapenc:string">0081A</sendingMbrNo>
<sendmemOrdNumber xsi:type="soapenc:string">53966512</sendmemOrdNumber>
<servtranCharge xsi:type="xsd ouble">0</servtranCharge>
<stdDelivCharge xsi:type="xsd ouble">4.1</stdDelivCharge>
<totalOrderValue xsi:type="xsd ouble">50.94</totalOrderValue>
<standardDeliveryRuleId xsi:type="soapenc:string">2</standardDeliveryRuleId>
<optionalDeliveryRuleId xsi:type="soapenc:string">3</optionalDeliveryRuleId>
<websiteType xsi:type="soapenc:string">www.interflora.co.uk</websiteType>
<cardProcessingFee xsi:type="xsd ouble">1</cardProcessingFee>
<serviceCharge xsi:type="xsd ouble">1</serviceCharge>
</in0>
<in1 xsi:type="urn:ArrayOf_tns2_OrderItem" soapenc:arrayType="vo rderItem[]" xmlns:vo="http://vo.orderpush.ws.portal.interflora.com"/>
<in2 xsi:type="vo:UserPrincipal" xmlns:vo="http://vo.orderpush.ws.portal.interflora.com">
<password xsi:type="soapenc:string">Mbrrose12</password>
<userName xsi:type="soapenc:string">mbr2080A</userName>
</in2>
</urn:integrateWebOrder>
</soapenv:Body>
</soapenv:Envelope>


The Response what i am getting is:


<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<ns1:integrateWebOrderResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="urn rderPush">
<integrateWebOrderReturn href="#id0"/>
</ns1:integrateWebOrderResponse>
<multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:Result" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="http://vo.orderpush.ws.portal.interflora.com">
<errorMessage xsi:type="soapenc:string">null</errorMessage>
<orderNumber xsi:type="soapenc:string">-1</orderNumber>
<returnStatus xsi:type="soapenc:string">E</returnStatus>
<userMessage xsi:type="soapenc:string">APPS: ERROR OCCURED DURING INTEGRATION</userMessage>
</multiRef>
</soapenv:Body>
</soapenv:Envelope>


can any body help me out in this one.


I am new to forums and i am not sure how post my problem here.

If any body can help me out and i need of some more info reply back.

If i can find the solution with this info i am very thankful to all.


Thanks in Advance.
Nagendra Reddy
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

An Exception is throwing when i try to take the response of it



The stack trace from this exception should tell you which method in which class is throwing the IllegalArgument exception. The source code for that method should indicate what the argument is supposed to be.

Bill
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic