I have an Axis client connecting with a 2.6 gSOAP server. Things work fine until the server returns a fault at which point the client throws a ClassCastException out of the stub’s invoke() method. Here is the returned gSOAP response. Is this response valid or is it formatted improperly?
Thanks.
<?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns="urn:Server" xmlns:ns="urn:Agent/ns.xsd" xmlns:Agent="urn:Agent"> <SOAP-ENV:Body id="_0"> <SOAP-ENV:Fault> <faultcode>SOAP-ENV:Client</faultcode> <faultstring>STATUS_IO_TIMEOUT</faultstring> <detail>SOAP Request Failed: Error = Exception (555)</detail> </SOAP-ENV:Fault> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
|
- Re: ClassCastException parsing fault with 1.2RC2 Rich Bramante
- Re: ClassCastException parsing fault with 1.2RC2 Anne Thomas Manes