/t5/coldfusion-discussions/pulling-info-out-of-service/td-p/829538Feb 15, 2009
Feb 15, 2009
Copy link to clipboard
Copied
I found a quick cfc for creating a service in CF8:
<cfcomponent>
<cffunction name="sayHello" access="remote" hint="I say
hi!" returntype="string">
<cfargument name="to" hint="Whom to say hi to."
required="false" default="world" type="string" />
<cfreturn "Hello, #arguments.to#" />
</cffunction>
</cfcomponent>
/t5/coldfusion-discussions/pulling-info-out-of-service/m-p/829539#M76644Feb 15, 2009
Feb 15, 2009
Copy link to clipboard
Copied
what sort of 'user-friendly view' are you talking about?
you want to present the ws structure details to the user?
or you want the user to enter a name and receive "Hello,
[name]!"
response on the page?