Hi everybody,
<script language="js"><![CDATA[
var city_Name = mc.getPayloadXML()..*::cityName.toString();
var limit_From =
mc.getPayloadXML()..*::limitFrom.toString();
var limit_To = mc.getPayloadXML()..*::limitTo.toString();
var soapBody = "<p:limitFrom
xmlns:p=\"http://ws.wso2.org/dataservice\">" +limit_From+"</p:limitFrom>"
+ "<p:limitTo
xmlns:p=\"http://ws.wso2.org/dataservice\">" +limit_To+"</p:limitTo>";
mc.setPayloadXML(
<p:optGetCity xmlns:p="http://ws.wso2.org/dataservice">
{soapBody}
</p:optGetCity>);]]>
</script>
this script was there in esb proxy, when i runnig proxy service everthing is
ok, proxy send soap body to dss and message like this
<soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">
<soapenv:Body>
<p:optGetCity xmlns:p="http://ws.wso2.org/dataservice">
<p:limitFrom
xmlns:p="http://ws.wso2.org/dataservice">0</p:limitFrom>
<p:limitTo
xmlns:p="http://ws.wso2.org/dataservice">100</p:limitTo>
</p:optGetCity>
</soapenv:Body>
</soapenv:Envelope>
'<' character encoded to '<', how can i resolve this problem.
Thanks a lot._______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev