Invalid Namespace Prefix From Proxy Runtime in BPEL SOAP Response (Doc ID 846895.1)

Last updated on NOVEMBER 03, 2016

Applies to:

Oracle(R) BPEL Process Manager - Version: 10.1.3.4 and later   [Release: AS10gR3 and later ]
Information in this document applies to any platform.
***Checked for relevance on 12-Sep-2011***

Symptoms

Call a synchronous BPEL process through a WSDL file, with a payload with two elements, one of these elements has a property without a value, the payload then returns as an invalid payload.  The following error is issued:

javax.xml.soap.SOAPException: Error parsing envelope
at emptyelementnamespaceissueclient.proxy.runtime.EmptyElementNamespaceIssueProcessBinding_Stub.process(EmptyElementNamespaceIssueProcessBinding_Stub.java:99)
at emptyelementnamespaceissueclient.proxy.EmptyElementNamespaceIssueProcessPortClient.process(EmptyElementNamespaceIssueProcessPortClient.java:73)
at emptyelementnamespaceissueclient.proxy.EmptyElementNamespaceIssueProcessPortClient.main(EmptyElementNamespaceIssueProcessPortClient.java:61)
Caused by: javax.xml.soap.SOAPException: Error parsing envelope
at oracle.j2ee.ws.saaj.soap.soap11.SOAPImplementation11.createEnvelope(SOAPImplementation11.java:103)
at oracle.j2ee.ws.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:76)
at oracle.j2ee.ws.saaj.soap.MessageImpl.getSOAPBody(MessageImpl.java:935)
at oracle.j2ee.ws.client.StreamingSender._preHandlingHook(StreamingSender.java:701)
at oracle.j2ee.ws.client.StubBase._preHandlingHook(StubBase.java:746)
at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:207)
at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:112)
at emptyelementnamespaceissueclient.proxy.runtime.EmptyElementNamespaceIssueProcessBinding_Stub.process(EmptyElementNamespaceIssueProcessBinding_Stub.java:76)
... 2 more
Caused by: oracle.xml.parser.v2.XMLDOMException: invalid namespace for prefix ns1
at oracle.xml.util.XMLUtil.validateQualifiedName(XMLUtil.java:520)
at oracle.xml.parser.v2.XMLElement.<init>(XMLElement.java:411)
at oracle.j2ee.ws.saaj.soap.ElementImpl.<init>(ElementImpl.java:64)
at oracle.j2ee.ws.saaj.soap.soap11.Element11.<init>(Element11.java:27)
at oracle.j2ee.ws.saaj.soap.soap11.SOAPImplementation11.createElement(SOAPImplementation11.java:169)
at oracle.j2ee.ws.saaj.soap.ElementImpl.createChildElement(ElementImpl.java:634)
at oracle.j2ee.ws.saaj.soap.SOAPDoc.createNodeFromType(SOAPDoc.java:56)
at oracle.j2ee.ws.saaj.soap.SOAPPartImpl$SOAPPartDocument.createNodeFromType(SOAPPartImpl.java:593)
at oracle.xml.parser.v2.XMLDocument.createElement(XMLDocument.java:2122)
at oracle.xml.parser.v2.DocumentBuilder.startElement(DocumentBuilder.java:262)
at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1288)
at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:336)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:303)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:206)
at oracle.j2ee.ws.saaj.soap.soap11.SOAPImplementation11.createEnvelope(SOAPImplementation11.java:77)

 

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