• 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
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

sendind SOAP request

 
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have solved this issue
 
author and deputy
Posts: 3150
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Saravana.
Would be useful to other ranchers, if you can share your solution.C
Cheers
Balaji
 
Tongue wrestling. It's not what you think. And here, take this tiny ad. You'll need it.
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic