The wsdl file is just used when you want to know what methods the service exposes and what parameters those methods expect and return. In a case like this, you most probably know this in advance - you are writing a specific implementation of a web services client, not a generic client you can use with any web service (in javascript and dhtml...)
>-----Original Message----- >From: Marc Campeau [mailto:[EMAIL PROTECTED] >Sent: Friday, February 25, 2005 4:01 PM >To: CF-Talk >Subject: Re: Can DHTML call a web service directly > >> > req = new XMLHttpRequest(); >> > req.open("POST", "http://dan:8500/myCFC/cgitest.cfc",true, "", ""); >> > >> > But I get the component browser page, which is strange. >> >> You need to call a method of that CFC ( cgitest.cfc?method=runTest) > >Another thing you could do is to call "cgitest.cfc?wsdl" which returns >the service's WSDL, which you could load into an XML Object, parse to >find methods, create a Service Object from that and use the Service >Object to call methods on the cfc. That would be similar to the >Service class of Flash Remoting. >-- >Marc > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:196527 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

