Expand my Community achievements bar.

Microsoft SQL 2005 WebServices - SOAP Result Parsing

Avatar

Former Community Member
Hello,

I have successfully connected to, sent a request and
retrieved a SOAP response from, the WebServices functionality
(ENDPOINT) using MS-SQL 2005. What I need to know how to do is
parse the SOAP response in FLEX as to access the actual data for
use in the application.



How do I extract only the node that contains the data and
then use this for binding my controls? I don't need any of the SOAP
header stuff in there. Of course I could loop through the
xyz.lastResult and parse onyl the parts I need to a new XML object,
but that seems a lot of processing for something that is almost
there.



Any help would be appreciated.



Sal
2 Replies

Avatar

Former Community Member
If you leave the WebService resultFormat as "object" (instead
of "e4x"),

it should decode the data into ActionScript for you... what
version of Flex

are you using?





Avatar

Level 2

quote:




Originally posted by:
TN_SGIA


Hello,

I have successfully connected to, sent a request and
retrieved a SOAP response from, the WebServices functionality
(ENDPOINT) using MS-SQL 2005. What I need to know how to do is
parse the SOAP response in FLEX as to access the actual data for
use in the application.





Can you share the code to do that with me? I'm not good a
SOAP requests, and this would be an excelent contribution to my
project. Thank you.