Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-32245

SOAPExceptionImpl: Unable to create envelope from given source (Using old Xerces?)

    XMLWordPrintable

Details

    Description

      • 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?

      Attachments

        Activity

          People

            Unassigned Unassigned
            0e96e2005806 Arthur
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: