> I've created a mapping in CFMX7 called /webservices which > points to the dir where the cfc's are located. Regardless if > I call webservice directly from the mapping, or use an > absolute URL, I get this message (mapping shown): > > Could not generate stub objects for web service invocation. > Name: webservices/SimpleCreditRating.cfc?wsdl. WSDL: > webservices/SimpleCreditRating.cfc?wsdl. > java.net.MalformedURLException: no > protocol: webservices/SimpleCreditRating.cfc?wsdl 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. > > Here's the invocation: > > <cfinvoke > webservice="http://www.mysite.com/cf-inf/cfcomponents/SimpleCr > editRating.cfc?wsdl" > method="getCreditRating" returnvariable="creditRating" > ssn="000000001" /> > > So how am I supposed to look at the WSDL if it won't work?
What happens if you try invoking the WSDL URL (http://www.mysite.com/cf-inf/cfcomponents/SimpleCreditRating.cfc?wsdl) directly from within a browser? That's what the error message suggests you do. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212091 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

