You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Shiv <sh...@yahoo.co.uk> on 2007/01/15 17:52:31 UTC

org.xml.sax.SAXException: Bad envelope tag

Hi everyone,

This is my first post on this forum as I am a real novice to Axis. I am
working on an existing Java application which uses Axis to connect
externally. When I tried to call service by using this targeted path
http://bagel.intrallect.com:8080/intralibrary/IntraLibrary-SRU, I get this
exception.

Caused by: org.jafer.transport.ConnectionException:
java.rmi.RemoteException: Axis Fault performing SRW search; nested exception
is: 
	org.xml.sax.SAXException: Bad envelope tag:  explainResponse
	at org.jafer.zclient.SRWSession.search(SRWSession.java:238)
	at org.jafer.zclient.AbstractClient.search(AbstractClient.java:440)
	... 24 more
Caused by: java.rmi.RemoteException: Axis Fault performing SRW search;
nested exception is: 
	org.xml.sax.SAXException: Bad envelope tag:  explainResponse
	at org.jafer.zclient.SRWBinding.searchRetrieveOperation(SRWBinding.java:65)
	at org.jafer.zclient.SRWSession.search(SRWSession.java:208)
	... 25 more
Caused by: org.xml.sax.SAXException: Bad envelope tag:  explainResponse
	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(MustUnderstandChecker.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
gov.loc.www.zing.srw.srw_bindings.SRWSoapBindingStub.searchRetrieveOperation(SRWSoapBindingStub.java:390)
	at org.jafer.zclient.SRWBinding.searchRetrieveOperation(SRWBinding.java:55)
	... 26 more
Caused by: org.xml.sax.SAXException: Bad envelope tag:  explainResponse
	at
org.apache.axis.message.EnvelopeBuilder.startElement(EnvelopeBuilder.java:71)
	at
org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1048)
	at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
	at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
Source)
	at
org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown
Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
	at org.apache.xerces.parsers.AbstractSAXParser.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)
	... 36 more

I am just now a learner and am not sure what this exception means. 

Could anyone please suggest where to look at and what I need to do to
resolve this?

Thanks,
Shiv.
-- 
View this message in context: http://www.nabble.com/org.xml.sax.SAXException%3A-Bad-envelope-tag-tf3015759.html#a8374841
Sent from the Axis - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org