vasant - Monday, January 30, 2012 4:27 AM:
Hi All,
I want to get the Property Value from SOAP Response to a string
Variable using Client Side Method.
My SOAP Response is like:
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="schemas.xmlsoap.org/.../">
<SOAP-ENV:Body>
<Result>1234567890AABBAABBAABBAABBAABBAA</Result>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Now I want to get:
Var item_id=Response.getPropertyValue(“Result”); //doesnot works
Means I want to assign the Value of Result to variable item_id.
Any Idea will be appreciated...
Thanks & Regards,
Vasant
Yoann Maingon - Monday, January 30, 2012 7:35 AM:
Response.getID() should work fine !
Yoann Maingon - Monday, January 30, 2012 7:38 AM:
Can you just precise what query you're sending to get this?
Can you show some of the code you're trying to implement?
vasant - Tuesday, January 31, 2012 1:14 AM:
Hi,
I have got the solution of it.
Rather than Requesting for an ID using SOAP, just Request for the Item with respective ID.
And then simply write a query:
var item_id=Response.getProperty("id"); // Works fine
Thanks & Regards,
Vasant