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 - How to replace node content

Peter551059Jul 29 2014 — edited Jul 29 2014

Hi,

I have strange issue in OSB (11gR1).

I have simple XML schema

   <xsd:complexType name="DocumentResponseType">
   <xsd:sequence>
   <xsd:element name="file" type="xsd:string" />
   </xsd:sequence>
   </xsd:complexType>
   <xsd:element name="DocumentResponse" type="tns:DocumentResponseType"/>

In route response action I want to replace content of node <file>. I created replace activity with XPath ./ns:DocumentRequest/ns:file in variable body with expression fn:concat('C:\', $filename/text()).

I expect that variable $body contains DocumentResponse but it holds response of business service.

How can I put DocumentResponse element into body? Have I put it "manualy" by putting <ns:DocumentRequest><ns:file>fn:concat('C:\', $filename/text())</ns:file></ns:DocumentRequest> or is there some variable holding response schema?

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 26 2014
Added on Jul 29 2014
2 comments
4,291 views