I don't think you are following me. You seem to think that as long as it is
in some special directory where it works as a component that it is going to
automatically work remotely and that just isn't the case. when you access it
as a web service, you are going out of the server and back in through the
web server (web server being apache or iis or whatever you are using) to
call a URL (not a file).

You've already told us that you get a 404 when you try to CFHTTP the WSDL
URL, so I assure you that CF is getting the same thing when it tries to
invoke it as a web service.

Drop an HTML file in the same directory and try to access that URL from a
browser "ON THE SERVER". If that works, then maybe you are simply calling
the web service incorrectly (in which case... show us some code). If it
doesn't work, you can only blame the web server for not knowing how to find
it (since it cuts CF out of the loop).

Again, do this from the machine running CF since it is the one that needs to
know how to resolve the URL.

.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
http://cf4em.com




-----Original Message-----
From: Shannon Rhodes [mailto:[email protected]] 
Sent: Saturday, September 24, 2011 6:20 PM
To: cf-talk
Subject: Re: WSDL 404 Error


Right.  It can't find it.  That's my problem:  ColdFusion is supposed to
create it automatically:

"ColdFusion automatically creates a WSDL file for any component referenced
as a web service. For example, if you have a component named echo.cfc in
your web root directory, you can view its corresponding WSDL file by
requesting the component as follows: http://localhost/echo.cfc?wsdl";

http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=webservice
s_19.html

So folks, does anyone know what to do when ColdFusion fails to create the
WSDL??


>If you can't take the WSDL URL for your web service and load it in a
browser
>ON the server, CF can't load it either.
>
>The 404 from your CFHTTP call is a good indication that CF simply can't
find
>it.
>
>
>.:.:.:.:.:.:.:.:.:.:.:.:.
>Bobby Hartsfield
>http://acoderslife.com
>http://cf4em.com
>
>
>
>
>Why would there be an issue resolving the domain?  CFM files work fine from
>the same directory when called via url.  Is there some other step to making
>a web service available that I'm missing here? 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347692
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to