Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Invalid
-
None
-
None
-
None
-
None
-
Windows XP, JDK1.5
Description
I have a web service that computes the sum of two numbers and returns the output as an integer. I have used the WSDL2C code for generating the skel and stub code. The issue is the integer values do not seem to be going as integers and it seems to be garbled. The following is the request that is captured using tcpmon utility.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soa
penv:Header xmlns:wsa="http://www.w3.org/2005/08/addressing"><wsa:To>http://loca
lhost:9090/axis2/services/MyService</wsa:To><wsa:Action>urn:mul</wsa:Action><wsa
:MessageID>d4c0d2dd-640f-4e6b-b145-64b30d80f3b2</wsa:MessageID></soapenv:Header>
<soapenv:Body><n:mul xmlns:n="http://test.ws.vpp.com"><n:param0>I32d</n
aram0><n:param1>I32d</n:param1></n:mul></soapenv:Body></soapenv:Envelope>
Param0 and Param1 are the values. But this is not the actual value that was sent from the client code.
Is there any thing else that needs to be done on the client code to handle this. ??
Both the client code and server code have been generated using WSDL2C.
Thanks
Mani