2 Replies Latest reply on Nov 12, 2007 12:53 PM by otisme

    Web Service Remote Access


      Working locally I can access a web service with the following 2 files in directory root, no mappings, no config of web service in Administrator:
      <!--- /simpleTextConsume.cfm/ --->

      <cffunction name="firstws" access="remote" returntype="string">
      <cfreturn "Developer Center is great!">
      <!--- simpleTextConsume.cfc/ --->


      The error I get when I try to run http://www.myurl.com\webservices\simpleTextConsume.cfm is the following:
      Could not generate stub objects for web service invocation.
      Name: WSDL: org.xml.sax.SAXException: Fatal Error: URI=null Line=1: Next character must be ">" terminating comment ....

      I've played around with trying to use a mapping and creating a webservice in admin, but get similar error, 'cant create..'

      The server in question is a linux based virtual server, non enterprise edition of CF 6.1, However, I use CF8 locally, everything locally tests fine with the above, also Flash datagrid with SQL testing works fine locally.

      The above not working is a major block, any pointers appreciated.