That sounds like the good call, Dmitry.

Scott, you had opened saying that you were using a virtual directory in IIS.
Can you change it to not be one and see if it helps? (Even though the bug
report he refers to is for CF10, I would not be surprised if the problem
went back to your CF 6.1.)

Also, Scott, your last message showing use of createobject indicated that
you had gotten a 404 on the wsdl URL. The problem was that you left off the
.cfc in the URL. So:

test =
createObject("webservice","http://localhost/login/NTLoginService?wsdl";).logi
nUserNT(NTusername='username', NTpassword='pwd', NTdomainz='domain');


should have been instead:

test =
createObject("webservice","http://localhost/login/NTLoginService.cfc?wsdl";).
loginUserNT(NTusername='username', NTpassword='pwd', NTdomainz='domain');


(When you're calling a component, you don't put the .cfc, so it's easy to
get tripped up on that.)

Finally, while you can chain methods on the createobject, note that you
don't need to do that. And there can be advantages to NOT doing it,
especially if you would need to call more than one method. You may already
know that. Just wanted to point it out in case you go with that alternative
approach. So you could do it this way, for instance:

ntlogin=
createObject("webservice","http://localhost/login/NTLoginService.cfc?wsdl";).
loginUserNT(NTusername='username', NTpassword='pwd', NTdomainz='domain');
test = ntlogin.loginUserNT(NTusername='username', NTpassword='pwd',
NTdomainz='domain');

test2 = ntlogin.callsomeothermethod;

Hope that helps.

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf
Of Dmitry Yakhnov
Sent: Thursday, July 10, 2014 4:26 AM
To: cfaussie@googlegroups.com
Subject: Re: [cfaussie] Unable to read WSDL from URL

 

Hi Scott,

This seems to be a well known bug:

https://bugbase.adobe.com/index.cfm?event=bug
<https://bugbase.adobe.com/index.cfm?event=bug&id=3531653> &id=3531653
https://forums.adobe.com/message/5207697

Cheers,
Dmitry,

On 10/07/2014 10:37 AM, Scott Thornton wrote: 

Hi,

 

I am working with webservices for the first time, and my knowledge is very
rudimentary.

 

Scenario:

 

<sjip>

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.

Reply via email to