In my client code that uses dynamic invocation I have the following.

        call.addParameter("zipcode",
                          org.apache.axis.encoding.XMLType.XSD_INT,
                          javax.xml.rpc.ParameterMode.PARAM_MODE_IN);

Using tcpmon to view the generated request I see the following.

<zipcode xsi:type="xsd:string">90210</zipcode>

Notice that it encoded the type of the zipcode parameter as xsd:string even
though I specified that it should be xsd:int. Is there a reason why that
would happen?  If you'd like to see all the code, I'd be glad to send it.

Reply via email to