axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mangesh Bais <mab...@cisco.com>
Subject org.xml.sax.SAXException: Bad envelope tag: HTML
Date Tue, 19 Dec 2006 05:53:18 GMT
Hi All, 
 
We are developing an application which is invoking Sharepoint Webservices.
Everyday during 1st unit test run we get the exeception below. Just ignoring
it and running the application once again, it works fine.
 
What is the cause of this error, which only occurs mostly during very 1st run
in a day?
 
Appreciate any help on this
 
 
 
AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode: 
 faultString: org.xml.sax.SAXException: Bad envelope tag:  HTML
 faultActor: 
 faultNode: 
 faultDetail: 
 {http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXException: Bad
envelope tag:  HTML
 at
org.apache.axis.message.EnvelopeBuilder.startElement(EnvelopeBuilder.java:71)
 at
org.apache.axis.encoding.DeserializationContext.startElement(DeserializationC
ontext.java:1048)
 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.DeserializationContext.parse(DeserializationContext.
java:227)
 at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
 at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
 at
org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChec
ker.java:62)
 at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
 at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
 at org.apache.axis.client.Call.invoke(Call.java:2767)
 at org.apache.axis.client.Call.invoke(Call.java:2443)
 at org.apache.axis.client.Call.invoke(Call.java:2366)
 at org.apache.axis.client.Call.invoke(Call.java:1812)
 at
com.microsoft.schemas.sharepoint.soap.AdminSoapStub.createSite(AdminSoapStub.
java:237)
 at migration.client.MigrateWS.createSite(MigrateWS.java:284)
 at migration.client.MigrateWS.traverseNodes(MigrateWS.java:125)
 at migration.client.MigrateWS.parseDocument(MigrateWS.java:102)
 at migration.client.MigrateWS.migrate(MigrateWS.java:70)
 at migration.client.MigrateWS.main(MigrateWS.java:60)
 
 {http://xml.apache.org/axis/}hostname:mabais-w2k
 
org.xml.sax.SAXException: Bad envelope tag:  HTML
 at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
 at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:701)
 at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
 at
org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChec
ker.java:62)
 at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
 at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
 at org.apache.axis.client.Call.invoke(Call.java:2767)
 at org.apache.axis.client.Call.invoke(Call.java:2443)
 at org.apache.axis.client.Call.invoke(Call.java:2366)
 at org.apache.axis.client.Call.invoke(Call.java:1812)
 at
com.microsoft.schemas.sharepoint.soap.AdminSoapStub.createSite(AdminSoapStub.
java:237)
 at migration.client.MigrateWS.createSite(MigrateWS.java:284)
 at migration.client.MigrateWS.traverseNodes(MigrateWS.java:125)
 at migration.client.MigrateWS.parseDocument(MigrateWS.java:102)
 at migration.client.MigrateWS.migrate(MigrateWS.java:70)
 at migration.client.MigrateWS.main(MigrateWS.java:60)
Caused by: org.xml.sax.SAXException: Bad envelope tag:  HTML
 at
org.apache.axis.message.EnvelopeBuilder.startElement(EnvelopeBuilder.java:71)
 at
org.apache.axis.encoding.DeserializationContext.startElement(DeserializationC
ontext.java:1048)

Regards,

Mangesh Bais


 
P.S. We have used WSDL2Java tool of axis 1.4 for generating the client
classes
 
 

Mime
View raw message