com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Unable to create envelope from given source:

Atlassian JIRA | arthur grohe | 4 years ago
  1. 0

    - I'm developing a Gadget Plugin for Jira 4.4.1 - I make SOAP Requests via a Java SOAP client to request Tickets from OTRS In my Unit tests I get the tickets, but when I run the Gadget in Jira I get the following error: com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Unable to create envelope from given source: [INFO] [talledLocalContainer] at com.sun.xml.internal.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:114) [INFO] [talledLocalContainer] at com.sun.xml.internal.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl.createEnvelopeFromSource(SOAPPart1_1Impl.java:70) [INFO] [talledLocalContainer] at com.sun.xml.internal.messaging.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:122) [INFO] [talledLocalContainer] at de.acocon.otrs.soap.SoapOtrsClient.ticketGet(SoapOtrsClient.java:181) [INFO] [talledLocalContainer] at de.acocon.jira.otrs.rest.OtrsDataResouce.getTickets(OtrsDataResouce.java:51) [INFO] [talledLocalContainer] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [INFO] [talledLocalContainer] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [INFO] [talledLocalContainer] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [INFO] [talledLocalContainer] at java.lang.reflect.Method.invoke(Method.java:597) [INFO] [talledLocalContainer] at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$ResponseOutInvoker$1.invoke(DispatchProviderHelper.java:206) [INFO] [talledLocalContainer] at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$1.intercept(DispatchProviderHelper.java:90) [INFO] [talledLocalContainer] at com.atlassian.plugins.rest.common.interceptor.impl.DefaultMethodInvocation.invoke(DefaultMethodInvocation.java:61) [INFO] [talledLocalContainer] at com.atlassian.plugins.rest.common.expand.interceptor.ExpandInterceptor.intercept(ExpandInterceptor.java:38) I searched in on google and found that this error occurs most likely because an old version of Xerces and/or Xalan is used. One should use Xerces 2.8.1 and Xalan 2.7.0 Is it possible for me to change that?

    Atlassian JIRA | 4 years ago | arthur grohe
    com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Unable to create envelope from given source:
  2. 0

    - I'm developing a Gadget Plugin for Jira 4.4.1 - I make SOAP Requests via a Java SOAP client to request Tickets from OTRS In my Unit tests I get the tickets, but when I run the Gadget in Jira I get the following error: com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Unable to create envelope from given source: [INFO] [talledLocalContainer] at com.sun.xml.internal.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:114) [INFO] [talledLocalContainer] at com.sun.xml.internal.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl.createEnvelopeFromSource(SOAPPart1_1Impl.java:70) [INFO] [talledLocalContainer] at com.sun.xml.internal.messaging.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:122) [INFO] [talledLocalContainer] at de.acocon.otrs.soap.SoapOtrsClient.ticketGet(SoapOtrsClient.java:181) [INFO] [talledLocalContainer] at de.acocon.jira.otrs.rest.OtrsDataResouce.getTickets(OtrsDataResouce.java:51) [INFO] [talledLocalContainer] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [INFO] [talledLocalContainer] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [INFO] [talledLocalContainer] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [INFO] [talledLocalContainer] at java.lang.reflect.Method.invoke(Method.java:597) [INFO] [talledLocalContainer] at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$ResponseOutInvoker$1.invoke(DispatchProviderHelper.java:206) [INFO] [talledLocalContainer] at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$1.intercept(DispatchProviderHelper.java:90) [INFO] [talledLocalContainer] at com.atlassian.plugins.rest.common.interceptor.impl.DefaultMethodInvocation.invoke(DefaultMethodInvocation.java:61) [INFO] [talledLocalContainer] at com.atlassian.plugins.rest.common.expand.interceptor.ExpandInterceptor.intercept(ExpandInterceptor.java:38) I searched in on google and found that this error occurs most likely because an old version of Xerces and/or Xalan is used. One should use Xerces 2.8.1 and Xalan 2.7.0 Is it possible for me to change that?

    Atlassian JIRA | 4 years ago | arthur grohe
    com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Unable to create envelope from given source:
  3. 0

    Getting SaajSoapMessageException while interacting the client application with spring web services ejb application project

    Stack Overflow | 1 year ago | Sanjeev Reddy
    com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Unable to create envelope from given source:
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    db:: 3.79::SOAP and java problem....create SOAPMessage from file. Extremely important! pc

    hivmr.com | 8 months ago
    com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Unable to create envelope from given source:
  6. 0

    Issues geeting data in Spring SOAP WS?

    Stack Overflow | 3 years ago | user3263540
    com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Unable to create envelope from given source because the root element is not named "Envelope"

    3 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl

      Unable to create envelope from given source:

      at com.sun.xml.internal.messaging.saaj.soap.EnvelopeFactory.createEnvelope()
    2. Java RT
      SOAPPartImpl.getEnvelope
      1. com.sun.xml.internal.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:114)
      2. com.sun.xml.internal.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl.createEnvelopeFromSource(SOAPPart1_1Impl.java:70)
      3. com.sun.xml.internal.messaging.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:122)
      3 frames
    3. de.acocon.otrs
      SoapOtrsClient.ticketGet
      1. de.acocon.otrs.soap.SoapOtrsClient.ticketGet(SoapOtrsClient.java:181)
      1 frame
    4. de.acocon.jira
      OtrsDataResouce.getTickets
      1. de.acocon.jira.otrs.rest.OtrsDataResouce.getTickets(OtrsDataResouce.java:51)
      1 frame
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    6. com.atlassian.plugins
      ExpandInterceptor.intercept
      1. com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$ResponseOutInvoker$1.invoke(DispatchProviderHelper.java:206)
      2. com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$1.intercept(DispatchProviderHelper.java:90)
      3. com.atlassian.plugins.rest.common.interceptor.impl.DefaultMethodInvocation.invoke(DefaultMethodInvocation.java:61)
      4. com.atlassian.plugins.rest.common.expand.interceptor.ExpandInterceptor.intercept(ExpandInterceptor.java:38)
      4 frames