Hi! We have a strange SOAP problem that shows up from time to time. It is not deterministic.
On the server side we use SOAP::Lite 0.55 on a IIS web server using the latest PerlEx for (ActiveState) Perl 5.6. On the client side we use Java and Apache AXIS 1.1. Sometimes we get the "org.xml.sax.SAXException: Bad envelope namespace: http://www.w3.org/2001/06/soap-envelope" error on the client (full trace at the end of this mail), and nothing works Since it happens in the SAX parser, we suspect something fishy in the XML that we get from the server. Does the trace indicate if this happens on the sending or recieving side? Has anybody seen something like this and know how to fix it? Does anybody have some ideas and tips for how we can debug this to get more specific information? -- AxisFault faultCode: {http://xml.apache.org/axis/}Server.userException faultString: org.xml.sax.SAXException: Bad envelope namespace: http://www.w3.org/2001/06/soap-envelope faultActor: null faultDetail: stackTrace: org.xml.sax.SAXException: Bad envelope namespace: http://www.w3.org/2001/06/soap-envelope at org.apache.axis.message.EnvelopeBuilder.startElement(EnvelopeBuilder.java:117) at org.apache.axis.encoding.DeserializationContextImpl.startElement(DeserializationContextImpl.java:926) at org.apache.crimson.parser.Parser2.maybeElement(Unknown Source) at org.apache.crimson.parser.Parser2.parseInternal(Unknown Source) at org.apache.crimson.parser.Parser2.parse(Unknown Source) at org.apache.crimson.parser.XMLReaderImpl.parse(Unknown Source) at javax.xml.parsers.SAXParser.parse(Unknown Source) at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:237) at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:545) at org.apache.axis.Message.getSOAPEnvelope(Message.java:379) at org.apache.axis.client.Call.invokeEngine(Call.java:2395) at org.apache.axis.client.Call.invoke(Call.java:2365) at org.apache.axis.client.Call.invoke(Call.java:2062) at org.apache.axis.client.Call.invoke(Call.java:1986) at org.apache.axis.client.Call.invoke(Call.java:1509) -- -- J�rgen Austvik Software developer | extend as | http://www.extend.no/ [EMAIL PROTECTED] | Phone: 73 54 51 68 | Mob: 901 97 886
