Re: [cfaussie] Unable to read WSDL from URL
Make sure you're using wsversion=1 in your remote CFC. I am pretty sure it is v9 that upgraded the AXIS version. You can set it to be version 1 by default in CFAdmin or on a case by case basis within the CFC using the wsversion attribute. Gavin. On Thursday, 10 July 2014 11:01:48 UTC+10, Paul Kukiel wrote: 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.t...@hnehealth.nsw.gov.au javascript: wrote: 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 webservice to provide authentication. So, working locally at present on CF9… My NTLoginService.cfc looks like : cfcomponent displayname=NT Login Service hint=Provides NT Domain Authentication output=false cffunction access=remote name=loginUserNT output=no returntype=struct displayname=Authenticates A User Against A Windows Domain hint=Authenticates a user against a Microsoft Windows Domain cfargument name=NTusername type=string required=yes displayname=username cfargument name=NTpassword type=string required=yes displayname=password cfargument name=NTdomain type=string required=yes displayname=domain cfntauthenticate username=#Arguments.NTusername# password=#arguments.NTpassword# domain=#arguments.NTdomain# result=authUser listgroups=false throwonerror=false cfreturn authUser /cffunction /cfcomponent I hope to return the result of the cfntauthenticate call. I can browse the cfc via URL http://localhost/login/NTLoginService.cfc and see the methods\parameters okay. But if I browse to http://localhost/login/NTLoginService.cfc?wsdl I receive the error: *AXIS error* Sorry, something seems to have gone wrong... here are the details: Fault - Error attempting to create Java skeleton for CFC web service.; nested exception is: coldfusion.xml.rpc.CFCInvocationException: [java.lang.NullPointerException : null] AxisFault faultCode: { http://schemas.xmlsoap.org/soap/envelope/}Server.generalException faultSubcode: faultString: Error attempting to create Java skeleton for CFC web service.; nested exception is: coldfusion.xml.rpc.CFCInvocationException: [java.lang.NullPointerException : null] faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}hostname:WSHBILL032 If I try to invoke the webservice with : cfinvoke webservice= http://localhost/login/NTLoginService.cfc?wsdl; method=loginUserNT returnvariable=authentication refreshWSDL=yes cfinvokeargument name=NTusername value=#form.username#/ cfinvokeargument name=NTpassword value=#form.password#/ cfinvokeargument name=NTdomain value=#form.domain#/ /cfinvoke I receive the error: Unable to read WSDL from URL: http://localhost/login/NTLoginService.cfc?wsdl. Error: 500 Internal Server Error. http://localhost/login/ is a IIS virtual directory that points to c:\websites\login\ I have restarted the local CF server multiple times. I wouldn’t be surprised if I have missed something simple. Would any one have any ideas on what to do next? Googling hasn’t been very informative. Thanks for any assistance. -- You received this message because you are
Re: [cfaussie] Unable to read WSDL from URL
It was CF10 when they upgraded. On 27 Aug 2014, at 4:01 pm, Gavin Baumanis gavinbauma...@gmail.com wrote: Make sure you're using wsversion=1 in your remote CFC. I am pretty sure it is v9 that upgraded the AXIS version. You can set it to be version 1 by default in CFAdmin or on a case by case basis within the CFC using the wsversion attribute. Gavin. On Thursday, 10 July 2014 11:01:48 UTC+10, Paul Kukiel wrote: 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.t...@hnehealth.nsw.gov.au wrote: 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 webservice to provide authentication. So, working locally at present on CF9... My NTLoginService.cfc looks like : cfcomponent displayname=NT Login Service hint=Provides NT Domain Authentication output=false cffunction access=remote name=loginUserNT output=no returntype=struct displayname=Authenticates A User Against A Windows Domain hint=Authenticates a user against a Microsoft Windows Domain cfargument name=NTusername type=string required=yes displayname=username cfargument name=NTpassword type=string required=yes displayname=password cfargument name=NTdomain type=string required=yes displayname=domain cfntauthenticate username=#Arguments.NTusername# password=#arguments.NTpassword# domain=#arguments.NTdomain# result=authUser listgroups=false throwonerror=false cfreturn authUser /cffunction /cfcomponent I hope to return the result of the cfntauthenticate call. I can browse the cfc via URL http://localhost/login/NTLoginService.cfc and see the methods\parameters okay. But if I browse to http://localhost/login/NTLoginService.cfc?wsdl I receive the error: AXIS error Sorry, something seems to have gone wrong... here are the details: Fault - Error attempting to create Java skeleton for CFC web service.; nested exception is: coldfusion.xml.rpc.CFCInvocationException: [java.lang.NullPointerException : null] AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException faultSubcode: faultString: Error attempting to create Java skeleton for CFC web service.; nested exception is: coldfusion.xml.rpc.CFCInvocationException: [java.lang.NullPointerException : null] faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}hostname:WSHBILL032 If I try to invoke the webservice with : cfinvoke webservice=http://localhost/login/NTLoginService.cfc?wsdl; method=loginUserNT returnvariable=authentication refreshWSDL=yes cfinvokeargument name=NTusername value=#form.username#/ cfinvokeargument name=NTpassword value=#form.password#/ cfinvokeargument name=NTdomain value=#form.domain#/ /cfinvoke I receive the error: Unable to read WSDL from URL: http://localhost/login/NTLoginService.cfc?wsdl. Error: 500 Internal Server Error. http://localhost/login/ is a IIS virtual directory that points to c:\websites\login\ I have restarted the local CF server multiple times. I wouldn't be surprised if I have missed something simple. Would any one have any
RE: [cfaussie] Unable to read WSDL from URL
HI All, I removed the use of the virtual directory and my example now works. The reported bug using CFC's and virtual directory exists as far back as version 9 (which I am working on locally, not tested cfinvoke on cf6.1 as yet). I had seen the bug report prior to Dmitry posting, but wasn't sure if it was an avenue I had to explore. Thank you very much for all replies! From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of Charlie Arehart Sent: Saturday, 12 July 2014 1:52 AM To: cfaussie@googlegroups.com Subject: RE: [cfaussie] Unable to read WSDL from URL 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;).loginUserNT(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.commailto:cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of Dmitry Yakhnov Sent: Thursday, July 10, 2014 4:26 AM To: cfaussie@googlegroups.commailto: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=bugid=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.commailto:cfaussie+unsubscr...@googlegroups.com. To post to this group, send email to cfaussie@googlegroups.commailto:cfaussie@googlegroups.com. 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 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.
RE: [cfaussie] Unable to read WSDL from URL
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=bugid=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.
RE: [cfaussie] Unable to read WSDL from URL
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: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of Andrew Scott Sent: Thursday, 10 July 2014 3:39 PM To: cfaussie@googlegroups.com 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?wsdlloginUserNT(NTusername=test, NTpassword=testpassword, NTdomainz=testdomain); Does that work or has the same problem? Regards, Andrew Scott WebSite: http://www.andyscott.id.auhttp://www.andyscott.id.au/ Google+: http://plus.google.com/113032480415921517411 On Thu, Jul 10, 2014 at 3:34 PM, Andrew Scott andr...@andyscott.id.aumailto:andr...@andyscott.id.au 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.auhttp://www.andyscott.id.au/ Google+: http://plus.google.com/113032480415921517411 On Thu, Jul 10, 2014 at 3:29 PM, Scott Thornton scott.thorn...@hnehealth.nsw.gov.aumailto:scott.thorn...@hnehealth.nsw.gov.au 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: cfaussie@googlegroups.commailto:cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.commailto:cfaussie@googlegroups.com] On Behalf Of Andrew Scott Sent: Thursday, 10 July 2014 3:15 PM To: cfaussie@googlegroups.commailto:cfaussie@googlegroups.com 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?wsdlmethod=loginUserNTNTusername=testNTpassword=testpasswordNTdomainz=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 cfaussie+unsubscr...@googlegroups.commailto:cfaussie+unsubscr...@googlegroups.com. To post to this group, send email to cfaussie@googlegroups.commailto:cfaussie@googlegroups.com. 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 cfaussie+unsubscr...@googlegroups.commailto:cfaussie+unsubscr...@googlegroups.com. To post to this group, send email to cfaussie@googlegroups.commailto:cfaussie@googlegroups.com. 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 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.
Re: [cfaussie] Unable to read WSDL from URL
lol... Sorry I dont use Webservices so I lead you down the wrong path. CreateObject(*type*, *urltowsdl[*, *portname*, *wsdl2JavaArgs]*) Is the correct way. Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/113032480415921517411 On Thu, Jul 10, 2014 at 4:00 PM, Scott Thornton scott.thorn...@hnehealth.nsw.gov.au wrote: 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 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 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:* cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] *On Behalf Of *Andrew Scott *Sent:* Thursday, 10 July 2014 3:39 PM *To:* cfaussie@googlegroups.com *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?wsdlloginUserNT(NTusername=test, NTpassword=testpassword, NTdomainz=testdomain); Does that work or has the same problem? Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/113032480415921517411 On Thu, Jul 10, 2014 at 3:34 PM, Andrew Scott andr...@andyscott.id.au 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/ Google+: http://plus.google.com/113032480415921517411 On Thu, Jul 10, 2014 at 3:29 PM, Scott Thornton scott.thorn...@hnehealth.nsw.gov.au 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:* cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] *On Behalf Of *Andrew Scott *Sent:* Thursday, 10 July 2014 3:15 PM *To:* cfaussie@googlegroups.com *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?wsdlmethod= loginUserNTNTusername=testNTpassword=testpasswordNTdomainz=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 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. -- 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. -- 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
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=bugid=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: 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 webservice to provide authentication. So, working locally at present on CF9... My NTLoginService.cfc looks like : cfcomponent displayname=NT Login Service hint=Provides NT Domain Authentication output=false cffunction access=remote name=loginUserNT output=no returntype=struct displayname=Authenticates A User Against A Windows Domain hint=Authenticates a user against a Microsoft Windows Domain cfargument name=NTusername type=string required=yes displayname=username cfargument name=NTpassword type=string required=yes displayname=password cfargument name=NTdomain type=string required=yes displayname=domain cfntauthenticate username=#Arguments.NTusername# password=#arguments.NTpassword# domain=#arguments.NTdomain# result=authUser listgroups=false throwonerror=false cfreturn authUser /cffunction /cfcomponent I hope to return the result of the cfntauthenticate call. I can browse the cfc via URL http://localhost/login/NTLoginService.cfc and see the methods\parameters okay. But if I browse to http://localhost/login/NTLoginService.cfc?wsdl I receive the error: *AXIS error* Sorry, something seems to have gone wrong... here are the details: Fault - Error attempting to create Java skeleton for CFC web service.; nested exception is: coldfusion.xml.rpc.CFCInvocationException: [java.lang.NullPointerException : null] AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException faultSubcode: faultString: Error attempting to create Java skeleton for CFC web service.; nested exception is: coldfusion.xml.rpc.CFCInvocationException: [java.lang.NullPointerException : null] faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}hostname:WSHBILL032 If I try to invoke the webservice with : cfinvoke webservice=http://localhost/login/NTLoginService.cfc?wsdl; method=loginUserNT returnvariable=authentication refreshWSDL=yes cfinvokeargument name=NTusername value=#form.username#/ cfinvokeargument name=NTpassword value=#form.password#/ cfinvokeargument name=NTdomain value=#form.domain#/ /cfinvoke I receive the error: Unable to read WSDL from URL: http://localhost/login/NTLoginService.cfc?wsdl. Error: 500 Internal Server Error. http://localhost/login/ is a IIS virtual directory that points to c:\websites\login\ I have restarted the local CF server multiple times. I wouldn't be surprised if I have missed something simple. Would any one have any ideas on what to do next? Googling hasn't been very informative. Thanks for any assistance. -- 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 mailto:cfaussie+unsubscr...@googlegroups.com. To post to this group, send email to cfaussie@googlegroups.com mailto:cfaussie@googlegroups.com. 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 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.
Re: [cfaussie] Unable to read WSDL from URL
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 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 webservice to provide authentication. So, working locally at present on CF9… My NTLoginService.cfc looks like : cfcomponent displayname=NT Login Service hint=Provides NT Domain Authentication output=false cffunction access=remote name=loginUserNT output=no returntype=struct displayname=Authenticates A User Against A Windows Domain hint=Authenticates a user against a Microsoft Windows Domain cfargument name=NTusername type=string required=yes displayname=username cfargument name=NTpassword type=string required=yes displayname=password cfargument name=NTdomain type=string required=yes displayname=domain cfntauthenticate username=#Arguments.NTusername# password=#arguments.NTpassword# domain=#arguments.NTdomain# result=authUser listgroups=false throwonerror=false cfreturn authUser /cffunction /cfcomponent I hope to return the result of the cfntauthenticate call. I can browse the cfc via URL http://localhost/login/NTLoginService.cfc and see the methods\parameters okay. But if I browse to http://localhost/login/NTLoginService.cfc?wsdl I receive the error: *AXIS error* Sorry, something seems to have gone wrong... here are the details: Fault - Error attempting to create Java skeleton for CFC web service.; nested exception is: coldfusion.xml.rpc.CFCInvocationException: [java.lang.NullPointerException : null] AxisFault faultCode: { http://schemas.xmlsoap.org/soap/envelope/}Server.generalException faultSubcode: faultString: Error attempting to create Java skeleton for CFC web service.; nested exception is: coldfusion.xml.rpc.CFCInvocationException: [java.lang.NullPointerException : null] faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}hostname:WSHBILL032 If I try to invoke the webservice with : cfinvoke webservice= http://localhost/login/NTLoginService.cfc?wsdl; method=loginUserNT returnvariable=authentication refreshWSDL=yes cfinvokeargument name=NTusername value=#form.username#/ cfinvokeargument name=NTpassword value=#form.password#/ cfinvokeargument name=NTdomain value=#form.domain#/ /cfinvoke I receive the error: Unable to read WSDL from URL: http://localhost/login/NTLoginService.cfc?wsdl. Error: 500 Internal Server Error. http://localhost/login/ is a IIS virtual directory that points to c:\websites\login\ I have restarted the local CF server multiple times. I wouldn’t be surprised if I have missed something simple. Would any one have any ideas on what to do next? Googling hasn’t been very informative. Thanks for any assistance. -- 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. -- Paul Kukiel -- 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.
RE: [cfaussie] Unable to read WSDL from URL
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 PM To: cfaussie@googlegroups.com Subject: [cfaussie] Unable to read WSDL from URL 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 webservice to provide authentication. So, working locally at present on CF9. My NTLoginService.cfc looks like : cfcomponent displayname=NT Login Service hint=Provides NT Domain Authentication output=false cffunction access=remote name=loginUserNT output=no returntype=struct displayname=Authenticates A User Against A Windows Domain hint=Authenticates a user against a Microsoft Windows Domain cfargument name=NTusername type=string required=yes displayname=username cfargument name=NTpassword type=string required=yes displayname=password cfargument name=NTdomain type=string required=yes displayname=domain cfntauthenticate username=#Arguments.NTusername# password=#arguments.NTpassword# domain=#arguments.NTdomain# result=authUser listgroups=false throwonerror=false cfreturn authUser /cffunction /cfcomponent I hope to return the result of the cfntauthenticate call. I can browse the cfc via URL http://localhost/login/NTLoginService.cfc and see the methods\parameters okay. But if I browse to http://localhost/login/NTLoginService.cfc?wsdl I receive the error: AXIS error Sorry, something seems to have gone wrong... here are the details: Fault - Error attempting to create Java skeleton for CFC web service.; nested exception is: coldfusion.xml.rpc.CFCInvocationException: [java.lang.NullPointerException : null] AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException faultSubcode: faultString: Error attempting to create Java skeleton for CFC web service.; nested exception is: coldfusion.xml.rpc.CFCInvocationException: [java.lang.NullPointerException : null] faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}hostname:WSHBILL032 If I try to invoke the webservice with : cfinvoke webservice=http://localhost/login/NTLoginService.cfc?wsdl; method=loginUserNT returnvariable=authentication refreshWSDL=yes cfinvokeargument name=NTusername value=#form.username#/ cfinvokeargument name=NTpassword value=#form.password#/ cfinvokeargument name=NTdomain value=#form.domain#/ /cfinvoke I receive the error: Unable to read WSDL from URL: http://localhost/login/NTLoginService.cfc?wsdl. Error: 500 Internal Server Error. http://localhost/login/ is a IIS virtual directory that points to c:\websites\login\ I have restarted the local CF server multiple times. I wouldn't be surprised if I have missed something simple. Would any one have any ideas on what to do next? Googling hasn't been very informative. Thanks for any assistance. -- 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. -- 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
RE: [cfaussie] Unable to read WSDL from URL
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] - coldfusion.jsp.CompilationFailedException: Errors reported by Java compiler: Found 5 semantic errors compiling C:/ColdFusion9/stubs/WS854518475/login/NTLoginServiceLocator.java: 10. public class NTLoginServiceLocator extends org.apache.axis.client.Service implements login.NTLoginService { ^--^ *** Semantic Error: The checked exception RemoteException is not assignable to any exception in the throws clause of the accessible method javax.xml.rpc.Call createCall() throws javax.xml.rpc.ServiceException; declared in type javax.xml.rpc.Service. 10. public class NTLoginServiceLocator extends org.apache.axis.client.Service implements login.NTLoginService { ^--^ *** Semantic Error: The method org.apache.axis.client.Call createCall() throws java.rmi.RemoteException; with protected ac... The specific sequence of files included or processed is: C:\websites\login\login_act.cfm, line: 17 Which refers to: cfif isdefined(form.btnLogin) User Submitted Username cfoutput#form.username#, password #form.password#/cfoutput cfinvoke webservice=http://localhost/login/NTLoginService.cfc?wsdl; method=loginUserNT returnvariable=authUser refreshWSDL=yes cfinvokeargument name=NTusername value=#form.username#/ cfinvokeargument name=NTpassword value=#form.password#/ cfinvokeargument name=NTdomainz value=#form.domain#/ /cfinvoke Where line 17 is cfinvokeargument name=NTdomainz value=#form.domain#/ Please note that I changed the name of the 3rd param to NTdomainz since I first posted, as I was thinking that NTDomain may have been a reserved word. @Andrew Enable Robust Exception Information is selected in CF Admin, and within IE Show friendly HTTP error messages is unticked. ( I assume this is what you are referring too). Thanks, From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of Charlie Arehart Sent: Thursday, 10 July 2014 12:15 PM To: cfaussie@googlegroups.com Subject: RE: [cfaussie] Unable to read WSDL from URL 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.commailto:cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of Scott Thornton Sent: Wednesday, July 09, 2014 8:37 PM To: cfaussie@googlegroups.commailto:cfaussie@googlegroups.com Subject: [cfaussie] Unable to read WSDL from URL 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 webservice to provide authentication. So, working locally at present on CF9... My NTLoginService.cfc looks like : cfcomponent displayname=NT Login Service hint=Provides NT Domain Authentication output=false cffunction access=remote name=loginUserNT output=no returntype=struct displayname=Authenticates A User Against A Windows Domain hint=Authenticates a user against a Microsoft Windows Domain cfargument name=NTusername type=string required=yes displayname=username cfargument name=NTpassword type=string required=yes displayname=password cfargument name=NTdomain type=string required=yes displayname=domain cfntauthenticate username=#Arguments.NTusername# password=#arguments.NTpassword# domain=#arguments.NTdomain# result=authUser listgroups=false throwonerror=false cfreturn authUser /cffunction
Re: [cfaussie] Unable to read WSDL from URL
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 errors are returned to the browser. ColdFusion sets an error status code of 404 if the template is not found and an error status code of 500 for server errors. Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/113032480415921517411 On Thu, Jul 10, 2014 at 2:31 PM, Scott Thornton scott.thorn...@hnehealth.nsw.gov.au wrote: 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] - coldfusion.jsp.CompilationFailedException: Errors reported by Java compiler: Found 5 semantic errors compiling C:/ColdFusion9/stubs/WS854518475/login/NTLoginServiceLocator.java: 10. public class NTLoginServiceLocator extends org.apache.axis.client.Service implements login.NTLoginService { ^--^ *** Semantic Error: The checked exception RemoteException is not assignable to any exception in the throws clause of the accessible method javax.xml.rpc.Call createCall() throws javax.xml.rpc.ServiceException; declared in type javax.xml.rpc.Service. 10. public class NTLoginServiceLocator extends org.apache.axis.client.Service implements login.NTLoginService { ^--^ *** Semantic Error: The method org.apache.axis.client.Call createCall() throws java.rmi.RemoteException; with protected ac... The specific sequence of files included or processed is: C:\websites\login\login_act.cfm, line: 17 Which refers to: cfif isdefined(form.btnLogin) User Submitted Username cfoutput#form.username#, password #form.password#/cfoutput cfinvoke webservice= http://localhost/login/NTLoginService.cfc?wsdl; method=loginUserNT returnvariable=authUser refreshWSDL=yes cfinvokeargument name=NTusername value=#form.username#/ cfinvokeargument name=NTpassword value=#form.password#/ *cfinvokeargument name=NTdomainz value=#form.domain#/* /cfinvoke Where line 17 is *cfinvokeargument name=NTdomainz value=#form.domain#/* Please note that I changed the name of the 3rd param to *NTdomainz *since I first posted, as I was thinking that NTDomain may have been a reserved word. @Andrew Enable Robust Exception Information is selected in CF Admin, and within IE Show friendly HTTP error messages is unticked. ( I assume this is what you are referring too). Thanks, *From:* cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] *On Behalf Of *Charlie Arehart *Sent:* Thursday, 10 July 2014 12:15 PM *To:* cfaussie@googlegroups.com *Subject:* RE: [cfaussie] Unable to read WSDL from URL 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 cfaussie@googlegroups.com] *On Behalf Of *Scott Thornton *Sent:* Wednesday, July 09, 2014 8:37 PM *To:* cfaussie@googlegroups.com *Subject:* [cfaussie] Unable to read WSDL from URL 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 webservice to provide authentication. So, working locally at present on CF9… My NTLoginService.cfc looks like : cfcomponent displayname=NT Login Service hint=Provides NT Domain Authentication output=false cffunction access=remote name=loginUserNT output=no returntype=struct displayname=Authenticates A User Against A Windows Domain hint=Authenticates a user against a Microsoft Windows Domain cfargument name=NTusername type=string required=yes
Re: [cfaussie] Unable to read WSDL from URL
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 to do. Not saying that is the problem, but it maybe a head in the right direction. Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/113032480415921517411 On Thu, Jul 10, 2014 at 2:44 PM, Andrew Scott andr...@andyscott.id.au wrote: 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 errors are returned to the browser. ColdFusion sets an error status code of 404 if the template is not found and an error status code of 500 for server errors. Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/113032480415921517411 On Thu, Jul 10, 2014 at 2:31 PM, Scott Thornton scott.thorn...@hnehealth.nsw.gov.au wrote: 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] - coldfusion.jsp.CompilationFailedException: Errors reported by Java compiler: Found 5 semantic errors compiling C:/ColdFusion9/stubs/WS854518475/login/NTLoginServiceLocator.java: 10. public class NTLoginServiceLocator extends org.apache.axis.client.Service implements login.NTLoginService { ^--^ *** Semantic Error: The checked exception RemoteException is not assignable to any exception in the throws clause of the accessible method javax.xml.rpc.Call createCall() throws javax.xml.rpc.ServiceException; declared in type javax.xml.rpc.Service. 10. public class NTLoginServiceLocator extends org.apache.axis.client.Service implements login.NTLoginService { ^--^ *** Semantic Error: The method org.apache.axis.client.Call createCall() throws java.rmi.RemoteException; with protected ac... The specific sequence of files included or processed is: C:\websites\login\login_act.cfm, line: 17 Which refers to: cfif isdefined(form.btnLogin) User Submitted Username cfoutput#form.username#, password #form.password#/cfoutput cfinvoke webservice= http://localhost/login/NTLoginService.cfc?wsdl; method=loginUserNT returnvariable=authUser refreshWSDL=yes cfinvokeargument name=NTusername value=#form.username#/ cfinvokeargument name=NTpassword value=#form.password#/ *cfinvokeargument name=NTdomainz value=#form.domain#/* /cfinvoke Where line 17 is *cfinvokeargument name=NTdomainz value=#form.domain#/* Please note that I changed the name of the 3rd param to *NTdomainz *since I first posted, as I was thinking that NTDomain may have been a reserved word. @Andrew Enable Robust Exception Information is selected in CF Admin, and within IE Show friendly HTTP error messages is unticked. ( I assume this is what you are referring too). Thanks, *From:* cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] *On Behalf Of *Charlie Arehart *Sent:* Thursday, 10 July 2014 12:15 PM *To:* cfaussie@googlegroups.com *Subject:* RE: [cfaussie] Unable to read WSDL from URL 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 cfaussie@googlegroups.com] *On Behalf Of *Scott Thornton *Sent:* Wednesday, July 09, 2014 8:37 PM *To:* cfaussie@googlegroups.com *Subject:* [cfaussie] Unable to read WSDL from URL 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 webservice to provide authentication. So, working locally at present on CF9… My NTLoginService.cfc looks like : cfcomponent
Re: [cfaussie] Unable to read WSDL from URL
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: http://jeffcoughlin.com/blog/index.cfm/2006/2/27/Using-CF7-SOAP-and-soapexamplecfc http://www.michaels.me.uk/post.cfm/coldfusion-web-services-and-soap Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/113032480415921517411 On Thu, Jul 10, 2014 at 2:46 PM, Andrew Scott andr...@andyscott.id.au wrote: 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 to do. Not saying that is the problem, but it maybe a head in the right direction. Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/113032480415921517411 On Thu, Jul 10, 2014 at 2:44 PM, Andrew Scott andr...@andyscott.id.au wrote: 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 errors are returned to the browser. ColdFusion sets an error status code of 404 if the template is not found and an error status code of 500 for server errors. Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/113032480415921517411 On Thu, Jul 10, 2014 at 2:31 PM, Scott Thornton scott.thorn...@hnehealth.nsw.gov.au wrote: 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] - coldfusion.jsp.CompilationFailedException: Errors reported by Java compiler: Found 5 semantic errors compiling C:/ColdFusion9/stubs/WS854518475/login/NTLoginServiceLocator.java: 10. public class NTLoginServiceLocator extends org.apache.axis.client.Service implements login.NTLoginService { ^--^ *** Semantic Error: The checked exception RemoteException is not assignable to any exception in the throws clause of the accessible method javax.xml.rpc.Call createCall() throws javax.xml.rpc.ServiceException; declared in type javax.xml.rpc.Service. 10. public class NTLoginServiceLocator extends org.apache.axis.client.Service implements login.NTLoginService { ^--^ *** Semantic Error: The method org.apache.axis.client.Call createCall() throws java.rmi.RemoteException; with protected ac... The specific sequence of files included or processed is: C:\websites\login\login_act.cfm, line: 17 Which refers to: cfif isdefined(form.btnLogin) User Submitted Username cfoutput#form.username#, password #form.password#/cfoutput cfinvoke webservice= http://localhost/login/NTLoginService.cfc?wsdl; method=loginUserNT returnvariable=authUser refreshWSDL=yes cfinvokeargument name=NTusername value=#form.username#/ cfinvokeargument name=NTpassword value=#form.password#/ *cfinvokeargument name=NTdomainz value=#form.domain#/* /cfinvoke Where line 17 is *cfinvokeargument name=NTdomainz value=#form.domain#/* Please note that I changed the name of the 3rd param to *NTdomainz *since I first posted, as I was thinking that NTDomain may have been a reserved word. @Andrew Enable Robust Exception Information is selected in CF Admin, and within IE Show friendly HTTP error messages is unticked. ( I assume this is what you are referring too). Thanks, *From:* cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] *On Behalf Of *Charlie Arehart *Sent:* Thursday, 10 July 2014 12:15 PM *To:* cfaussie@googlegroups.com *Subject:* RE: [cfaussie] Unable to read WSDL from URL 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 cfaussie
RE: [cfaussie] Unable to read WSDL from URL
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 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 errors are returned to the browser. ColdFusion sets an error status code of 404 if the template is not found and an error status code of 500 for server errors. Regards, Andrew Scott WebSite: http://www.andyscott.id.auhttp://www.andyscott.id.au/ Google+: http://plus.google.com/113032480415921517411 -- 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.
RE: [cfaussie] Unable to read WSDL from URL
=xsd:string//wsdl:messagewsdl:message name=CFCInvocationExceptionhttp://localhost/login/NTLoginService.cfc?wsdlwsdl:part name=fault type=tns1:CFCInvocationException//wsdl:messagewsdl:message name=loginUserNTResponsehttp://localhost/login/NTLoginService.cfc?wsdlwsdl:part name=loginUserNTReturn type=apachesoap:Map//wsdl:messagewsdl:portType name=NTLoginServicehttp://localhost/login/NTLoginService.cfc?wsdlwsdl:operation name=loginUserNT parameterOrder=NTusername NTpassword NTdomainzhttp://localhost/login/NTLoginService.cfc?wsdlwsdl:input name=loginUserNTRequest message=impl:loginUserNTRequest/wsdl:output name=loginUserNTResponse message=impl:loginUserNTResponse/wsdl:fault name=CFCInvocationException message=impl:CFCInvocationException//wsdl:operation/wsdl:portTypewsdl:binding name=NTLoginService.cfcSoapBinding type=impl:NTLoginServicehttp://localhost/login/NTLoginService.cfc?wsdlwsdlsoap:binding transport=http://schemas.xmlsoap.org/soap/http; style=rpc/wsdl:operation name=loginUserNThttp://localhost/login/NTLoginService.cfc?wsdlwsdlsoap:operation soapAction=/wsdl:input name=loginUserNTRequesthttp://localhost/login/NTLoginService.cfc?wsdlwsdlsoap:body namespace=http://login; use=encoded encodingStyle=http://schemas.xmlsoap.org/soap/encoding///wsdl:inputwsdl:output name=loginUserNTResponsehttp://localhost/login/NTLoginService.cfc?wsdlwsdlsoap:body namespace=http://login; use=encoded encodingStyle=http://schemas.xmlsoap.org/soap/encoding///wsdl:outputwsdl:fault name=CFCInvocationExceptionhttp://localhost/login/NTLoginService.cfc?wsdlwsdlsoap:fault namespace=http://login; name=CFCInvocationException use=encoded encodingStyle=http://schemas.xmlsoap.org/soap/encoding///wsdl:fault/wsdl:operation/wsdl:bindingwsdl:service name=NT Login Servicehttp://localhost/login/NTLoginService.cfc?wsdlwsdl:documentation xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/;Provides NT Domain Authentication /wsdl:documentationwsdl:port name=NTLoginService.cfc binding=impl:NTLoginService.cfcSoapBindinghttp://localhost/login/NTLoginService.cfc?wsdlwsdlsoap:address location=http://localhost/login/NTLoginService.cfc//wsdl:port/wsdl:service/wsdl:definitions From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of Andrew Scott Sent: Thursday, 10 July 2014 2:57 PM To: cfaussie@googlegroups.com Subject: Re: [cfaussie] Unable to read WSDL from URL 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: http://jeffcoughlin.com/blog/index.cfm/2006/2/27/Using-CF7-SOAP-and-soapexamplecfc http://www.michaels.me.uk/post.cfm/coldfusion-web-services-and-soap -- 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.
Re: [cfaussie] Unable to read WSDL from URL
namespace=*http://xml.apache.org/xml-soap http://xml.apache.org/xml-soap*/import namespace=*http://rpc.xml.coldfusion http://rpc.xml.coldfusion*/import namespace=*http://schemas.xmlsoap.org/soap/encoding/ http://schemas.xmlsoap.org/soap/encoding/*/complexType name= *ArrayOf_xsd_string* http://localhost/login/NTLoginService.cfc?wsdl complexContent http://localhost/login/NTLoginService.cfc?wsdl restriction base=*soapenc:Array* http://localhost/login/NTLoginService.cfc?wsdlattribute wsdl:arrayType =*xsd:string[]* ref=*soapenc:arrayType*//restriction/ complexContent/complexTypecomplexType name= *ArrayOfArrayOf_xsd_anyType* http://localhost/login/NTLoginService.cfc?wsdlcomplexContent http://localhost/login/NTLoginService.cfc?wsdlrestriction base= *soapenc:Array* http://localhost/login/NTLoginService.cfc?wsdl attribute wsdl:arrayType=*xsd:anyType[][]* ref=*soapenc:arrayType*// restriction/complexContent/complexType/schema/wsdl:types wsdl:message name=*loginUserNTRequest* http://localhost/login/NTLoginService.cfc?wsdlwsdl:part name= *NTusername* type=*xsd:string*/wsdl:part name=*NTpassword* type= *xsd:string*/wsdl:part name=*NTdomainz* type=*xsd:string*// wsdl:messagewsdl:message name=*CFCInvocationException* http://localhost/login/NTLoginService.cfc?wsdlwsdl:part name=*fault* type=*tns1:CFCInvocationException*//wsdl:messagewsdl:message name= *loginUserNTResponse* http://localhost/login/NTLoginService.cfc?wsdl wsdl:part name=*loginUserNTReturn* type=*apachesoap:Map*// wsdl:messagewsdl:portType name=*NTLoginService* http://localhost/login/NTLoginService.cfc?wsdlwsdl:operation name= *loginUserNT* parameterOrder=*NTusername NTpassword NTdomainz* http://localhost/login/NTLoginService.cfc?wsdlwsdl:input name= *loginUserNTRequest* message=*impl:loginUserNTRequest*/wsdl:output name=*loginUserNTResponse* message=*impl:loginUserNTResponse*/ wsdl:fault name=*CFCInvocationException* message= *impl:CFCInvocationException*//wsdl:operation/wsdl:portType wsdl:binding name=*NTLoginService.cfcSoapBinding* type= *impl:NTLoginService* http://localhost/login/NTLoginService.cfc?wsdl wsdlsoap:binding transport=*http://schemas.xmlsoap.org/soap/http http://schemas.xmlsoap.org/soap/http* style=*rpc*/wsdl:operation name=*loginUserNT* http://localhost/login/NTLoginService.cfc?wsdl wsdlsoap:operation soapAction=*/wsdl:input name=loginUserNTRequest http://localhost/login/NTLoginService.cfc?wsdlwsdlsoap:body namespace=http://login http://login use=encoded encodingStyle=http://schemas.xmlsoap.org/soap/encoding/ http://schemas.xmlsoap.org/soap/encoding///wsdl:inputwsdl:output name=loginUserNTResponse http://localhost/login/NTLoginService.cfc?wsdlwsdlsoap:body namespace=http://login http://login use=encoded encodingStyle=http://schemas.xmlsoap.org/soap/encoding/ http://schemas.xmlsoap.org/soap/encoding///wsdl:outputwsdl:fault name=CFCInvocationException http://localhost/login/NTLoginService.cfc?wsdlwsdlsoap:fault namespace=http://login http://login name=CFCInvocationException use=encoded encodingStyle=http://schemas.xmlsoap.org/soap/encoding/ http://schemas.xmlsoap.org/soap/encoding///wsdl:fault/wsdl:operation/wsdl:bindingwsdl:service name=NT Login Service http://localhost/login/NTLoginService.cfc?wsdlwsdl:documentation xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/ http://schemas.xmlsoap.org/wsdl/Provides NT Domain Authentication /wsdl:documentationwsdl:port name=NTLoginService.cfc binding=impl:NTLoginService.cfcSoapBinding http://localhost/login/NTLoginService.cfc?wsdlwsdlsoap:address location=http://localhost/login/NTLoginService.cfc http://localhost/login/NTLoginService.cfc//wsdl:port/wsdl:service/wsdl:definitions* *From:* cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] *On Behalf Of *Andrew Scott *Sent:* Thursday, 10 July 2014 2:57 PM *To:* cfaussie@googlegroups.com *Subject:* Re: [cfaussie] Unable to read WSDL from URL 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: http://jeffcoughlin.com/blog/index.cfm/2006/2/27/Using-CF7-SOAP-and-soapexamplecfc http://www.michaels.me.uk/post.cfm/coldfusion-web-services-and-soap -- 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. -- 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
RE: [cfaussie] Unable to read WSDL from URL
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: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of Andrew Scott Sent: Thursday, 10 July 2014 3:15 PM To: cfaussie@googlegroups.com 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?wsdlmethod=loginUserNTNTusername=testNTpassword=testpasswordNTdomainz=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 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.
Re: [cfaussie] Unable to read WSDL from URL
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 PM, Scott Thornton scott.thorn...@hnehealth.nsw.gov.au 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:* cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] *On Behalf Of *Andrew Scott *Sent:* Thursday, 10 July 2014 3:15 PM *To:* cfaussie@googlegroups.com *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?wsdlmethod= loginUserNTNTusername=testNTpassword=testpasswordNTdomainz=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 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. -- 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.
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?wsdlloginUserNT(NTusername=test, NTpassword=testpassword, NTdomainz=testdomain); Does that work or has the same problem? Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/113032480415921517411 On Thu, Jul 10, 2014 at 3:34 PM, Andrew Scott andr...@andyscott.id.au 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/ Google+: http://plus.google.com/113032480415921517411 On Thu, Jul 10, 2014 at 3:29 PM, Scott Thornton scott.thorn...@hnehealth.nsw.gov.au 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:* cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] *On Behalf Of *Andrew Scott *Sent:* Thursday, 10 July 2014 3:15 PM *To:* cfaussie@googlegroups.com *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?wsdlmethod= loginUserNTNTusername=testNTpassword=testpasswordNTdomainz=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 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. -- 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.