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!

XML as string via OSB, how to send ?

George Moykin-OracleApr 27 2009 — edited May 5 2010
I want to send an XML as a string to a Producer's WebService via OSB, for example:

<osb:sendStringXML xmlns:osb="http://temp.openuri.org/OSB_String_param_as_XML.xsd">
<osb:strXML>
*<myxml>*
*<str name="test">123</str>*
*</myxml>*
</osb:strXML>
</osb:sendStringXML>

The Producer needs:
*+<myxml>+*
*+<str name="test">123</str>+*
*+</myxml>+*

but not:
+123+

I tried [!CData[ ... ]] - doesn't work !

I tried to add the Replace action in the OSB rooting and thru XQuery/XSLT Expression Editor:

fn:replace($myXML, < , &lt ) - but it doesn't replace anything.

Any suggestions ?

Thanks a lot !

Edited by: George Moykin on 2009-4-27 13:32

Edited by: George Moykin on 2009-4-27 13:32

Edited by: George Moykin on 2009-4-27 13:33

Edited by: George Moykin on 2009-4-27 13:33
This post has been answered by 675595 on Apr 27 2009
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 2 2010
Added on Apr 27 2009
14 comments
5,369 views