Just a quick warning really.
It appears there's a bug in the ServerXMLHTTP.ResponseXML method. It's
suppose to return the retrieved XML as an MSXMLDom object, however I've
found on certain URL's even though the XML retrieved is correct, it won't
parse it into a DOM.
For example, the following fails :
<CFSCRIPT>
httpWSDL.Open("GET","http://www.lemurlabs.com/projects/soap/itime/ITimeServi
ce.wsdl",false,"","");
httpWSDL.Send();
xom = httpWSDL.responseXML;
</CFSCRIPT>
However this work around works:
<!--- Request the WSDL document --->
<CFSCRIPT>
httpWSDL.Open("GET","http://www.lemurlabs.com/projects/soap/itime/ITimeServi
ce.wsdl",false,"","");
httpWSDL.Send();
</CFSCRIPT>
<!--- Parse the XML into a DOM --->
<CFOBJECT Name="xom" Class="MSXML2.DOMDocument" Action="Create">
<CFSET xom.ValidateOnParse = true>
<CFSET temp = xom.loadXML(httpWSDL.ResponseText)>
Just thought you might want to know, so that you don't spend 30 minutes
tearing your hair out like I did :-)
Dave Maddison, WildFusion
-----------------------+
cf-xml mailing list
[EMAIL PROTECTED]
http://torchbox.com/xml