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!

OSB Namespace conflict between SOAP envelope and header/body

user3541180Aug 4 2014 — edited Aug 5 2014

I have an OSB proxy exposed as a WS. The proxy consumes a business service which is of service type "Any SOAP Service". The business service does an http post of the SOAP formatted XML to an external service. Everything looks good except that when I see the payload being posted to the external service the namespace elements are different between the soap envelope and the header/body.  This causes the external service to fail as expected because of this mismatch in namespaces. The payload being posted to the external service by the business service appears as follows:

<?xml version="1.0" encoding="UTF-8"?>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">

<env:Header xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:xsd="http://www.w3.org/1999/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">

            <DeliveryInformation xmlns:ns2="http://www.digitaloilfield.com/ocp" xmlns="http://www.digitaloilfield.com/ocp">

            ...

            </DeliveryInformation>

</env:Header>

<env:Body xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:xsd="http://www.w3.org/1999/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">

            <OrderChange pid:transactionPurposeIndicator="Replace" xmlns:ns="http://www.api.org/pidXML" xmlns="http://www.api.org/pidXML" xmlns:pid="http://www.api.org/pidXML">

           

            </OrderChange>

</env:Body>

</soapenv:Envelope>

Can someone tell me how to make these namespaces the same?

Regards,

M -

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 2 2014
Added on Aug 4 2014
6 comments
2,696 views