PDA

View Full Version : Access to Web Service Results


kmurray24
04-19-2006, 07:07 PM
OK, I got the SAP BW queryview Web Service to work! I couldn't get it to work as simply as I did with Microsoft InfoPath. With MS InfoPath all I had to do was populate the "Query" parameter. With Flex I could only get it to work if I used the "ViewId" parameter. So I had to create a view off of my primary query. So now hopefully some of you veterans can help me now.

I am outputting my web service results to a Flex 2 Text Area Control. When the web service runs the Text Area Control gets populated with the following text: "[object Object],[object Object]" I am thinking these are objects containing my XML. I think this because if I look at my Web Service RFC Trace I can see my XML results to my query...

How can I get access to this "[object Object],[object Object]" so that it can be used to populate a grid or chart?

Just FYI, the results are a complex XML in a SOAP Envelope and Body if that matters

Thanks for any help you can give

Thanks

Elguapo
04-27-2006, 09:12 AM
Can you post your result method code. And are you returning your results as an array?. If you are try this.

result[0].<FEILDNAME RETURNED>;
IE
result.[0].FIRSTNAME;