• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

sendind SOAP request

 
saravana kumar
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

i tried to send SOAP request . my java proxy generates the SOAP request as follows

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Header/>
<soapenv:Body>
<p492:getOrderInformation xmlns 492="http://temp.org/DB2WebService/ss/ss-aa-repairs.dadx/WSDL">
<arg0>565656</arg0>
</p492:getOrderInformation>
</soapenv:Body>
</soapenv:Envelope>

instead of

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Header/>
<soapenv:Body>
<p492:getOrderInformation xmlns 492="http://temp.org/DB2WebService/ss/ss-repairs.dadx/WSDL">
<WCLSR>565656</WCLSR></p492:getOrderInformation>
</soapenv:Body>
</soapenv:Envelope>

because of this i am getting the follwing error.

Error 400: com.ibm.etools.webservice.rt.dxx.exception.DADXRuntimeException: parameter arg0 out of sequence: WCLSR expected.

here is my client code

Call call = (Call)OrderService.createCall();

call.setTargetEndpointAddress("http://182.130.1.112/www-dev-ws/GcoWebService/ss/ss-repairs.dadx/SOAP");
call.setOperationName(new QName("http://182.130.1.112/www-dev-ws/GcoWebService/ss/ss-warranty-repairs.dadx/WSDL","getOrderInformation"));

return responseReturn = (return) call.invoke(new Object[] {new BigDecimal(claimNumber)} );


Please help me how can let my client code generate the request correctly ?

thanks
 
saravana kumar
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have solved this issue
 
Balaji Loganathan
author and deputy
Bartender
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Saravana.
Would be useful to other ranchers, if you can share your solution.C
Cheers
Balaji
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic