Hi I am having similar problems. I cannot consume the soap interface (when arrays or complex tyoes are returned) from Visual studio, netbeans, eclipse or any other IDE I have tried. Similar errors in all cases about expecting endof element but finding start. SoapUI is suggesting the wsdl is not valid when I run WSI profile compliance.
One thing I noticed. If I look at a message returned from ladon for a reponse like:
String name;
double a;
double b;
double[] c;
For a web service CREATED with netbeans I get a reponse like this:
ie rather than a list of 'c's I get one 'c' and a list of items. I'd be happy to post some examples for various types etc of the wsdl netbeans generates and any messages sent, if that helps - it seems the services it produces are pretty portable and consumed by most clients. So any fomratting it uses may be informative.
Hi I am having similar problems. I cannot consume the soap interface (when arrays or complex tyoes are returned) from Visual studio, netbeans, eclipse or any other IDE I have tried. Similar errors in all cases about expecting endof element but finding start. SoapUI is suggesting the wsdl is not valid when I run WSI profile compliance.
One thing I noticed. If I look at a message returned from ladon for a reponse like:
String name;
double a;
double b;
double[] c;
For a web service CREATED with netbeans I get a reponse like this:
<S:Envelope xmlns:S="http:// schemas. xmlsoap. org/soap/ envelope/"> ns2:func2Respon se xmlns:ns2="http:// test/">
<a> 1.0</a>
<b> 1.0</b>
<c> 1.0</c>
<c> 3.2</c>
<c> 4.5</c>
<name> hello</ name> /ns2:func2Respo nse>
<S:Body>
<
<return>
</return>
<
</S:Body>
</S:Envelope>
from ladon with a similar reponse objec tI get:
<SOAP-ENV:Envelope xmlns:SOAP-ENC="http:// schemas. xmlsoap. org/soap/ encoding/" xmlns:SOAP-ENV="http:// schemas. xmlsoap. org/soap/ envelope/" xmlns:ns= "urn:Calculator " xmlns:xsd="http:// www.w3. org/2001/ XMLSchema"> encodingStyle= "http:// schemas. xmlsoap. org/soap/ encoding/"> ns:func2Respons e>
<a> 1.2</a>
<item> 1.2</item>
<item> 2.4</item>
<item> 3.6</item>
<b> 2.4</b>
<name> hello 2</name> /ns:func2Respon se> ENV:Envelope>
<SOAP-ENV:Body SOAP-ENV:
<
<result>
<c>
</c>
</result>
<
</SOAP-ENV:Body>
</SOAP-
ie rather than a list of 'c's I get one 'c' and a list of items. I'd be happy to post some examples for various types etc of the wsdl netbeans generates and any messages sent, if that helps - it seems the services it produces are pretty portable and consumed by most clients. So any fomratting it uses may be informative.