"Reference Does Not Exist As Wire Target" Error When Developing UMS Adapter Composite (Doc ID 2235669.1)

Last updated on MAY 15, 2017

Applies to:

Oracle SOA Suite - Version 12.2.1.1.0 and later
Information in this document applies to any platform.

Symptoms

On : NA version, Core SOA Product Issues

In JDeveloper 12.2.1.1.0 or 12.2.1.2.0, when trying to add BPEL Email Activity and then trying to deploy or trying to validate the composite the error below is seen:

"Reference ProcessEmail/NotificationService1 does not exist as wire target"

This can be recreated through the following steps

1. Create a new SOA Application and a new SOA Project with empty Composite
2. Drag-and-Drop 'BPEL Process' component into SCA Composite, create a new BPEL process
3. Enter BPEL Editor window, drag-and-drop an 'Email' notification activity component after 'receiveInput' of the new BPEL process
4. Double check the new 'Email' activity and provide necessary info (To, subject and body), click OK to confirm
5. Expand the 'Email' activity and notice a new partner link 'NotificationService1' is generated by the JDeveloper
6. Back to SCA Composite view, there is no corresponding Email UMS notification reference generated under 'External References' swim lane, also Jdeveloper reports Build Issue "Error: Reference BPELProcess_Name/NotificationService1 does not exist as wire target"

Under certain circumstances, this error can be avoided and the composite will compile and deploy properly. At runtime however, the exception below will be seen. The solution for this is the same:

[DefaultServer] [ERROR] [] [oracle.soa.bpel.engine.ws] [tid: [ACTIVE].ExecuteThread: '64' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 2e028015-9e52-49b8-bf5f-3d1dac1f4ef5-000001b1,1:16473] [APP: soa-infra] [partition-name: DOMAIN] [tenant-name: GLOBAL] [oracle.soa.tracking.FlowId: 410001] [oracle.soa.tracking.InstanceId: 410002] [oracle.soa.tracking.SCAEntityId: 180003] [oracle.soa.tracking.FaultId: 360001] [composite_name: Email2!1.0] [FlowId: 0000LjEH^aFF8DWFLzmJOA1P2SjS000003] got RuntimeException[[
** Cikey: 410002
** FlowId: 410001
** Current Activity Key: 410002-BpInv0-BpSeq2.6-2
** Current Activity Label: InvokeNotificationService
** InvokeMessageGuid: ad80b722-2ffb-11e7-9a63-1c394733ec88
** ComponentDN: default/Email2!1.0*soa_0a013e66-a758-4468-9e7b-6d32f71c80ac/Email
...
oracle.fabric.common.FabricException: java.lang.NullPointerException
at oracle.fabric.composite.model.WsBindingModel.getWSDLDefinition(WsBindingModel.java:82)
at oracle.integration.platform.blocks.soap.WebServiceExternalBindingComponent.loadMaterializedWsdlIfNecessary(WebServiceExternalBindingComponent.java:1994)
at oracle.integration.platform.blocks.soap.WebServiceExternalBindingComponent.getInvocationMetadata(WebServiceExternalBindingComponent.java:1684)
at oracle.integration.platform.blocks.soap.WebServiceExternalBindingComponent.request(WebServiceExternalBindingComponent.java:827)
at oracle.integration.platform.blocks.mesh.SynchronousMessageHandler.doRequest(SynchronousMessageHandler.java:151)
at oracle.integration.platform.blocks.mesh.MessageRouter.request(MessageRouter.java:217)
at oracle.integration.platform.blocks.mesh.MeshImpl.request(MeshImpl.java:283)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
...
Caused by: java.lang.NullPointerException
at java.io.Reader.<init>(Reader.java:78)
at java.io.InputStreamReader.<init>(InputStreamReader.java:113)
at oracle.fabric.common.wsdl.WSDLManager.loadWSDL(WSDLManager.java:328)

 

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