axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harish Hirasave" <harish.hiras...@parago.com>
Subject RE: Error invoking Web Service from a Java client
Date Wed, 31 May 2006 22:32:39 GMT
Attached is the WSDL.

 

Thanks

Harish

 

________________________________

From: Nicolas Guaneme [mailto:nicolas.guaneme@avisortech.com] 
Sent: Wednesday, May 31, 2006 5:22 PM
To: axis-user@ws.apache.org
Subject: Re: Error invoking Web Service from a Java client

 

Harish Hirasave wrote: 

 

Hi,

 

I am getting the error below when I invoke my webservice from a java
client using both axis-1.2 and axis-1.3.  Please help.

 

Thanks

Harish

 

AxisFault

 faultCode: {
http://schemas.xmlsoap.org/soap/envelope/}Server.userException

 faultSubcode: 

 faultString: org.xml.sax.SAXParseException: The root element is
required in a well-formed document.

 faultActor: 

 faultNode: 

 faultDetail: 

      {
http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXParseException:
The root element is required in a well-formed document.

      at
org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1213)

      at
org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError(XMLDo
cumentScanner.java:570)

      at
org.apache.xerces.framework.XMLDocumentScanner$XMLDeclDispatcher.endOfIn
put(XMLDocumentScanner.java:790)

      at
org.apache.xerces.framework.XMLDocumentScanner.endOfInput(XMLDocumentSca
nner.java:418)

      at
org.apache.xerces.validators.common.XMLValidator.sendEndOfInputNotificat
ions(XMLValidator.java:712)

      at
org.apache.xerces.readers.DefaultEntityHandler.changeReaders(DefaultEnti
tyHandler.java:1031)

      at
org.apache.xerces.readers.XMLEntityReader.changeReaders(XMLEntityReader.
java:168)

      at
org.apache.xerces.readers.AbstractCharReader.changeReaders(AbstractCharR
eader.java:150)

      at
org.apache.xerces.readers.AbstractCharReader.lookingAtChar(AbstractCharR
eader.java:217)

      at
org.apache.xerces.framework.XMLDocumentScanner$XMLDeclDispatcher.dispatc
h(XMLDocumentScanner.java:686)

      at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScan
ner.java:381)

      at
org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)

      at javax.xml.parsers.SAXParser.parse(Unknown Source)

      at
org.apache.axis.encoding.DeserializationContext.parse(DeserializationCon
text.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(MustUnderstan
dChecker.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.rrt.sprintpcs.webservices.stubs.SpcswsSoapBindingStub.getSprintPCSWe
bServicesVO(SpcswsSoapBindingStub.java:166)

      at
com.rrt.sprintpcs.webservices.client.SprintPCSWebServicesClient.main(Spr
intPCSWebServicesClient.java:61)

 

      {http://xml.apache.org/axis/}hostname:harish

 

org.xml.sax.SAXParseException: The root element is required in a
well-formed document.

      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(MustUnderstan
dChecker.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.rrt.sprintpcs.webservices.stubs.SpcswsSoapBindingStub.getSprintPCSWe
bServicesVO(SpcswsSoapBindingStub.java:166)

      at
com.rrt.sprintpcs.webservices.client.SprintPCSWebServicesClient.main(Spr
intPCSWebServicesClient.java:61)

Caused by: org.xml.sax.SAXParseException: The root element is required
in a well-formed document.

      at
org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1213)

      at
org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError(XMLDo
cumentScanner.java:570)

      at
org.apache.xerces.framework.XMLDocumentScanner$XMLDeclDispatcher.endOfIn
put(XMLDocumentScanner.java:790)

      at
org.apache.xerces.framework.XMLDocumentScanner.endOfInput(XMLDocumentSca
nner.java:418)

      at
org.apache.xerces.validators.common.XMLValidator.sendEndOfInputNotificat
ions(XMLValidator.java:712)

      at
org.apache.xerces.readers.DefaultEntityHandler.changeReaders(DefaultEnti
tyHandler.java:1031)

      at
org.apache.xerces.readers.XMLEntityReader.changeReaders(XMLEntityReader.
java:168)

      at
org.apache.xerces.readers.AbstractCharReader.changeReaders(AbstractCharR
eader.java:150)

      at
org.apache.xerces.readers.AbstractCharReader.lookingAtChar(AbstractCharR
eader.java:217)

      at
org.apache.xerces.framework.XMLDocumentScanner$XMLDeclDispatcher.dispatc
h(XMLDocumentScanner.java:686)

      at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScan
ner.java:381)

      at
org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)

      at javax.xml.parsers.SAXParser.parse(Unknown Source)

      at
org.apache.axis.encoding.DeserializationContext.parse(DeserializationCon
text.java:227)

      at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)

      ... 10 more

 

 



________________________________



 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.8.0/353 - Release Date:
31/05/2006
  

Please supply the WSDL for more details....

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

Mime
View raw message