wood burning stoves 2.0*
The moose likes Web Services and the fly likes sendind SOAP request Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "sendind SOAP request" Watch "sendind SOAP request" New topic
Author

sendind SOAP request

saravana kumar
Ranch Hand

Joined: Jun 25, 2002
Posts: 72
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

Joined: Jun 25, 2002
Posts: 72
I have solved this issue
Balaji Loganathan
author and deputy
Bartender

Joined: Jul 13, 2001
Posts: 3150
Thanks Saravana.
Would be useful to other ranchers, if you can share your solution.C
Cheers
Balaji


Spritle Software Blogs
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: sendind SOAP request
 
Similar Threads
WebSphere V5.1 Application Server SOAP Response
problem with perl web services and java client
Send SOAP Request to wsdl
TcpMon in Eclipse
WAS v6.1 + WS-Security