The 'wtomlinson..com' is showing up in the error message, not from his code (or at least the code he posted here)
I copied his code right from his post into a page and it worked. On Thu, 28 Oct 2004 07:07:49 -0400, Joe Rinehart <[EMAIL PROTECTED]> wrote: > 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'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 > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| The annual ColdFusion User Conference is being held Sat 6/26 - Sun 6/27/04 8am-5pm in the Washington DC Area. http://www.houseoffusion.com/banners/view.cfm?bannerid=44 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182820 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

