Hi all,
I'm trying to call a web service using jaggery application as described in
[1].
As described in the example, if I print the returned value of the function
directly and alerted in the front end, I get the XML response. But if I
assigned the returned value to a variable and print it, I get "{}".

The response I'm getting from the service is like bellow.

<ns:checkOrderCostResponse xmlns:ns="http://orderprocessorns
"><ns:cost>1120.0</ns:cost></ns:checkOrderCostResponse>

So I must be able to get the value of the cost tag by just saying
response_variable.cost
But if I do that I get "null"

Can someone please help me to understand what is happening here.

[1] http://jaggeryjs.org/apidocs/ws.jag
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to