Sax exception:Invalid element in...

2006-05-22 Thread Roy
Hello,I use axis 1.3 to call a service that is implemented in an uknown language (probably .NET but not Java). I have generated the classes with the wsdl2Java tool from the service's WSDL and i called normally the service with a static stub. In the SOAP monitor i can see the respone with the

Re: Sax exception:Invalid element in...

2006-05-22 Thread Anne Thomas Manes
Compare the return message to the expected schema as defined by the WSDL. It's likely that the service is returning a message that doesn't conform to the schema. If so, you should report the error to the service provider. If they won't fix the error, then you may need to modify the WSDL so that it

Re: Sax exception:Invalid element in...

2006-05-22 Thread Roy
Thank you for your fast response.I compared the wsdl to the returned message and it seems ok(I checked the response objects and have the same names and structures to the ones i get in the response). Is there any other way to check the response i should get ? Can i use a custom deserialiser for the