Showing posts with label no namespace. Show all posts
Showing posts with label no namespace. Show all posts

Tuesday, August 31, 2010

Dealing with Opaque messages in 11g BPEL - Part2

Once the opaque message was decoded into a string , we faced another challenge of converting that string into a valid XML and use that XML in BPEL transformations. Here the problem is that the incoming XML often doesn't have a namespace!

So we did the following to make it usable in XSLT transformations



1.       Generated an XSD with the incoming XML and  added a custom targetnamespace to the that xsd
2.       Attached that namespace to the decoded string.
3.       Created a BPEL variable with the XSD generated in step1.
4.       Used oraext:parseXML function to parse the decoded string and assigned it to the BPEL variable created in step3.
5.       Used that BPEL Variable in a transformation.


Please write to me if you require the sample code.

Have a nice day.