I figured this one out... please ignore...

It took so long for the post to reach public I eventually beat my head against 
the wall enough that I figured it out.

When I posted from the web site it said it was moderated.  Is this what is 
slowing things down?



-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Chad 
Gray
Sent: Monday, March 19, 2007 5:30 PM
To: [email protected]
Subject: [flexcoders] basic web service communication help

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>





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links





Reply via email to