Petals BC SOAP

A proxy SOAP written using only one service unit is not supported

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 4.3.4
  • Fix Version/s: 4.4.0
  • Component/s: None
  • Security Level: Public
  • Description:
    Hide

    Writing a service unit as following, including a service provider and a service consumer linked to the previous service provider:

    <jbi:jbi version="1.0" ...>
       <jbi:services binding-component="true">
          <jbi:provides
             interface-name="generatedNs:SoapAction"
             service-name="generatedNs:SoapActionService"
             endpoint-name="GivenSoapActionServiceEndpointSOAP11">
    
             ...
    
          </jbi:provides>
    
          <jbi:consumes
             interface-name="generatedNs:SoapAction"
             service-name="generatedNs:SoapActionService"
             endpoint-name="GivenSoapActionServiceEndpointSOAP11">
    
             ...
    
          </jbi:consumes>

    we get the following error:

    sample-0 2015/08/07 15:39:48,113 GMT+0200 SEVERE [org.apache.axis2.transport.http.AxisServlet] : null
    java.lang.NullPointerException
    	at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167)
    	at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:173)
    	at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:144)
    	at org.ow2.petals.binding.soap.listener.incoming.servlet.SoapServlet.doPost(SoapServlet.java:223)
    	at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
    	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
    	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:808)
    	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:587)
    	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221)
    	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
    	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
    	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
    	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
    	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
    	at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)
    	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
    	at org.eclipse.jetty.server.Server.handle(Server.java:499)
    	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)
    	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
    	at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
    	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
    	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
    	at java.lang.Thread.run(Thread.java:745)
    Show
    Writing a service unit as following, including a service provider and a service consumer linked to the previous service provider:
    <jbi:jbi version="1.0" ...>
       <jbi:services binding-component="true">
          <jbi:provides
             interface-name="generatedNs:SoapAction"
             service-name="generatedNs:SoapActionService"
             endpoint-name="GivenSoapActionServiceEndpointSOAP11">
    
             ...
    
          </jbi:provides>
    
          <jbi:consumes
             interface-name="generatedNs:SoapAction"
             service-name="generatedNs:SoapActionService"
             endpoint-name="GivenSoapActionServiceEndpointSOAP11">
    
             ...
    
          </jbi:consumes>
    we get the following error:
    sample-0 2015/08/07 15:39:48,113 GMT+0200 SEVERE [org.apache.axis2.transport.http.AxisServlet] : null
    java.lang.NullPointerException
    	at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167)
    	at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:173)
    	at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:144)
    	at org.ow2.petals.binding.soap.listener.incoming.servlet.SoapServlet.doPost(SoapServlet.java:223)
    	at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
    	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
    	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:808)
    	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:587)
    	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221)
    	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
    	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
    	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
    	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
    	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
    	at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)
    	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
    	at org.eclipse.jetty.server.Server.handle(Server.java:499)
    	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)
    	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
    	at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
    	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
    	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
    	at java.lang.Thread.run(Thread.java:745)
  • Environment:
    -

Issue Links

Activity

Christophe DENEUX made changes - Fri, 7 Aug 2015 - 16:00:54 +0200
Field Original Value New Value
Priority Blocker [ 1 ]
Description Writing a service unit as following, including a service provider and a service consumer linked to the previous service provider:
{code}
{code}
we get the following error:
{code}
{code}
Writing a service unit as following, including a service provider and a service consumer linked to the previous service provider:
{code}
<jbi:jbi version="1.0" ...>
   <jbi:services binding-component="true">
      <jbi:provides
         interface-name="generatedNs:SoapAction"
         service-name="generatedNs:SoapActionService"
         endpoint-name="GivenSoapActionServiceEndpointSOAP11">

         ...

      </jbi:provides>

      <jbi:consumes
         interface-name="generatedNs:SoapAction"
         service-name="generatedNs:SoapActionService"
         endpoint-name="GivenSoapActionServiceEndpointSOAP11">

         ...

      </jbi:consumes>

{code}
we get the following error:
{code}
{code}
Christophe DENEUX made changes - Fri, 7 Aug 2015 - 16:01:13 +0200
Description Writing a service unit as following, including a service provider and a service consumer linked to the previous service provider:
{code}
<jbi:jbi version="1.0" ...>
   <jbi:services binding-component="true">
      <jbi:provides
         interface-name="generatedNs:SoapAction"
         service-name="generatedNs:SoapActionService"
         endpoint-name="GivenSoapActionServiceEndpointSOAP11">

         ...

      </jbi:provides>

      <jbi:consumes
         interface-name="generatedNs:SoapAction"
         service-name="generatedNs:SoapActionService"
         endpoint-name="GivenSoapActionServiceEndpointSOAP11">

         ...

      </jbi:consumes>

{code}
we get the following error:
{code}
{code}
Writing a service unit as following, including a service provider and a service consumer linked to the previous service provider:
{code}
<jbi:jbi version="1.0" ...>
   <jbi:services binding-component="true">
      <jbi:provides
         interface-name="generatedNs:SoapAction"
         service-name="generatedNs:SoapActionService"
         endpoint-name="GivenSoapActionServiceEndpointSOAP11">

         ...

      </jbi:provides>

      <jbi:consumes
         interface-name="generatedNs:SoapAction"
         service-name="generatedNs:SoapActionService"
         endpoint-name="GivenSoapActionServiceEndpointSOAP11">

         ...

      </jbi:consumes>

{code}
we get the following error:
{code}
sample-0 2015/08/07 15:39:48,113 GMT+0200 SEVERE [org.apache.axis2.transport.http.AxisServlet] : null
java.lang.NullPointerException
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167)
at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:173)
at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:144)
at org.ow2.petals.binding.soap.listener.incoming.servlet.SoapServlet.doPost(SoapServlet.java:223)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:808)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:587)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
at org.eclipse.jetty.server.Server.handle(Server.java:499)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
at java.lang.Thread.run(Thread.java:745)
{code}
Christophe DENEUX made changes - Fri, 7 Aug 2015 - 16:05:45 +0200
Status New [ 10000 ] Open [ 10002 ]
Priority Blocker [ 1 ] Major [ 3 ]
Assignee Nicolas Oddoux [ noddoux ] Christophe DENEUX [ cdeneux ]
Christophe DENEUX made changes - Mon, 10 Aug 2015 - 15:47:32 +0200
Summary A proxy SOAP written using only service unit is not supported A proxy SOAP written using only one service unit is not supported
Christophe DENEUX made changes - Mon, 10 Aug 2015 - 15:53:47 +0200
Link This issue depends on PETALSCDK-142 [ PETALSCDK-142 ]
Christophe DENEUX made changes - Mon, 10 Aug 2015 - 15:53:51 +0200
Status Open [ 10002 ] In Progress [ 10003 ]
Christophe DENEUX made changes - Mon, 10 Aug 2015 - 16:02:56 +0200
Status In Progress [ 10003 ] Resolved [ 10004 ]
Fix Version/s 4.4.0 [ 10405 ]
Resolution Fixed [ 1 ]

People

Dates

  • Created:
    Fri, 7 Aug 2015 - 15:58:21 +0200
    Updated:
    Mon, 10 Aug 2015 - 16:02:56 +0200
    Resolved:
    Mon, 10 Aug 2015 - 16:02:55 +0200