Cheers Wes, when you say it works for you, do you mean the webservice I 
accidentally posted (meant to remove that!) or in general the code works for 
you?

I'm not sure file or directory permissions would be the issue as they're all in 
the same dir. I asked the sysadmin and he screwed his face up and said no :OD

Any other ideas?

I'm about to try it on another site on the same server...

Adrian
Building a DB of errors at  http://cferror.org/

> Hey all, set up a new site and I'm trying to invoke a cfc as a 
> webservice.
> 
> I've put a dump cfc in the webroot to remove any pathing issues. The 
> cfc looks like this:
> 
> <cfcomponent displayname="ws" output="true">
> 
>       <cffunction name="test" returntype="numeric" access="private" 
> output="true">
>               <cfreturn 123>
>       </cffunction>
> 
> </cfcomponent>
> 
> When I browse to any of the following:
> 
> http://domain/ws.cfc?wsdl
> http://domain/ws.cfc
> http://domain/ws.cfc?method=test
> 
> I get a blank page.
> 
> I thought it might have something to do with CFIDE not being a virtual 
> dir so we created that. No joy.
> 
> From a file in the same dir I run:
> 
> <cfset x = CreateObject("component", "ws")>
> <cfdump var="#x#">
> 
> <cfset y = x.test()>
> <cfdump var="#y#">
> 
> <cfinvoke webservice="http://bv2008.internal.thoughtbubble.net/ws.
> cfc?wsdl" method="test" returnvariable="z">
> <cfdump var="#z#">
> 
> Which results in:
> 
> A dump of the component showing the test method.
> 
> 123, the output of the call to the x.test().
> 
> And then an error:
> 
> Unable to read WSDL from URL: http://domain/ws.cfc?wsdl
> 
> Which is fair enough as there is no WSDL being created.
> 
> Looking in the IIS logs we see the requests coming in. Are there any 
> over places we can look at maybe?
> 
> It's on Win 2003, IIS and CF8. URLScan is installed but the logs don't 
> report anything as being blocked.
> 
> Any ideas on what could be happening?
> 
> Thanks.
> 
> Adrian 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313611
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to