My Oracle Support Banner

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

Last updated on NOVEMBER 15, 2023

Applies to:

Oracle SOA Suite - Version 12.2.1.1.0 and later
SOA Suite Cloud Service - Version N/A to N/A
Information in this document applies to any platform.

Symptoms

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: <ECID>,1:16473] [APP: soa-infra] [partition-name: DOMAIN] [tenant-name: GLOBAL] [oracle.soa.tracking.FlowId: <FLOWID>] [oracle.soa.tracking.InstanceId: <INSTANCEID>] [oracle.soa.tracking.SCAEntityId: <SCAENITITYID>] [oracle.soa.tracking.FaultId: <FLUTLID>] [composite_name: Email2!1.0] [FlowId: <FLOWID>] got RuntimeException[[
** Cikey: <CIKEY>
** FlowId: <FLOWID>
** Current Activity Key: <KEY>
** Current Activity Label: InvokeNotificationService
** InvokeMessageGuid: <GUID>
** ComponentDN: default/Email2!1.0*<COMPOSITEDN>/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

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.