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?