Hi,
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/ --->
<cfcomponent>
<cffunction name="firstws" access="remote"
returntype="string">
<cfreturn "Developer Center is great!">
</cffunction>
</cfcomponent>
<!--- simpleTextConsume.cfc/ --->
<cfinvoke
webservice="
http://127.0.0.1:8500/cbweblatest/webservices/simpleText.cfc?wsdl"
method="firstws"
returnvariable="returnedText">
</cfinvoke>
<cfoutput>
#variables.returnedText#
</cfoutput>
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:
http://127.0.0.1:8500/cbweblatest/webservices/simpleText.cfc?wsdl.
WSDL:
http://127.0.0.1:8500/cbweblatest/webservices/simpleText.cfc?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.
Colm