I got it to work. I had to create a folder named i:\inetpub\wwwroot\webservices (my web site runs under i:\inetpub\wwwroot\phanet with http://intratest ) Then go into cf admin and create a mapping to webservices named webservices.
Then use http://webdev/webservices/test.cfc?wsdl http://webdev points to i:\inetpub\wwroot I use hostheaders to point to different folders with iis 6.0. Anyway works now. ----- Original Message ----- From: "David Brown" <[EMAIL PROTECTED]> To: "CF-Talk" <[email protected]> Sent: Thursday, August 04, 2005 11:29 PM Subject: Web Service does not work > Here is my cfc named test.cfc in the root folder of web server: > <cfcomponent> > <cffunction name="echoString" returnType="string" access="remote" > output="no"> > <cfargument name="input" type="string"> > <cfreturn #arguments.input#> > </cffunction> > </cfcomponent> > > here is my index.cfm file in /flashremote/ of the web server. > > <cfinvoke webservice="http://intratest/test.cfc?wsdl" method="echoString" > returnvariable="theecho"> > <cfinvokeargument name="input" value="David"> > </cfinvoke> > > <cfoutput>#theecho#</cfoutput> > > Here is the error I get. > I am running cf mx 7 update 3 standard version. > > > Name: http://intratest/test.cfc?wsdl. WSDL: > http://intratest/test.cfc?wsdl. org.xml.sax.SAXException: Fatal Error: > URI=null Line=11: The element type "META" must be terminated by the > matching end-tag "". 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. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:213827 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=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

