J�rgen, The stack trace is not so relevant here. Can you grab the request and the response message. From that you can check whether both client and server adhere to the same SOAP standard.
Sjaak -----Original Message----- From: J�rgen Austvik [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 11:48 AM To: [EMAIL PROTECTED] Subject: Bad envelope namespace 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:11 7) at org.apache.axis.encoding.DeserializationContextImpl.startElement(Deserializa tionContextImpl.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(DeserializationCon textImpl.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 -- The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it.
