Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

cannot create QName from "null" or "" String

3619769Feb 8 2018 — edited Feb 8 2018

When invoking a soap web service, bpel throws an error on the returned message. This only happens when the external web service returns a fault. The xsd and wsdl of the external service seem to pass all checks in jdeveloper.

pastedImage_1.png

The response is unable to be parsed as it does not even read the response into the variable in bpel.... it throws this error:

  **\<Fault xmlns:ns0="[http://schemas.oracle.com/bpel/extension](http://schemas.oracle.com/bpel/extension)">**

     **\<faultcode>ns0:bindingFault\</faultcode>**

     **\<faultstring>cannot create QName from "null" or "" String\</faultstring>**

     **\<faultactor/>**

     **\<detail>**

        **\<exception/>**

     **\</detail>**

  **\</Fault>**

pastedImage_2.png

When attaching a logging policy to the partner service I see the response:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<soapenv:Body>

  **\<soapenv:Fault>**

     **\<faultcode>soapenv:Client.invalidData\</faultcode>**

     **\<faultstring>Invalid data\</faultstring>**

     **\<detail>**

        **\<ns1:fault xsi:type="ns2:InvalidDataSoapFaultType" xmlns:ns1="[http://ccra.gc.ca/wsdl/brom](http://ccra.gc.ca/wsdl/brom)" xmlns:ns2="[http://ccra.gc.ca/xml_schemas/brom](http://ccra.gc.ca/xml_schemas/brom)">**

           **\<validationErrors xsi:type="ns2:ValidationErrorType">**

              **\<fieldName xsi:type="xsd:string">businessRegistrationNumber\</fieldName>**

              **\<errorMessageNumber xsi:type="xsd:integer">10512\</errorMessageNumber>**

              **\<errorMessageEnglishText xsi:type="xsd:string">Business number invalid\</errorMessageEnglishText>**

              **\<errorMessageFrenchText xsi:type="xsd:string">Le numéro d'entreprise est erroné\</errorMessageFrenchText>**

           **\</validationErrors>**

        **\</ns1:fault>**

        **\<ns3:exceptionName xmlns:ns3="[http://xml.apache.org/axis/](http://xml.apache.org/axis/)">ca.gc.ccra.brom.common.InvalidDataSoapFault\</ns3:exceptionName>**

        **\<ns4:hostname xmlns:ns4="[http://xml.apache.org/axis/](http://xml.apache.org/axis/)">ec01la4121b.isvcs.net\</ns4:hostname>**

     **\</detail>**

  **\</soapenv:Fault>**

</soapenv:Body>

**</soapenv:Envelop****e>
**

So in conclusion, the response comes back from the service but the BPEL is unable to parse it and errors out. Any help would be greatly appreciated.

EDIT: found this line in the logs aswell

| Message | Received an application fault after invoking endpoint URI "https://www.test........./BusinessService" with fault message: null. Please examine the fault details and verify corresponding business logic to further troubleshoot the issue. |

The fault message clearly isn't null so i am not sure why this is happening.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 8 2018
Added on Feb 8 2018
1 comment
512 views