SOA Suite HTTP Binding Activity (REST Call) Using a Complex XSD Fails with: Unable to access the following endpoint(s): REPLACE_WITH_ACTUAL_URL

(Doc ID 1328955.1)

Last updated on SEPTEMBER 09, 2017

Applies to:

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

Symptoms

Using a HTTP Binding to make a RESTful web service call in a composite when using a complex XSD type, for example like this:

<xsd:element name="request" type="expXML:LoginRequest"/>
<xsd:complexType name="LoginRequest">
<xsd:sequence>
<xsd:element name="header" type="expXML:header"/>
<xsd:element name="loginName" type="xsd:string"/>
<xsd:element name="password" type="xsd:string"/>
<xsd:element name="groupName" type="xsd:string" minOccurs="0"/>
<xsd:element name="myPrimaveraLogin" type="xsd:string"
minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="header">
<xsd:attribute name="requestType" type="xsd:string"/>
<xsd:attribute name="sysitemtype" type="xsd:string"/>
</xsd:complexType>


Fails with the following error:

2011-05-19T13:00:08.207-05:00] [soa_server1] [ERROR] []
[oracle.soa.bpel.engine] [tid: [ACTIVE].ExecuteThread: '11' for queue:
'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid:
639ab43f654442d2:2321294d:12fb6f944d4:-8000-0000000000008e04,0:2]
[WEBSERVICE_PORT.name: CMRealLoginTestService_pt] [APP: soa-infra]
[composite_name: CMRealLoginTest] [component_name: CMRealLoginTestService]
[component_instance_id: 31998] [J2EE_MODULE.name: fabric] [WEBSERVICE.name:
cmreallogintestservice_client_ep] [J2EE_APP.name: soa-infra] Unhandled
exception for
ComponentDN=default/CMRealLoginTest!1.0*soa_9497c60c-3489-43e8-85ff-b251d8af4fa4/CMRealLoginTestService CompositeInstanceId=30154 ComponentInstanceId=31998
[2011-05-19T13:00:08.208-05:00] [soa_server1] [ERROR] []
[oracle.soa.bpel.engine] [tid: [ACTIVE].ExecuteThread: '11' for queue:
'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid:
639ab43f654442d2:2321294d:12fb6f944d4:-8000-0000000000008e04,0:2]
[WEBSERVICE_PORT.name: CMRealLoginTestService_pt] [APP: soa-infra]
[composite_name: CMRealLoginTest] [component_name: CMRealLoginTestService]
[component_instance_id: 31998] [J2EE_MODULE.name: fabric] [WEBSERVICE.name:
cmreallogintestservice_client_ep] [J2EE_APP.name: soa-infra] This exception
occurred because the fault thrown in the BPEL flow was not handled by any
fault handlers and reached the top-level scope. Root cause : [[
com.oracle.bpel.client.BPELFault: faultName:
{{http://schemas.oracle.com/bpel/extension}remoteFault}
messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage}
parts: {{
summary=<summary>oracle.fabric.common.FabricInvocationException: Unable to
access the following endpoint(s): REPLACE_WITH_ACTUAL_URL</summary>
,detail=<detail>Unable to access the following endpoint(s):
REPLACE_WITH_ACTUAL_URL
</detail>
,code=<code>null</code>}

at
com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:338)
at
com.collaxa.cube.engine.ext.common.InvokeHandler.__invoke(InvokeHandler.java:1056)
at
com.collaxa.cube.engine.ext.common.InvokeHandler.handleNormalInvoke(InvokeHandler.java:583)
at
com.collaxa.cube.engine.ext.common.InvokeHandler.handle(InvokeHandler.java:130)
at
com.collaxa.cube.engine.ext.bpel.common.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:74)
at
com.collaxa.cube.engine.ext.bpel.common.wmp.BaseBPELActivityWMP.perform(BaseBPELActivityWMP.java:158)
at
com.collaxa.cube.engine.CubeEngine._performActivity(CubeEngine.java:2463)
at
com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:2334)
at
com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1115)
at
com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:73)
at
com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:220)
at
com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:328)
at
com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:4350)
at
com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:4281)
at
com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:679)
at
com.collaxa.cube.engine.ejb.impl.CubeEngineBean.createAndInvoke(CubeEngineBean.java:103)
at
com.collaxa.cube.engine.ejb.impl.CubeEngineBean.syncCreateAndInvoke(CubeEngineBean.java:145)
at
com.collaxa.cube.engine.ejb.impl.bpel.BPELEngineBean.syncCreateAndInvoke(BPELEngineBean.java:111)
at sun.reflect.GeneratedMethodAccessor3338.invoke(Unknown Source)
at
.
.
.

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