Shouldn't you be specifying "?WSDL" on your CFC URL in order to  
generate a SOAP interface?

We have Perl (SOAP::Lite) calling CF successfully here...

On Friday, Jan 17, 2003, at 15:04 US/Pacific, Brad Howerter wrote:

> Has anyone called a CFC service from perl?  I've written a cfc that I  
> can
> use with a url:
>
> http://webftc18/com/woodward/example.cfc?method=hi
>
> But I can't get perl to access it, I always get 'SOAP call failed: 401
> Access Denied at C:\Perl\bin\BTS.pl line 8'
>
> My perl program is simply:
>
> #!perl -w
> use SOAP::Lite
>       proxy => 'http://webftc18/com/woodward/example.cfc',
>       uri => 'http://woodward.com/examples'
>       ;
>
> my $soap1 = new SOAP::Lite;
> print $soap1->hi->result;
>
>
>
> Here's my coldfusion CFC code:
> <cfcomponent>
>   <cffunction name="hi" access="remote">
>      <cfreturn 'hello, world'>
>   </cffunction>
> </cfcomponent>
>
>
> If I call real world examples from my perl program (instead of the one  
> I
> wrote), it works okay.
>
> ***
> The information in this e-mail is confidential and intended solely for  
> the
> individual or entity to whom it is addressed. If you have received this
> e-mail in error please notify the sender by return e-mail, delete this
> e-mail, and refrain from any disclosure or action based on the  
> information.
> ****
>
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to