My Oracle Support Banner

BPEL Invoke Activity Namespace Issue; Not a valid SOAP Content-Type (Doc ID 1269206.1)

Last updated on SEPTEMBER 25, 2020

Applies to:

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

Symptoms

BPEL Process is trying to call a third party webservice. The invoke appears
to be removing the namespace prefix from the call and then adding another
namespace with no prefix. The web service rejects the call because of this.

<testUpdateRequest xmlns= class=<class>"
href=ttp://xml.abccompany.xyz.com">"http://xml.abccompany.xyz.com">
<username>user
</username>
<password>pass
</password>
</testUpdateRequest>

If we do a transform, it adds a prefix but not on the testUpdate element.

<testUpdateRequest xmlns:br= class=<class>"
href=ttp://xml.abccompany.xyz.com">"http://xml.abccompany.xyz.com" xmlns=
class=<class>"
href=ttp://xml.abccompany.xyz.com">"http://xml.abccompany.xyz.com">
<br:username>user
</br:username>
<br:password>pass
</br:password>
</testUpdateRequest>

We observe this version of the invoke successful with ESB or other tools.

<br:testUpdateRequest xmlns:br= class=<class>"
href=http://xml.abccompany.xyz.com">"http://xml.abccompany.xyz.com" >
<br:username>user
</br:username>
<br:password>pass
</br:password>
</br:testUpdateRequest>


Sample Error Stack:

com.oracle.bpel.client.BPELFault: faultName:
{{http://schemas.oracle.com/bpel/extension}remoteFault}
messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage}parts: {{summary=<summary>exception on JaxRpc invoke: HTTP transport error:
javax.xml.soap.SOAPException: java.security.PrivilegedActionException:
oracle.j2ee.ws.saaj.ContentTypeException: Not a valid SOAP Content-Type:
text/html; charset=utf-8</summary>
}}

at
com.collaxa.cube.ws.WSIFInvocationHandler.invoke(WSIFInvocationHandler.java:66
8)
at
com.collaxa.cube.ws.WSInvocationManager.invoke2(WSInvocationManager.java:529)
at
com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:286)
at
com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__invoke(BPELInvokeWMP.java:828)

at
com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWM
P.java:411)
at
com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:2
00)
at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:4174)
at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1680)
at
com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handle
Local(PerformMessageHandler.java:75)
at
com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHel
per.java:238)
at
com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java
:335)

Changes

 

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
Changes
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.