I am trying to perform a XML to String conversion to send the input as string to HTTP POST from OSB Business Service.
The below input works fine when tested from the Business Service directly after setting Content-Type = application/x-www-form-urlencoded
postdata=<testxml><message>Hello World</message><priority>1</priority><sender>steve</sender></testxml>
When I have a WSDL based Proxy Service invoking the Business Service, the request sent to Business Service has "<" converted to "& lt ;" (spaces added to avoid HTML converting it back). The input to the Proxy Service is an XML:
<testxml><message>Hello World</message><priority>1</priority><sender>steve</sender></testxml>
Steps in the Proxy Service are:
1. Convert XML to String using the fn-bea:serialize function
2. Set Transport Headers/Content-Type (HTTP) = application/x-www-form-urlencoded
3. Invoke Business Service
The input to the Business Service that is sent from the Proxy Service is: postdata=& lt ;testxml>& lt ;message>Hello World& lt ;/message>& lt ;priority>1& lt ;/priority>& lt ;sender>steve& lt ;/sender>& lt ;/testxml> (without spaces between & lt ; ).
How to avoid this conversion of "<" to "& lt ;" ?
Cheers,
Arun Ramesh