Unable To Send Outbound Transimission To BPEL Webservice From OTM Version 6.2.0 (Doc ID 1318843.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Transportation Management - Version 6.2.0 and later
Information in this document applies to any platform.
***Checked for relevance on 09-Jun-2015***

Symptoms

On OTM version 6.2.0 when attempting to use an external web service, the following error occurs.

ERROR
-----------------------
Error Exception Error Invoking Web Service Dispatch
javax.xml.ws.WebServiceException: java.lang.NullPointerException

javax.xml.ws.WebServiceException: java.lang.NullPointerException
at com.sun.xml.ws.client.dispatch.DispatchImpl.doInvoke(DispatchImpl.java:210)
at com.sun.xml.ws.client.dispatch.DispatchImpl.invoke(DispatchImpl.java:221)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at weblogic.wsee.jaxws.spi.ClientInstance$ClientInstanceInvocationHandler.invoke(ClientInstance.java:363)
at $Proxy132.invoke(Unknown Source)
at glog.server.webservice.jws.WebServiceDispatch.invoke(WebServiceDispatch.java:84)
at glog.server.webservice.WebServiceCall.call(WebServiceCall.java:158)
at glog.server.webservice.WebServiceCall.call(WebServiceCall.java:108)
at glog.server.workflow.webservice.ServiceTransmission.execute(ServiceTransmission.java:168)
at glog.server.workflow.webservice.ServiceCall.executeWithReturn(ServiceCall.java:31)
at glog.server.workflow.webservice.ServiceCallTopic.execute(ServiceCallTopic.java:20)
at glog.server.workflow.SimpleWorkflow.execute(SimpleWorkflow.java:23)
at glog.server.workflow.WorkflowSessionBean.execute(WorkflowSessionBean.java:64)
at glog.server.workflow.WorkflowSessionNonTransServerSideEJBWrapper.execute(WorkflowSessionNonTransServerSideEJBWrapper.java:38)
at glog.server.workflow.WorkflowSessionNonTransServerSideEJBWrapper_t6tuwu_EOImpl.execute(WorkflowSessionNonTransServerSideEJBWrapper_t6tuwu_EOImpl.java:278)
at glog.server.workflow.WorkflowManager.execute(WorkflowManager.java:352)
at glog.server.workflow.Trigger.trigger(Trigger.java:122)
at glog.util.event.EventThread.isInterrupted(EventThread.java:40)
at glog.util.event.MemoryEventQueueRunnable.processEvent(MemoryEventQueueRunnable.java:147)
at glog.util.event.MemoryEventQueueRunnable.run(MemoryEventQueueRunnable.java:98)
at glog.util.event.EventThread.run(EventThread.java:83)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.NullPointerException
at weblogic.xml.saaj.SOAPFaultImpl.setFaultCode(SOAPFaultImpl.java:45)
at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:187)
at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:122)
at com.sun.xml.ws.client.dispatch.DispatchImpl.doInvoke(DispatchImpl.java:198)
at com.sun.xml.ws.client.dispatch.DispatchImpl.invoke(DispatchImpl.java:221)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at weblogic.wsee.jaxws.spi.ClientInstance$ClientInstanceInvocationHandler.invoke(ClientInstance.java:363)
at $Proxy132.invoke(Unknown Source)
at glog.server.webservice.jws.WebServiceDispatch.invoke(WebServiceDispatch.java:84)
at glog.server.webservice.WebServiceCall.call(WebServiceCall.java:158)
at glog.server.webservice.WebServiceCall.call(WebServiceCall.java:108)
at glog.server.workflow.webservice.ServiceTransmission.execute(ServiceTransmission.java:168)
at glog.server.workflow.webservice.ServiceCall.executeWithReturn(ServiceCall.java:31)
at glog.server.workflow.webservice.ServiceCallTopic.execute(ServiceCallTopic.java:19)
at glog.server.workflow.SimpleWorkflow.execute(SimpleWorkflow.java:23)
at glog.server.workflow.WorkflowSessionBean.execute(WorkflowSessionBean.java:64)
at glog.server.workflow.WorkflowSessionNonTransServerSideEJBWrapper.execute(WorkflowSessionNonTransServerSideEJBWrapper.java:38)
at glog.server.workflow.WorkflowSessionNonTransServerSideEJBWrapper_t6tuwu_EOImpl.execute(WorkflowSessionNonTransServerSideEJBWrapper_t6tuwu_EOImpl.java:278)
at glog.server.workflow.WorkflowManager.execute(WorkflowManager.java:352)
at glog.server.workflow.Trigger.trigger(Trigger.java:122)
at glog.util.event.MemoryEventQueueRunnable.processEvent(MemoryEventQueueRunnable.java:146)
at glog.util.event.MemoryEventQueueRunnable.run(MemoryEventQueueRunnable.java:98)
at glog.util.event.EventThread.run(EventThread.java:82)
... 1 more
[transport - Services - 2]
2011-04-17 16:58:55.324 1713480 Debug WebServiceDetails Transmission ID 298 will be set to status ERROR [transport - Services - 2]
2011-04-17 16:58:55.332 1713480 Error WebServiceDetails OTM failed to send SERVICE transmission

javax.xml.ws.WebServiceException: java.lang.NullPointerException
at com.sun.xml.ws.client.dispatch.DispatchImpl.doInvoke(DispatchImpl.java:210)
at com.sun.xml.ws.client.dispatch.DispatchImpl.invoke(DispatchImpl.java:221)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at weblogic.wsee.jaxws.spi.ClientInstance$ClientInstanceInvocationHandler.invoke(ClientInstance.java:363)
at $Proxy132.invoke(Unknown Source)
at glog.server.webservice.jws.WebServiceDispatch.invoke(WebServiceDispatch.java:84)
at glog.server.webservice.WebServiceCall.call(WebServiceCall.java:158)
at glog.server.webservice.WebServiceCall.call(WebServiceCall.java:108)
at glog.server.workflow.webservice.ServiceTransmission.execute(ServiceTransmission.java:168)
at glog.server.workflow.webservice.ServiceCall.executeWithReturn(ServiceCall.java:31)
at glog.server.workflow.webservice.ServiceCallTopic.execute(ServiceCallTopic.java:20)
at glog.server.workflow.SimpleWorkflow.execute(SimpleWorkflow.java:23)
at glog.server.workflow.WorkflowSessionBean.execute(WorkflowSessionBean.java:64)
at glog.server.workflow.WorkflowSessionNonTransServerSideEJBWrapper.execute(WorkflowSessionNonTransServerSideEJBWrapper.java:38)
at glog.server.workflow.WorkflowSessionNonTransServerSideEJBWrapper_t6tuwu_EOImpl.execute(WorkflowSessionNonTransServerSideEJBWrapper_t6tuwu_EOImpl.java:278)
at glog.server.workflow.WorkflowManager.execute(WorkflowManager.java:352)
at glog.server.workflow.Trigger.trigger(Trigger.java:122)
at glog.util.event.EventThread.isInterrupted(EventThread.java:40)
at glog.util.event.MemoryEventQueueRunnable.processEvent(MemoryEventQueueRunnable.java:147)
at glog.util.event.MemoryEventQueueRunnable.run(MemoryEventQueueRunnable.java:98)
at glog.util.event.EventThread.run(EventThread.java:83)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.NullPointerException
at weblogic.xml.saaj.SOAPFaultImpl.setFaultCode(SOAPFaultImpl.java:45)
at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:187)
at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:122)
at com.sun.xml.ws.client.dispatch.DispatchImpl.doInvoke(DispatchImpl.java:198)
at com.sun.xml.ws.client.dispatch.DispatchImpl.invoke(DispatchImpl.java:221)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at weblogic.wsee.jaxws.spi.ClientInstance$ClientInstanceInvocationHandler.invoke(ClientInstance.java:363)
at $Proxy132.invoke(Unknown Source)
at glog.server.webservice.jws.WebServiceDispatch.invoke(WebServiceDispatch.java:84)
at glog.server.webservice.WebServiceCall.call(WebServiceCall.java:158)
at glog.server.webservice.WebServiceCall.call(WebServiceCall.java:108)
at glog.server.workflow.webservice.ServiceTransmission.execute(ServiceTransmission.java:168)
at glog.server.workflow.webservice.ServiceCall.executeWithReturn(ServiceCall.java:31)
at glog.server.workflow.webservice.ServiceCallTopic.execute(ServiceCallTopic.java:19)
at glog.server.workflow.SimpleWorkflow.execute(SimpleWorkflow.java:23)
at glog.server.workflow.WorkflowSessionBean.execute(WorkflowSessionBean.java:64)
at glog.server.workflow.WorkflowSessionNonTransServerSideEJBWrapper.execute(WorkflowSessionNonTransServerSideEJBWrapper.java:38)
at glog.server.workflow.WorkflowSessionNonTransServerSideEJBWrapper_t6tuwu_EOImpl.execute(WorkflowSessionNonTransServerSideEJBWrapper_t6tuwu_EOImpl.java:278)
at glog.server.workflow.WorkflowManager.execute(WorkflowManager.java:352)
at glog.server.workflow.Trigger.trigger(Trigger.java:122)
at glog.util.event.MemoryEventQueueRunnable.processEvent(MemoryEventQueueRunnable.java:146)
at glog.util.event.MemoryEventQueueRunnable.run(MemoryEventQueueRunnable.java:98)
at glog.util.event.EventThread.run(EventThread.java:82)
... 1 more
[transport - Services - 2]


STEPS
-----------------------
The issue can be reproduced at will with the following steps:

1. Create an External System for BPEL Webservice
2. Send a Planned Shipment out.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms