Will,

Change "wtomlinson..com" to "wtomlinson.com" :)

-joe


On Thu, 28 Oct 2004 06:40:00 -0400, Will Tomlinson <[EMAIL PROTECTED]> wrote:
> I'm learning about using Web Services and I'm getting an error that doesn't make 
> sense. Maybe someone could shed some light on the problem?
> 
> I'm using a CFC to simply retrieve some zip codes from a db.
> 
> <cfcomponent>
>         <cffunction name="myFunction" access="remote" returntype="query">
>                 <cfset getzips ="">
>                 <cfquery name="getzips" datasource="#DSN#" maxrows="20">
>                 SELECT zipcode FROM tblzipcodes
>                 </cfquery>
>                 <cfreturn getzips>
>         </cffunction>
> </cfcomponent>
> 
> Then I'm invoking it using this:
> 
> <cfinvoke webservice="http://www.wtomlinson.com/queryCFC.cfc?wsdl"; 
> method="myfunction"
> returnvariable="returnedquery">
> </cfinvoke>
> 
> <cfoutput query="returnedquery">#zipcode#<br></cfoutput>
> 
> It seems to work fine if the invocation is on my server, but when I have someone to 
> place it on their server to call my web service, there's an error:
> 
> http://gtcc-it.org/web-service.cfm
> 
> Could not generate stub objects for web service invocation.
> Name: http://www.wtomlinson..com/queryCFC.cfc?wsdl. WSDL: 
> http://www.wtomlinson..com/queryCFC.cfc?wsdl. java.net.UnknownHostException: 
> www.wtomlinson..com: www.wtomlinson..com It is recommended that you use a web 
> browser to retrieve and examine the requested WSDL document for correctness. If the 
> requested WSDL document can&apos;t be retrieved or it is dynamically generated, it 
> is likely that the target web service has programming errors.
> 
> I'm assuming the XML file CF is creating
> is erroring? Does anyone have any ideas?
> 
> Thanks,
> Will
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF 
community.
http://www.houseoffusion.com/banners/view.cfm?bannerid=35

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182798
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to