1
[Bindable]public var xmlData:Object = new Object();
    [Bindable]public var headingData:Object = new Object();   

 private function getHeadings(evt:ResultEvent):void{
          //xmlData = ObjectUtil.toString(evt.result);
            //ObjectUtil.toString(evt.result)
          xmlData = evt.result;
          headingData = xmlData.root.survey;
        }

     <mx:WebService id="srv"
                wsdl="http://domainame/Service.asmx?WSDL">
            <mx:operation name="GetClientDetails_ParameterDetails"
                    resultFormat="object"
                    result="getHeadings(event);"
                    />
        </mx:WebService>

I am able to parse an simple XML and create the components, but i am not able to do when i call an webService. The Method name which fetches the XML is the same.

Am i doing something wrong in receiving the XML in Flex.

1 Answer 1

1

Try it with resultFormat as XML or e4x.

Sign up to request clarification or add additional context in comments.

1 Comment

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.