Announcement Announcement Module
Collapse
No announcement yet.
[Using Axis client] Error Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • [Using Axis client] Error

    Hello,

    Using Axis client, I get :
    {http://xml.apache.org/axis/}stackTrace:Could not access envelope: Unable to create envelope from given source: ; nested exception is com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to create envelope from given source:
    at org.apache.axis.message.SOAPFaultBuilder.createFau lt(SOAPFaultBuilder.java:222)
    at org.apache.axis.message.SOAPFaultBuilder.endElemen t(SOAPFaultBuilder.java:129)
    at org.apache.axis.encoding.DeserializationContext.en dElement(DeserializationContext.java:1087)
    at com.sun.org.apache.xerces.internal.parsers.Abstrac tSAXParser.endElement(Unknown Source)
    at com.sun.org.apache.xerces.internal.impl.XMLNSDocum entScannerImpl.scanEndElement(Unknown Source)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumen tFragmentScannerImpl$FragmentContentDispatcher.dis patch(Unknown Source)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumen tFragmentScannerImpl.scanDocument(Unknown Source)
    at com.sun.org.apache.xerces.internal.parsers.XML11Co nfiguration.parse(Unknown Source)
    at com.sun.org.apache.xerces.internal.parsers.XML11Co nfiguration.parse(Unknown Source)
    at com.sun.org.apache.xerces.internal.parsers.XMLPars er.parse(Unknown Source)
    at com.sun.org.apache.xerces.internal.parsers.Abstrac tSAXParser.parse(Unknown Source)
    at javax.xml.parsers.SAXParser.parse(Unknown Source)
    at org.apache.axis.encoding.DeserializationContext.pa rse(DeserializationContext.java:227)
    at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPar t.java:696)
    at org.apache.axis.Message.getSOAPEnvelope(Message.ja va:435)
    at org.apache.axis.transport.http.HTTPSender.readFrom Socket(HTTPSender.java:796)
    at org.apache.axis.transport.http.HTTPSender.invoke(H TTPSender.java:144)
    at org.apache.axis.strategies.InvocationStrategy.visi t(InvocationStrategy.java:32)
    at org.apache.axis.SimpleChain.doVisiting(SimpleChain .java:118)
    at org.apache.axis.SimpleChain.invoke(SimpleChain.jav a:83)
    at org.apache.axis.client.AxisClient.invoke(AxisClien t.java:165)
    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.xxxx.schemas.XXXResourceSoap11Stub.loginIsFree (XXXResourceSoap11Stub.java:514)
    at com.xxxx.webservices.client.QWSClient.main(QWSClie nt.java:28)

    {http://xml.apache.org/axis/}hostname:s00d
    Client : Axis 1.4, activation1.1,jaxrpc1.1
    On server part : Tomcat 5, JRE 5
    Any suggestion ? Can it be linked to xerces, xalan...

    Thanks a lot for any help.

  • #2
    Fixed.
    Using maven2, ws war includes xerces and xalan. Removing them, it works.

    Comment


    • #3
      Axis Client Error

      Can you put tcp monitor between the client and the server and check if your request is malformed?

      Ditto for response

      Comment

      Working...
      X