grrr...and yet another post by me today solved before any response ;-) I changed the end of the URL of the webservice from: .wsdl to .cfc?wsdl
It works..but the examples I see say to use .wsdl ?? Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com ----- Original Message ----- From: "Bryan Stevenson" <[EMAIL PROTECTED]> To: "CF-Talk" <[email protected]> Sent: Wednesday, April 13, 2005 4:02 PM Subject: Webservices and stub objects error > Hey All, > > I have a VERY simple CFC with one method that runs a standard SELECT > query. > > It works fine called as a component..but as a ebservice I get this error > (loks like lots of folks have had it...just not finding an obvious > solution): > > Could not generate stub objects for web service invocation. > Name: http://127.0.0.1/internal/smaple/test.wsdl. WSDL: > http://127.0.0.1/internal/sample/test.wsdl. org.xml.sax.SAXException: > Fatal Error: URI=null Line=1: White spaces are required between publicId > and systemId. 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 calling code: > > <cfinvoke > webservice="http://127.0.0.1/internal/sample/test.wsdl" > method="GetArtList" > returnvariable="qArtList"> > <cfinvokeargument name="AlphaFilter" value="M"> > </cfinvoke> > > Here's the CFC: > <cfcomponent> > > <!--- Function to return a list of art ---> > <cffunction name="GetArtList" returntype="query" access="remote"> > > <cfargument name="AlphaFilter" required="yes"> > > <cfquery name="qArtList" datasource="CFArtGallery"> > SELECT * > FROM Art > WHERE 1=1 > <cfif Len(Trim(ARGUMENTS.AlphaFilter))> > AND ArtName LIKE '#Trim(ARGUMENTS.AlphaFilter)#%' > </cfif> > </cfquery> > > <cfreturn qArtList> > > </cffunction> > > </cfcomponent> > > > Somebody please educate me ;-) > > FYI this is on CFMX 7 for J2EE Developer edition running on localhost > > Cheers > > > Bryan Stevenson B.Comm. > VP & Director of E-Commerce Development > Electric Edge Systems Group Inc. > phone: 250.480.0642 > fax: 250.480.1264 > cell: 250.920.8830 > e-mail: [EMAIL PROTECTED] > web: www.electricedgesystems.com > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202702 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

