Apologies...first post and it went out half-cocked
Here is the full post
I have a .NET webservice that returns an XMLDocument
[WebMethod]
public XmlDocument PriceGet()
{
string sDoc = "<testXML><User FName='Bingo'
SName='Little' /></testXML>";
XmlDocument oDoc = new XmlDocument();
oDoc.LoadXml(sDoc);
return oDoc;
}
I have created the following WebService in Flex Builder
<mx:WebService id="Dashboardws1"
wsdl="
http://localhost/Dashboardws/dashboardservices.asmx?wsdl" useProxy="false"
showBusyCursor="true"
fault="Alert.show(event.message.toString())"
result="PriceGetHandler(event)">
<mx:operation name="PriceGet">
<mx:request/>
</mx:operation>
</mx:WebService>
I have checked the message that is coming back
(mx.messaging.messages::AcknowledgeMessage)#0
body = "<?xml version="1.0"
encoding="utf-8"?><soap:Envelope xmlns:soap="
http://schemas.xmlsoap.org/soap/envelope/"xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"xmlns:xsd="
http://www.w3.org/2001/XMLSchema"><soap:Body><PriceGetResponse><PriceGetResult><testXMLxmlns=""><User FName="Bingo" SName="Little"
/></testXML></PriceGetResult></PriceGetResponse></soap:Body></soap:Envelope>"
clientId = "DirectHTTPChannel0"
correlationId = "56648983-5FBD-C1C2-37CF-75F0BB1D927A"
destination = ""
headers = (Object)#1
messageId = "F5D83181-12DD-67E4-7E41-75F0BC07890C"
timestamp = 0
timeToLive = 0
but for the life of me I can't get to the data that the
message contains.
Referencing Dashboardws.PriceGet.lastResult give me a null as
do all other combinations I can think of
Has anybody got any thoughts? My remaining hair is in some
danger here