Re: [cfaussie] Unable to read WSDL from URL

2014-08-27 Thread Paul Kukiel
It was CF10 when they upgraded.


On 27 Aug 2014, at 4:01 pm, Gavin Baumanis  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 
>  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 :
> 
>  
> 
> 
> 
>  
> 
>  
> 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" >
> 
>
> 
>  required="yes" displayname="username">
> 
>  required="yes" displayname="password">
> 
>  required="yes" displayname="domain"> 
> 
>
> 
>  username="#Arguments.NTusername#"
> 
> 
> password="#arguments.NTpassword#"
> 
> domain="#arguments.NTdomain#"
> 
> result="authUser"
> 
> listgroups="false"
> 
> throwonerror="false">  
> 
>
> 
> 
> 
>
> 
> 
> 
> 
> 
>  
> 
> 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 :
> 
>  
> 
>  
> 
> webservice="http://localhost/login/NTLoginService.cfc?wsdl";
> 
> method="loginUserNT"
> 
> returnvariable="authentication"
> 
> refreshWSDL="yes">
> 
>
> 
>  value="#form.username#"/>
> 
>  value="#form.password#"/>
> 
>   value="#form.domain#"/>
> 
>
> 
> 
> 
>  
> 
> 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 
> "cfaussi

Re: [cfaussie] Unable to read WSDL from URL

2014-08-27 Thread Gavin Baumanis
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 :
>>
>>  
>>
>> 
>>
>>  
>>
>> >
>> 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" >
>>
>> 
>>
>> > type="string" required="yes" displayname="username">
>>
>> > type="string" required="yes" 
>> displayname="password"> 
>>
>> > type="string" required="yes" displayname="domain">  
>>
>> 
>>
>> > username="#Arguments.NTusername#" 
>>
>> 
>> password="#arguments.NTpassword#" 
>>
>> 
>> domain="#arguments.NTdomain#" 
>>
>> result="authUser" 
>>
>> listgroups="false" 
>>
>> 
>> throwonerror="false">   
>>
>> 
>>
>> 
>>
>> 
>>
>> 
>>
>> 
>>
>>  
>>
>> 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 :
>>
>>  
>>
>> >
>> webservice="
>> http://localhost/login/NTLoginService.cfc?wsdl";
>>
>> method="loginUserNT"
>>
>> returnvariable="authentication"
>>
>> refreshWSDL="yes">
>>
>> 
>>
>> > value="#form.username#"/>
>>
>> > value="#form.password#"/>
>>
>> >  value="#form.domain#"/>
>>
>> 
>>
>> 
>>
>>  
>>
>> 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.
>>
>> 

RE: [cfaussie] Unable to read WSDL from URL

2014-07-13 Thread Scott Thornton
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.com<mailto:cfaussie@googlegroups.com> 
[mailto:cfaussie@googlegroups.com] On Behalf Of Dmitry Yakhnov
Sent: Thursday, July 10, 2014 4:26 AM
To: cfaussie@googlegroups.com<mailto: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&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:


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

2014-07-11 Thread Charlie Arehart
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:

 



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

2014-07-10 Thread Dmitry Yakhnov

Hi Scott,

This seems to be a well known bug:

https://bugbase.adobe.com/index.cfm?event=bug&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:

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 :




displayname="Authenticates A User 
Against A Windows Domain"


hint="Authenticates a user against a 
Microsoft Windows Domain" >


displayname="username">


displayname="password">


displayname="domain">



password="#arguments.NTpassword#"



domain="#arguments.NTdomain#"


result="authUser"

listgroups="false"

throwonerror="false">







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 :


webservice="http://localhost/login/NTLoginService.cfc?wsdl";


method="loginUserNT"

returnvariable="authentication"

refreshWSDL="yes">





value="#form.domain#"/>




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

2014-07-09 Thread Andrew Scott
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,
>
>
>
> 
>
> test = 
> createObject("webservice","http://localhost/login/NTLoginService";).loginUserNT(NTusername='username',
> NTpassword='pwd', NTdomainz='domain');
>
> 
>
>
>
> Returns
>
> *Unable to read WSDL from URL: http://localhost/login/NTLoginService
> <http://localhost/login/NTLoginService>. *
>
> 
>
> test = createObject("webservice","
> http://localhost/login/NTLoginService?wsdl";).loginUserNT(NTusername='username',
> NTpassword='pwd', NTdomainz='domain');
>
> 
>
>
>
> 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?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/
>
> Google+:  http://plus.google.com/113032480415921517411
>
>
>
>
>
> On Thu, Jul 10, 2014 at 3:34 PM, Andrew Scott 
> 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?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
&g

RE: [cfaussie] Unable to read WSDL from URL

2014-07-09 Thread Scott Thornton

HI,


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


Returns
Unable to read WSDL from URL: http://localhost/login/NTLoginService.

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


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?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 
mailto: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<http://www.andyscott.id.au>/
Google+:  http://plus.google.com/113032480415921517411


On Thu, Jul 10, 2014 at 3:29 PM, Scott Thornton 
mailto: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> 
[mailto:cfaussie@googlegroups.com<mailto:cfaussie@googlegroups.com>] On Behalf 
Of Andrew Scott
Sent: Thursday, 10 July 2014 3:15 PM

To: cfaussie@googlegroups.com<mailto: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?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 
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<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

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?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/
Google+:  http://plus.google.com/113032480415921517411



On Thu, Jul 10, 2014 at 3:34 PM, Andrew Scott 
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?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 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

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 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?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 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

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 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?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 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

2014-07-09 Thread Andrew Scott
wsdl><
> complexType name="*QueryBean*">
> <http://localhost/login/NTLoginService.cfc?wsdl>
> <http://localhost/login/NTLoginService.cfc?wsdl> name="*data*" type="*impl:ArrayOfArrayOf_xsd_anyType*" nillable="*true*"/>
> http://login*";
> xmlns="*http://www.w3.org/2001/XMLSchema*";>
> <http://localhost/login/NTLoginService.cfc?wsdl> namespace="*http://xml.apache.org/xml-soap
> <http://xml.apache.org/xml-soap>*"/> namespace="*http://rpc.xml.coldfusion
> <http://rpc.xml.coldfusion>*"/> namespace="*http://schemas.xmlsoap.org/soap/encoding/
> <http://schemas.xmlsoap.org/soap/encoding/>*"/> <http://localhost/login/NTLoginService.cfc?wsdl><
> complexContent> <http://localhost/login/NTLoginService.cfc?wsdl><
> restriction base="*soapenc:Array*">
> <http://localhost/login/NTLoginService.cfc?wsdl> ="*xsd:string[]*" ref="*soapenc:arrayType*"/> complexContent>
> <http://localhost/login/NTLoginService.cfc?wsdl>
> <http://localhost/login/NTLoginService.cfc?wsdl> <http://localhost/login/NTLoginService.cfc?wsdl><
> attribute wsdl:arrayType="*xsd:anyType[][]*" ref="*soapenc:arrayType*"/> restriction><
> wsdl:message name="*loginUserNTRequest*">
> <http://localhost/login/NTLoginService.cfc?wsdl> wsdl:message>
> <http://localhost/login/NTLoginService.cfc?wsdl> type="*tns1:CFCInvocationException*"/> <http://localhost/login/NTLoginService.cfc?wsdl><
> wsdl:part name="*loginUserNTReturn*" type="*apachesoap:Map*"/> wsdl:message>
> <http://localhost/login/NTLoginService.cfc?wsdl>
> <http://localhost/login/NTLoginService.cfc?wsdl> name="*loginUserNTResponse*" message="*impl:loginUserNTResponse*"/><
> wsdl:fault name="*CFCInvocationException*" message="
> *impl:CFCInvocationException*"/><
> 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*"/> name="*loginUserNT*"> <http://localhost/login/NTLoginService.cfc?wsdl><
> wsdlsoap:operation soapAction="*"/>
> <http://localhost/login/NTLoginService.cfc?wsdl> namespace="http://login <http://login>" use="encoded"
> encodingStyle="http://schemas.xmlsoap.org/soap/encoding/
> <http://schemas.xmlsoap.org/soap/encoding/>"/> name="loginUserNTResponse">
> <http://localhost/login/NTLoginService.cfc?wsdl> namespace="http://login <http://login>" use="encoded"
> encodingStyle="http://schemas.xmlsoap.org/soap/encoding/
> <http://schemas.xmlsoap.org/soap/encoding/>"/> name="CFCInvocationException">
> <http://localhost/login/NTLoginService.cfc?wsdl> namespace="http://login <http://login>" name="CFCInvocationException"
> use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/
> <http://schemas.xmlsoap.org/soap/encoding/>"/> name="NT Login Service">
> <http://localhost/login/NTLoginService.cfc?wsdl> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/
> <http://schemas.xmlsoap.org/wsdl/>">Provides NT Domain Authentication
>  binding="impl:NTLoginService.cfcSoapBinding">
> <http://localhost/login/NTLoginService.cfc?wsdl> location="http://localhost/login/NTLoginService.cfc
> <http://localhost/login/NTLoginService.cfc>"/>*
>
>
>
> *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.
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

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:

http://localhost/login/NTLoginService.cfc?wsdl";
method="loginUserNT"
returnvariable="authUser"
refreshWSDL="yes">








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 access cannot replace the 
accessible method "javax.xml.rpc.Call createCall() th






WSDL:


http://www.w3.org/2001/XMLSchema"; 
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"; 
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; 
xmlns:tns1="http://rpc.xml.coldfusion"; 
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"; 
xmlns:intf="http://login"; xmlns:impl="http://login"; 
xmlns:apachesoap="http://xml.apache.org/xml-soap"; 
targetNamespace="http://login";><http://localhost/login/NTLoginService.cfc?wsdl>

<http://localhost/login/NTLoginService.cfc?wsdl>http://xml.apache.org/xml-soap"; 
xmlns="http://www.w3.org/2001/XMLSchema";><http://localhost/login/NTLoginService.cfc?wsdl>http://rpc.xml.coldfusion"/>http://login"/>http://schemas.xmlsoap.org/soap/encoding/"/><http://localhost/login/NTLoginService.cfc?wsdl><http://localhost/login/NTLoginService.cfc?wsdl><http://localhost/login/NTLoginService.cfc?wsdl><http://localhost/login/NTLoginService.cfc?wsdl>http://rpc.xml.coldfusion"; 
xmlns="http://www.w3.org/2001/XMLSchema";><http://localhost/login/NTLoginService.cfc?wsdl>http://xml.apache.org/xml-soap"/>http://login"/>http://schemas.xmlsoap.org/soap/encoding/"/><http://localhost/login/NTLoginService.cfc?wsdl><http://localhost/login/NTLoginService.cfc?wsdl><http://localhost/login/NTLoginService.cfc?wsdl>http://login"; 
xmlns="http://www.w3.org/2001/XMLSchema";><http://localhost/login/NTLoginService.cfc?wsdl>http://xml.apache.org/xml-soap"/>http://rpc.xml.coldfusion"/>http://schemas.xmlsoap.org/soap/encoding/"/><http://localhost/login/NTLoginService.cfc?wsdl><http://localhost/login/NTLoginService.cfc?wsdl><http://localhost/login/NTLoginService.cfc?wsdl><http://localhost/login/NTLoginService.cfc?wsdl><http://localhost/login/NTLoginService.cfc?wsdl><http://localhost/login/NTLoginService.cfc?wsdl><http://localhost/login/NTLoginService.cfc?wsdl><http://localhost/login/NTLoginService.cfc?wsdl><http://localhost/login/NTLoginService.cfc?wsdl><http://localhost/login/NTLoginService.cfc?wsdl><http://localhost/login/NTLoginService.cfc?wsdl><http://localhost/login/NTLoginService.cfc?wsdl>http://schemas.xmlsoap.org/soap/http"; style="rpc"/><http://localhost/login/NTLoginService.cfc?wsdl><http://localhost/login/NTLoginService.cfc?wsdl>http://login"; use="encoded" 
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/><http://localhost/login/NTLoginService.cfc?wsdl>http://login"; use="encoded" 
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/><http://localhost/login/NTLoginService.cfc?wsdl>http://login"; name="CFCInvocationException" use="encoded" 
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/><http://localhost/login/NTLoginService.cfc?wsdl>http://schemas.xmlsoap.org/wsdl/";>Provides NT Domain Authentication 
<http://localhost/login/NTLoginService.cfc?wsdl>http://localhost/login/NTLoginService.cfc"/>

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

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<http://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

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:
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 
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 
> 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:
>>>
>>>
>>>
>>> 
>>>
>>>
>>>
>>>
>>>
>>> User Submitted Username #form.username#,
>>> password #form.password#
>>>
>>>
>>>
>>> >>
>>> webservice="
>>> http://localhost/login/NTLoginService.cfc?wsdl";
>>>
>>> method="loginUserNT"
>>>
>>> returnvariable="authUser"
>>>
>>> refreshWSDL="yes">
>>>
>>>
>>>
>>> >>      value="#form.username#"/>
>>>
>>>  

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
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 
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:
>>
>>
>>
>> 
>>
>>
>>
>>
>>
>> User Submitted Username #form.username#,
>> password #form.password#
>>
>>
>>
>> >
>> webservice="
>> http://localhost/login/NTLoginService.cfc?wsdl";
>>
>> method="loginUserNT"
>>
>> returnvariable="authUser"
>>
>> refreshWSDL="yes">
>>
>>
>>
>> >  value="#form.username#"/>
>>
>> >   value="#form.password#"/>
>>
>> *>value="#form.domain#"/>*
>>
>>
>>
>>     
>>
>>
>>
>> Where line 17 is *>   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:

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 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:
>
>
>
> 
>
>
>
>
>
> User Submitted Username #form.username#,
> password #form.password#
>
>
>
> 
> webservice="
> http://localhost/login/NTLoginService.cfc?wsdl";
>
> method="loginUserNT"
>
> returnvariable="authUser"
>
> refreshWSDL="yes">
>
>
>
>   value="#form.username#"/>
>
>value="#form.password#"/>
>
> *value="#form.domain#"/>*
>
>
>
> 
>
>
>
> Where line 17 is *   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
> ] *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…
>
>

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] - 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:




User Submitted Username #form.username#, password 
#form.password#

http://localhost/login/NTLoginService.cfc?wsdl";
method="loginUserNT"
returnvariable="authUser"
refreshWSDL="yes">







Where line 17 is 

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> 
[mailto:cfaussie@googlegroups.com] On Behalf Of Scott Thornton
Sent: Wednesday, July 09, 2014 8:37 PM
To: cfaussie@googlegroups.com<mailto: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 :
















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 :

http://localhost/login/NTLoginService.cfc?wsdl";
method="loginUserNT"
returnvariable="authentication"
refreshWSDL="yes">


 

Re: [cfaussie] Unable to read WSDL from URL

2014-07-09 Thread Andrew Scott
Also on top of what Charlie has said, you might want to turn on robust
exceptions for local development. I think you will need to turn off or on
the HTTP status codes as well.

What that does is send the error back to IIS so the browser can display it,
this may help see the error on the screen rather than searching through the
logs for it.

But as Paul stated, you would be far better using Restful services rather
than web services.

Regards,
Andrew Scott
WebSite: http://www.andyscott.id.au/
Google+:  http://plus.google.com/113032480415921517411



On Thu, Jul 10, 2014 at 12:14 PM, Charlie Arehart <
charlie_li...@carehart.org> wrote:

> 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 :
>
>
>
> 
>
>
>
> 
> 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" >
>
>
>
>  type="string" required="yes" displayname="username">
>
>  type="string" required="yes"
> displayname="password">
>
>  type="string" required="yes" displayname="domain">
>
>
>
>  username="#Arguments.NTusername#"
>
>
> password="#arguments.NTpassword#"
>
>
> domain="#arguments.NTdomain#"
>
> result="authUser"
>
> listgroups="false"
>
>
> throwonerror="false">
>
>
>
> 
>
>
>
> 
>
> 
>
>
>
> 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 :
>
>
>
> 
> webservice="
> http://localhost/login/NTLoginService.cfc?wsdl";
>
> method="loginUserNT"
>
> returnvariable="authentication"
>
> refreshWSDL="yes">
>
>
>
>  value="#form.username#"/>
>
>  value="#form.password#"/>
>
>   

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 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 :

 



 







 

  



   











 

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 :

 

http://localhost/login/NTLoginService.cfc?wsdl";

method="loginUserNT"

returnvariable="authentication"

refreshWSDL="yes">













 

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

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 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 :
>
>
>
> 
>
>
>
> 
> 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" >
>
>
>
>  type="string" required="yes" displayname="username">
>
>  type="string" required="yes"
> displayname="password">
>
>  type="string" required="yes" displayname="domain">
>
>
>
>  username="#Arguments.NTusername#"
>
>
> password="#arguments.NTpassword#"
>
>
> domain="#arguments.NTdomain#"
>
> result="authUser"
>
> listgroups="false"
>
>
> throwonerror="false">
>
>
>
> 
>
>
>
> 
>
> 
>
>
>
> 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 :
>
>
>
> 
> webservice="
> http://localhost/login/NTLoginService.cfc?wsdl";
>
> method="loginUserNT"
>
> returnvariable="authentication"
>
> refreshWSDL="yes">
>
>
>
>  value="#form.username#"/>
>
>  value="#form.password#"/>
>
>   value="#form.domain#"/>
>
>
>
> 
>
>
>
> 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.


[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 webservice to 
provide authentication.

So, working locally at present on CF9...

My NTLoginService.cfc looks like :
















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 :

http://localhost/login/NTLoginService.cfc?wsdl";
method="loginUserNT"
returnvariable="authentication"
refreshWSDL="yes">







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.