Announcement Announcement Module
Collapse
No announcement yet.
weblogic.xml.saaj.VersionMismatchException: unable to locate Envelope in namespace Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • weblogic.xml.saaj.VersionMismatchException: unable to locate Envelope in namespace

    All,
    When I am trying to consume a remedy webservice from java I am getting the below exception, can any of you please help me in ressolving the issue.

    Info : Having used clientgen ant task to generate the client jar.


    Caused by: weblogic.xml.saaj.VersionMismatchException: unable to locate Envelope in namespace http://schemas.xmlsoap.org/soap/envelope/. Root element is "http://schemas.xmlsoap.org/wsdl/" in namespace "definitions"
    at weblogic.xml.saaj.SaajDocument.getEnvelope(SaajDoc ument.java:107)
    at weblogic.xml.saaj.SOAPPartImpl.envelope(SOAPPartIm pl.java:77)
    at weblogic.xml.saaj.SOAPPartImpl.getEnvelope(SOAPPar tImpl.java:72)
    at weblogic.xml.saaj.SOAPMessageImpl.<init>(SOAPMessa geImpl.java:156)
    at weblogic.xml.saaj.MessageFactoryImpl.createMessage (MessageFactoryImpl.java:76)
    at weblogic.wsee.connection.soap.SoapClientConnection .createSOAPMessage(SoapClientConnection.java:134)
    at weblogic.wsee.connection.soap.SoapConnection.recei ve(SoapConnection.java:515)
    ... 9 more
    Caused by: weblogic.xml.saaj.VersionMismatchException: unable to locate Envelope in namespace http://schemas.xmlsoap.org/soap/envelope/. Root element is "http://schemas.xmlsoap.org/wsdl/" in namespace "definitions"
    at weblogic.xml.saaj.SaajDocument.getEnvelope(SaajDoc ument.java:107)
    at weblogic.xml.saaj.SOAPPartImpl.envelope(SOAPPartIm pl.java:77)
    at weblogic.xml.saaj.SOAPPartImpl.getEnvelope(SOAPPar tImpl.java:72)
    at weblogic.xml.saaj.SOAPMessageImpl.<init>(SOAPMessa geImpl.java:156)
    at weblogic.xml.saaj.MessageFactoryImpl.createMessage (MessageFactoryImpl.java:76)
    at weblogic.wsee.connection.soap.SoapClientConnection .createSOAPMessage(SoapClientConnection.java:134)
    at weblogic.wsee.connection.soap.SoapConnection.recei ve(SoapConnection.java:515)
    at weblogic.wsee.ws.dispatch.client.ConnectionHandler .handleResponse(ConnectionHandler.java:179)
    at weblogic.wsee.handler.HandlerIterator.handleRespon se(HandlerIterator.java:287)
    at weblogic.wsee.handler.HandlerIterator.handleRespon se(HandlerIterator.java:271)
    at weblogic.wsee.ws.dispatch.client.ClientDispatcher. handleResponse(ClientDispatcher.java:213)
    at weblogic.wsee.ws.dispatch.client.ClientDispatcher. dispatch(ClientDispatcher.java:150)
    at weblogic.wsee.ws.WsStub.invoke(WsStub.java:87)
    at weblogic.wsee.jaxrpc.StubImpl._invoke(StubImpl.jav a:339)
    at com.qwest.rdb.wsdl.ants.LegalEntityCode_V1PortType _Stub.opGet(Unknown Source)
    at com.qwest.odb.tester.AntsDemoHandler.main(AntsDemo Handler.java:71)
    </bea_fault:stacktrace></detail>]; nested exception is:
    weblogic.wsee.jaxrpc.soapfault.WLSOAPFaultExceptio n: Failed to receive message java.io.IOException: Could not parse SOAP message. Remaining stream ...
    -> Could not parse SOAP message. Remaining stream ...

    at com.qwest.rdb.wsdl.ants.LegalEntityCode_V1PortType _Stub.opGet(Unknown Source)
    at com.qwest.odb.tester.AntsDemoHandler.main(AntsDemo Handler.java:71)
    Caused by: weblogic.wsee.jaxrpc.soapfault.WLSOAPFaultExceptio n: Failed to receive message java.io.IOException: Could not parse SOAP message. Remaining stream ...
    -> Could not parse SOAP message. Remaining stream ...

    at weblogic.wsee.codec.soap11.SoapCodec.decodeFault(S oapCodec.java:357)
    at weblogic.wsee.ws.dispatch.client.CodecHandler.deco deFault(CodecHandler.java:118)
    at weblogic.wsee.ws.dispatch.client.CodecHandler.deco de(CodecHandler.java:103)
    at weblogic.wsee.ws.dispatch.client.CodecHandler.hand leFault(CodecHandler.java:91)
    at weblogic.wsee.handler.HandlerIterator.handleFault( HandlerIterator.java:309)
    at weblogic.wsee.handler.HandlerIterator.handleRespon se(HandlerIterator.java:269)
    at weblogic.wsee.ws.dispatch.client.ClientDispatcher. handleResponse(ClientDispatcher.java:213)
    at weblogic.wsee.ws.dispatch.client.ClientDispatcher. dispatch(ClientDispatcher.java:150)
    at weblogic.wsee.ws.WsStub.invoke(WsStub.java:87)
    at weblogic.wsee.jaxrpc.StubImpl._invoke(StubImpl.jav a:339)
    ... 2 more
    Caused by: weblogic.wsee.handler.InvocationException: Failed to receive message java.io.IOException: Could not parse SOAP message. Remaining stream ...
    at weblogic.wsee.ws.dispatch.client.ConnectionHandler .handleResponse(ConnectionHandler.java:181)
    at weblogic.wsee.handler.HandlerIterator.handleRespon se(HandlerIterator.java:287)
    at weblogic.wsee.handler.HandlerIterator.handleRespon se(HandlerIterator.java:271)
    ... 6 more
    Caused by: java.io.IOException: Could not parse SOAP message. Remaining stream ...
    at weblogic.wsee.connection.soap.SoapConnection.recei ve(SoapConnection.java:521)
    at weblogic.wsee.ws.dispatch.client.ConnectionHandler .handleResponse(ConnectionHandler.java:179)
    ... 8 more
    Caused by: weblogic.xml.saaj.VersionMismatchException: unable to locate Envelope in namespace http://schemas.xmlsoap.org/soap/envelope/. Root element is "http://schemas.xmlsoap.org/wsdl/" in namespace "definitions"
    at weblogic.xml.saaj.SaajDocument.getEnvelope(SaajDoc ument.java:107)
    at weblogic.xml.saaj.SOAPPartImpl.envelope(SOAPPartIm pl.java:77)
    at weblogic.xml.saaj.SOAPPartImpl.getEnvelope(SOAPPar tImpl.java:72)
    at weblogic.xml.saaj.SOAPMessageImpl.<init>(SOAPMessa geImpl.java:156)
    at weblogic.xml.saaj.MessageFactoryImpl.createMessage (MessageFactoryImpl.java:76)
    at weblogic.wsee.connection.soap.SoapClientConnection .createSOAPMessage(SoapClientConnection.java:134)
    at weblogic.wsee.connection.soap.SoapConnection.recei ve(SoapConnection.java:515)
Working...
X