Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 4.3.4
-
Fix Version/s: 4.4.0
-
Component/s: None
-
Security Level: Public
-
- Environment:
- -
Issue Links
| Depends | |||
|---|---|---|---|
|
|||
Activity
| 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} |
| 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} |
| Status | New [ 10000 ] | Open [ 10002 ] |
| Priority | Blocker [ 1 ] | Major [ 3 ] |
| Assignee | Nicolas Oddoux [ noddoux ] | Christophe DENEUX [ cdeneux ] |
| Summary | A proxy SOAP written using only service unit is not supported | A proxy SOAP written using only one service unit is not supported |
| Link |
This issue depends on |
| Status | Open [ 10002 ] | In Progress [ 10003 ] |
| Status | In Progress [ 10003 ] | Resolved [ 10004 ] |
| Fix Version/s | 4.4.0 [ 10405 ] | |
| Resolution | Fixed [ 1 ] |
| Transition | Status Change Time | Execution Times | Last Executer | Last Execution Date | |||||||||
|
|
|
|
|
|||||||||
|
|
|
|
|
|||||||||
|
|
|
|
|

The error reported corresponds to
PETALSBCSOAP-116: the requested service does not exist.The problem is due to ServiceUnitDataHandler#configurationExtensionsMap for which the key includes service name and endpoint name, the characteristic "Provide" or "Consume" is missing in our case.
PETALSBCSOAP-116: the requested service does not exist. The problem is due to ServiceUnitDataHandler#configurationExtensionsMap for which the key includes service name and endpoint name, the characteristic "Provide" or "Consume" is missing in our case.