it almost looks like the data you're getting back is a .Net variable instance, instead of like an xml document. if you were to call it from a .Net client, it would probably deserialize the variable back into the original object for use. if your web server is running .Net framework 1.0, I know you can manually make a call to the webserver using the syntax http://dvlpServer/webservice/XMLServ.asmx/GetPolicyXML?yourvariablenamehere= 0011148&yourothervariablenamehere=2002 and then you could see if you're actually getting back an XML document or if you're getting a serialized .Net object, which I bet you are.
Bruce Dunwiddie Ticket Technology P: 866.543.3331 F: 913.451.7832 [EMAIL PROTECTED] -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Templin, Luke Sent: Friday, February 20, 2004 12:36 PM To: [EMAIL PROTECTED] Subject: [KCFusion] Consume .NET WebService issue I'm having trouble building a coldfusion MX client to consume a .NET webservice. Here's the code that's being used <cfscript> ws = CreateObject("webservice", "http://dvlpServer/webservice/XMLServ.asmx?wsdl"); xlatstring = ws.GetPolicyXML("0011148","2002"); writeoutput(xlatstring); </cfscript> the cfinvoke tag has also been tried. The response from the webservice is [EMAIL PROTECTED] which is not the response I'm expecting. The webservice when tested with .Net clients works fine Anybody have any insight on consuming .Net webservices? Luke Templin =================== Kansas City ColdFusion User Group's website & listserv is hosted through the generous support of Clickdoug.com To send email to the list, email [EMAIL PROTECTED] To (un)subscribe, email [EMAIL PROTECTED] with your request. For hosting solutions http://www.clickdoug.com Featuring Win2003 Enterprise, RedHat Linux, CFMX 6.1. ==================
<<attachment: winmail.dat>>
