• 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
  • Devaka Cooray
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Martijn Verburg
  • Frits Walraven
  • Himai Minh

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
 
A wop bop a lu bop a womp bam boom! Tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic