I've tried to send a method call with parameter(s) from Axis Java-client to .NET VB-WebService.
It seems that my .NET VB-Service cannot get the parameter from the SOAP-msg.
Any idea how to get the parameter from the msg in .NET environment?
Request-msg below shows the parameter 'pProductId' that is not recived in .NET. Could it be so that .NET has different style to handle parameters? How to send request without these 'xsi:type' prefixes of parameters?

POST /WebService_VB/Service1.asmx HTTP/1.0
Content-Length: 471
Host: 127.0.0.1
Content-Type: text/xml; charset=utf-8
SOAPAction: "http://tempuri.org/getUnitsInStock"

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
 <SOAP-ENV:Body>
    <ns1:getUnitsInStock xmlns:ns1="http://tempuri.org">
      <pProductId xsi:type="xsd:string">123</pProductId>
    </ns1:getUnitsInStock>
 </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

EerHosi



Do You Yahoo!?
Yahoo! Sports - Sign up for Fantasy Baseball

Reply via email to