that should work just fine.

try this one, works for me, I just went out and grabbed one from xmethods, and made 
the call the same way you were.

<cfscript>
  ws = CreateObject("webservice", 
        "http://helena.europe.webmatrixhosting.net/Morse.asmx?WSDL";);
  newmsg = ws.MsgtoMorse("sweet");
  writeoutput(newmsg);
</cfscript>

make sure you can hit that url from the web
you might delete the registration entry that it probably made in administrator and try 
again

-----Original Message-----
From: Templin, Luke [mailto:[EMAIL PROTECTED]
Sent: Friday, February 20, 2004 1: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. 
==================

========================================================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.
=====================================================

Reply via email to