Ian, Use this tool to test the webservice, it will generate valid SOAP requests to help you diagnose any issues. http://www.soapui.org/
This article may also help you if you are having trouble consuming a SOAP service from CF. http://russ.michaels.me.uk/index.cfm/2007/5/18/ColdFusion-Web-Services-and-SOAP On Tue, Mar 15, 2011 at 4:12 PM, Ian Vaughan < [email protected]> wrote: > > Hi Dave > > I ran the http://domain/EyeTest_ws.asmx url path from my pc and from the > server where CF is installed but could not test it as it says the form is > only available for requests from the local machine. > > The service description looks fine though > > -----Original Message----- > From: Dave Watts [mailto:[email protected]] > Sent: 15 March 2011 15:27 > To: cf-talk > Subject: Re: Errors calling a asmx web service > > > > Yes the .asmx file looks fine, could it be a user authentication issue? > > Probably not. Does a visit to the asmx file in your browser require > authentication? > > > If so how do you register the web service? Is it done in CF Admin - and > > how does this change path that is called? At the moment it looks like > > this? > > > > <cfinvoke > > method="listBooks" > > returnvariable="reference" > > webservice="http://domain/EyeTest_ws.asmx?wsdl"> > > CF directly support HTTP Basic Authentication with web services - you > can specify a username and password in the CF Administrator, and give > your web service a friendly name, and use that name in your CFINVOKE > instead. But again, this doesn't sound like an authentication issue. > > You say the WSDL looks fine. How exactly did you test? Did you test > this from the web server running CF? Are you specifying a > fully-qualified path? > > Dave Watts, CTO, Fig Leaf Software > http://www.figleaf.com/ > http://training.figleaf.com/ > > Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on > GSA Schedule, and provides the highest caliber vendor-authorized > instruction at our training centers, online, or on > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:343047 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

