Actual Result from Web Service ============================== <UserLoginResponse xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://www.test.com/BusinessLogic/WebServices" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <UserLoginResult> <bSuccess>true</bSuccess> <dtUTCRequest>2006-11-18T05:02:51.745125Z</dtUTCRequest> <dtUTCResponse>2006-11-18T05:02:58.01075Z</dtUTCResponse> <lExecutionTime>6265</lExecutionTime> </UserLoginResult> <o_Session> <strToken>b1f966bc144146ad942a05d46a11a56be5771a62f92a44058eddb76641ae07d8</strToken> <dtUTCExpiryDate>2006-11-25T05:02:54.776375Z</dtUTCExpiryDate> <lWSCallSequenceNumber>1</lWSCallSequenceNumber> <lUserID>9</lUserID> </o_Session> </UserLoginResponse>
This is how the response, we are getting from the web service. We save this xml and use httpservice to call it didn't worked. We removed attributes from the UserLoginResponse (root tag) and it worked. as follows Custome XML result with remove attribute from root tag ====================================================== <UserLoginResponse> <UserLoginResult> <bSuccess>true</bSuccess> <dtUTCRequest>2006-11-18T05:02:51.745125Z</dtUTCRequest> <dtUTCResponse>2006-11-18T05:02:58.01075Z</dtUTCResponse> <lExecutionTime>6265</lExecutionTime> </UserLoginResult> <o_Session> <strToken>b1f966bc144146ad942a05d46a11a56be5771a62f92a44058eddb76641ae07d8</strToken> <dtUTCExpiryDate>2006-11-25T05:02:54.776375Z</dtUTCExpiryDate> <lWSCallSequenceNumber>1</lWSCallSequenceNumber> <lUserID>9</lUserID> </o_Session> </UserLoginResponse> Why?. How can we trimmed this while getting the data?. Couldn't flex receives every tag as object? We are stucked with this issue and not able to move forward in our project. Please help us flex community.