axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefano Sambi" <stefano.sa...@business-e.it>
Subject Interoperability with .NET compact framework
Date Thu, 11 Mar 2004 12:16:40 GMT
Hi,
I'm writing a C# client based on .NET compact framework and I have noticed
that my client can't decode a string that my axis web service return.
I'm using Axis 1.2 alpha.
Here is the error:

"Cannot find type for http://schemas.xmlsoap.org/soap/encoding/:string."

This is because axis encode the string with soap encoding type, like I could
see from the soap response:
         <ns1:nomeResponse
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns1=http://axis5>
            <nomeReturn xsi:type="soapenc:string"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">stefano</nomeRetur
n>
         </ns1:nomeResponse>

while my client expects a string with xml schema encoding type.

Here is my question: how can I force axis to use xml schema encoding type
for strings?
Thanks
Stefano


Mime
View raw message