Thursday 6 June 2013

XML Declataion : BPEL 10G vs 11G

Consider a simple BPEL 10G process that invokes as external webservice.
Using TCPMon (or any tunneling utility) , we would observe that the SOAP requests to the external webservice contains XML declaration (<?xml version="1.0" encoding="UTF-8"?>)
While in 11G the XML decelerations are  absent.

10G :
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
<soapenv:Body>
</soapenv:Body>
</soapenv:Envelope>



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

Please note that both these SOAP requests are valid.


NOTE:
--------
On BPEL 10G , there is no way for any external code (BPEL or otherwise) to modify/remove the XML declaration from the SOAP requests.

No comments:

Post a Comment