Discussions
Categories
- 17.9K All Categories
- 3.4K Industry Applications
- 3.3K Intelligent Advisor
- 63 Insurance
- 535.7K On-Premises Infrastructure
- 138.1K Analytics Software
- 38.6K Application Development Software
- 5.6K Cloud Platform
- 109.3K Database Software
- 17.5K Enterprise Manager
- 8.8K Hardware
- 71K Infrastructure Software
- 105.2K Integration
- 41.5K Security Software
Replacing SOAP envelope in OSB

Is it possible to achieve below in OSB?
From:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
</soapenv:Envelope>
Required:
<soap12:Envelope xmlns:soap12="http://schemas.xmlsoap.org/soap/envelope/">
</soap12:Envelope>
Thanks in advance.
Answers
-
Hello,
Please try to use a simple Rename Action of the Oracle Service Bus !
Find the following links for more examples to how implement it :
https://jvzoggel.com/2012/05/07/adding-namespaces-os/
https://soalair.wordpress.com/2010/09/05/change-namespace-of-the-element-in-osbalsb/
Hope that will help
Best Regards ,
Sanae
-
Hi,
I'm not sure this is still relevant. Probably not, since it's from 23/10. However, what you suggest is that you want to comply to Soap1.2, but in your examples you only change the namespace reference soapenv to soap12.
But soapenv en soap12 are not much more than namespace references. They do not change the namespace. In fact, your examples are exactly identical. I guess you mean that you want to change to
<soap12:Envelope xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
</soap12:Envelope>
See also:
https://stackoverflow.com/questions/403980/i-am-confused-about-soap-namespaces
Sometimes a WSDL has 2 bindings like this one: http://www.dneonline.com/calculator.asmx?WSDL Confusing though, is that in this example the soap12 binding again has the same namespace as the soap1.1 namespace...
I think you need to define a new business service on the particular wsdl and base it on the soap1.2 binding. Then have OSB decide the correct namespace in the soap envelope.
Again, if the namespace value of the particular namespace declaration does not differ, then the messages are in fact the same.
Kind regards,
Martien