[cfaussie] Unable to read WSDL from URL

2014-07-09 Thread Scott Thornton
Hi, I am working with webservices for the first time, and my knowledge is very rudimentary. Scenario: I need to implement NT Authentication on my intranet app. My CF6.1 server can't process the cfntauthenticate tag. I also have a CF9 9,0,1,274733 server that I can use to process a

Re: [cfaussie] Unable to read WSDL from URL

2014-07-09 Thread Paul Kukiel
I have seen this exact thing happen before. I never solved it. Restarting cf fxed it but it always came back. I moved away from wsdl and re-wrote in REST. Sorry not that much help. On Thu, Jul 10, 2014 at 10:37 AM, Scott Thornton scott.thorn...@hnehealth.nsw.gov.au wrote: Hi, I am

RE: [cfaussie] Unable to read WSDL from URL

2014-07-09 Thread Charlie Arehart
You may want to look at the coldfusion-out.log (in \coldfusion9\runtime\logs or jrun4\logs) to see if there's any more detail in there about the problem. /charlie From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of Scott Thornton Sent: Wednesday, July 09, 2014 8:37

RE: [cfaussie] Unable to read WSDL from URL

2014-07-09 Thread Scott Thornton
Hi @Charlie, From coldfusion-out.log: 07/10 14:15:29 Information [jrpp-0] - Starting Web service request. 07/10 14:15:29 Information [jrpp-0] - Creating Web service proxy {url='http://localhost/login/NTLoginService.cfc?wsdl'} 07/10 14:15:31 Error [jrpp-0] -

Re: [cfaussie] Unable to read WSDL from URL

2014-07-09 Thread Andrew Scott
Yes, but you also need to look at this setting in ColdFusion. If this is not ticked it will only send a 404 or 500 status code, during development this really should be a setting that you switch on. *Enable HTTP status codes* Enables ColdFusion to set HTTP error status codes when ColdFusion

Re: [cfaussie] Unable to read WSDL from URL

2014-07-09 Thread Andrew Scott
One thing that you haven't mentioned, is this a 32bit or 64bit installation of ColdFusion. From memory the ntAuthentication tags are using com objects to talk to Windows Authentication servers, if your running on a 64bit OS you may find that this is going to be a major issue with what your trying

Re: [cfaussie] Unable to read WSDL from URL

2014-07-09 Thread Andrew Scott
Actually come to think of it.. Have you also tried this, during development if the component is being changed, you also need to clear the stubs. I don't recall it being that exact error, but a quick Google has made the exact same suggestions. Reference:

RE: [cfaussie] Unable to read WSDL from URL

2014-07-09 Thread Scott Thornton
Hi, Sorry, yes this option is already selected. The server is running on 32-bit. From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of Andrew Scott Sent: Thursday, 10 July 2014 2:44 PM To: cfaussie@googlegroups.com Subject: Re: [cfaussie] Unable to read WSDL from URL

RE: [cfaussie] Unable to read WSDL from URL

2014-07-09 Thread Scott Thornton
Hi, After deleting the stubs in C:\ColdFusion9\stubs\WS854518475\login I was able to get the wsdl to generate ( see below ) The CFinvoke statement returns an error however: cfinvoke webservice=http://localhost/login/NTLoginService.cfc?wsdl;

Re: [cfaussie] Unable to read WSDL from URL

2014-07-09 Thread Andrew Scott
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?wsdlmethod=loginUserNT NTusername=testNTpassword=testpasswordNTdomainz=testdomain

RE: [cfaussie] Unable to read WSDL from URL

2014-07-09 Thread Scott Thornton
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

Re: [cfaussie] Unable to read WSDL from URL

2014-07-09 Thread Andrew Scott
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/ Google+: http://plus.google.com/113032480415921517411 On Thu, Jul 10, 2014 at 3:29

Re: [cfaussie] Unable to read WSDL from URL

2014-07-09 Thread Andrew Scott
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?wsdlloginUserNT(NTusername=test, NTpassword=testpassword,