Im trying to send data to a web service that has a function in it called 
"echoString" and return a result from the web service.

Here is what I have so far...  

<mx:WebService id="myWebservice" wsdl="http://demo.dev/test.cfc?wsdl";>
        <mx:operation name="echoString">
                <mx:request>
                        <input>
                                hello world
                        </input>
                </mx:request>
        </mx:operation>
</mx:WebService> 

<mx:TextArea id="source" width="100%" height="100%" text="{myWebservice}"  />


What I return in the textarea is:
[WebService  destination="DefaultHTTP" wsdl="http://demo.dev/test.cfc?wsdl"; 
channelSet="null"]

What I want is hello world that I have in my input tags.

Here is what is in the cfc:
<cfcomponent>
<cffunction name = "echoString" returnType = "string" output = "no" access = 
"remote">
        <cfargument name = "input" type = "string">
        <cfreturn #arguments.input#>
</cffunction>
</cfcomponent>


Reply via email to