HI,
<cfscript>
test =
createObject("webservice","http://localhost/login/NTLoginService").loginUserNT(NTusername='username',
NTpassword='pwd', NTdomainz='domain');
</cfscript>
Returns
Unable to read WSDL from URL: http://localhost/login/NTLoginService.
<cfscript>
test =
createObject("webservice","http://localhost/login/NTLoginService?wsdl").loginUserNT(NTusername='username',
NTpassword='pwd', NTdomainz='domain');
</cfscript>
Returns:
Unable to read WSDL from URL: http://localhost/login/NTLoginService?wsdl.
Error: 404 Not Found.
When I try without the parameters being within text quotes, I get a different
error again.
So I would say no, at this point in time.
From: [email protected] [mailto:[email protected]] On Behalf Of
Andrew Scott
Sent: Thursday, 10 July 2014 3:39 PM
To: [email protected]
Subject: Re: [cfaussie] Unable to read WSDL from URL
Just out of curiosity if you switch from cfinvoke to create object does it
suffer the same thing?
like
test =
createObject("webservice","http://localhost/login/NTLoginService").<http://localhost/login/NTLoginService.cfc?wsdl>loginUserNT(NTusername=test,
NTpassword=testpassword, NTdomainz=testdomain);
Does that work or has the same problem?
Regards,
Andrew Scott
WebSite: http://www.andyscott.id.au<http://www.andyscott.id.au>/
Google+: http://plus.google.com/113032480415921517411
On Thu, Jul 10, 2014 at 3:34 PM, Andrew Scott
<[email protected]<mailto:[email protected]>> wrote:
Restful is not a web service but a normal RPC that uses get/post/delete etc. So
any language than can have an entry point can do RPC or restful calls.
Regards,
Andrew Scott
WebSite: http://www.andyscott.id.au<http://www.andyscott.id.au>/
Google+: http://plus.google.com/113032480415921517411
On Thu, Jul 10, 2014 at 3:29 PM, Scott Thornton
<[email protected]<mailto:[email protected]>>
wrote:
Hi,
Your suggestion works, passing it in via URL.
If I use my domain credentials it returns:
usernamesuccess
I guess it might have something to do with the cffunction returning a struct (
the cfauthenticate result ). I may have to simplify that.
Do coldfusion RESTful webservices work in CF 9? ( and can be used from CF6 ? )
This example mentions support for it was added in cf10.
http://www.adobe.com/devnet/coldfusion/articles/restful-web-services.html
Thanks very much for your assistance Andrew.
PS: I am still stuck on CF6.1 since the server it is on still runs Windows
Server 2000 which was about the last version of windows my Crystal reports .asp
SDK runs on. Which is a different issue all together.
From: [email protected]<mailto:[email protected]>
[mailto:[email protected]<mailto:[email protected]>] On Behalf
Of Andrew Scott
Sent: Thursday, 10 July 2014 3:15 PM
To: [email protected]<mailto:[email protected]>
Subject: Re: [cfaussie] Unable to read WSDL from URL
What happens if you try to invoke the CFC via the URL and not as a webservice?
For example what does this do in the browser?
http://localhost/login/NTLoginService.cfc?<http://localhost/login/NTLoginService.cfc?wsdl>method=loginUserNT&NTusername=test&NTpassword=testpassword&NTdomainz=testdomain
Could that be throwing an error that the invoke is masking?
But seriously, move away from webservices they actually suck in ColdFusion and
is why people prefer RestFul.
--
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
[email protected]<mailto:[email protected]>.
To post to this group, send email to
[email protected]<mailto:[email protected]>.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.
--
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
[email protected]<mailto:[email protected]>.
To post to this group, send email to
[email protected]<mailto:[email protected]>.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.