axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Egger Oliver <oliver.eg...@ecofin.ch>
Subject RE: getting ....Bad envelope namespace
Date Thu, 21 Feb 2002 16:01:50 GMT
see http://marc.theaimsgroup.com/?l=axis-user&m=101415092803439&w=2

best,
oliver


> -----Original Message-----
> From: JohnT@ibsplc.com [mailto:JohnT@ibsplc.com]
> Sent: Donnerstag, 21. Februar 2002 11:38
> To: axis-user@xml.apache.org
> Subject: getting ....Bad envelope namespace
> 
> 
> Hi All,
> 
> I am a first time user of 'axis'.
> I have downloaded the alpha3 release of axis.I have installed the
> latest Tomcat 4.0.2 server.
> As 'xerces.jar' is already available in tomcat 4.0.2 , i am using the
> xerces.jar  in tomcat 4.0.2's common/lib folder as my xml parser.
> 
> I had followed the instructions in the installion guidelines and set
> my classpath to point to axis.jar, log4j-core.jar and xerces.jar.
> I have renamed the Calculator.java file (available in "example2"
> folder) to Calculator.jws and put it in webapps/axis/ folder of
> tomact.
> Then i tried running the CalcClient client but i am  getting the
> exception below.
> 
> Can someone advise what could be the reason for this exception, Does
> the xerces.jar i am using have anything to do with it.. Please do help
> 
> D:\xml-axis-alpha3>java samples.userguide.example2.CalcClient -p8080
> add 23 23
> 
> Exception in thread "main" org.xml.sax.SAXException: Bad envelope
> namespace:
> org.xml.sax.SAXException: Bad envelope namespace:
>         at
> org.apache.axis.message.EnvelopeBuilder.startElement(EnvelopeBuilder.
> java:108)
>         at
> org.apache.axis.encoding.DeserializationContext.startElement(Deserial
> izationContext.java:643)
>         at
> org.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1376)
> 
>         at
> org.apache.xerces.validators.common.XMLValidator.callStartElement(XML
> Validator.java:1284)
>         at
> org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.disp
> atch(XMLDocumentScanner.java:938)
>         at
> org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentS
> canner.java:381)
>         at
> org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
>         at javax.xml.parsers.SAXParser.parse(SAXParser.java:393)
>         at
> org.apache.axis.encoding.DeserializationContext.parse(Deserialization
> Context.java:204)
>         at
> org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:378)
>         at org.apache.axis.client.Call.invoke(Call.java:1268)
>         at org.apache.axis.client.Call.invoke(Call.java:1113)
>         at org.apache.axis.client.Call.invoke(Call.java:1043)
>         at org.apache.axis.client.Call.invoke(Call.java:676)
>         at
> samples.userguide.example2.CalcClient.main(CalcClient.java:96)
> 
> D:\xml-axis-alpha3>
> 
> 
> regards
> John Thomas
> Software Engineer
> IBS
> 
> 

Mime
View raw message