com.sun.xml.messaging.saaj.SOAPExceptionImpl

Unable to create envelope from given source because the root element is not named "Envelope"

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web377

  • via Coderanch by karthikeyan kalyanasundaram, 7 months ago
    Unable to create envelope from given source because the root element is not named "Envelope"
  • via coderanch.com by Unknown author, 1 year ago
    Unable to create envelope from given source because the root element is not named "Envelope"
  • via coderanch.com by Unknown author, 11 months ago
    Unable to create envelope from given source because the root element is not named "Envelope"
  • Stack trace

    • com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to create envelope from given source because the root element is not named "Envelope" at com.sun.xml.messaging.saaj.soap.SOAPPartImpl.lookForEnvelope(SOAPPartImpl.java:132) at com.sun.xml.messaging.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:99) at com.sun.xml.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:85) at com.sun.xml.messaging.saaj.soap.ver1_2.SOAPPart1_2Impl.createEnvelopeFromSource(SOAPPart1_2Impl.java:52) at com.sun.xml.messaging.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:106) at com.sun.xml.messaging.saaj.soap.SOAPPartImpl.getContentAsStream(SOAPPartImpl.java:285) at com.sun.xml.messaging.saaj.soap.MessageImpl.getHeaderBytes(MessageImpl.java:923) at com.sun.xml.messaging.saaj.soap.MessageImpl.saveChanges(MessageImpl.java:1071) at com.sun.xml.messaging.saaj.soap.MessageImpl.writeTo(MessageImpl.java:1196) at client.SOAPclientHandler.handleMessage(SOAPclientHandler.java:111) at client.SOAPclientHandler.handleMessage(SOAPclientHandler.java:1) at com.sun.xml.ws.handler.HandlerChainCaller.callProtocolHandlers(HandlerChainCaller.java:614) at com.sun.xml.ws.handler.HandlerChainCaller.internalCallHandlers(HandlerChainCaller.java:429) at com.sun.xml.ws.handler.HandlerChainCaller.callHandlers(HandlerChainCaller.java:359) at com.sun.xml.ws.protocol.soap.client.SOAPMessageDispatcher.callHandlersOnRequest(SOAPMessageDispatcher.java:651) at com.sun.xml.ws.protocol.soap.client.SOAPMessageDispatcher.doSend(SOAPMessageDispatcher.java:201) at com.sun.xml.ws.protocol.soap.client.SOAPMessageDispatcher.send(SOAPMessageDispatcher.java:153) at com.sun.xml.ws.encoding.soap.internal.DelegateBase.send(DelegateBase.java:85) at com.sun.xml.ws.client.EndpointIFInvocationHandler.implementSEIMethod(EndpointIFInvocationHandler.java:176) at com.sun.xml.ws.client.EndpointIFInvocationHandler.invoke(EndpointIFInvocationHandler.java:105) at $Proxy17.sayHello(Unknown Source) at client.Calc.main(Calc.java:27)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.