Make sure you have the operation defined in your Service (here, updateStatus):
<mx:WebService
wsdl="http://path/to/service?wsdl"
id="attendanceDelegate"
result="event.token.resultHandler(event)"
useProxy="false">
<mx:operation name="updateStatus" />
</mx:WebService>
wsdl="http://path/to/service?wsdl"
id="attendanceDelegate"
result="event.token.resultHandler(event)"
useProxy="false">
<mx:operation name="updateStatus" />
</mx:WebService>
In your Delegate, call your WS such as (where updateStatus is the operation on my WS):
public function updateStatus( student:StudentVO ):void {
trace( "\n *** AttendanceDelegate.updateStatus( "+student );
var call:Object = service.updateStatus( student.id , student.AT_ID, student.ATS_SID );
call.resultHandler = responder.onResult;
call.faultHandler = responder.onFault;
}
trace( "\n *** AttendanceDelegate.updateStatus( "+student );
var call:Object = service.updateStatus( student.id , student.AT_ID, student.ATS_SID );
call.resultHandler = responder.onResult;
call.faultHandler = responder.onFault;
}
Scott
On 7/3/06, Uwe Raddatz <[EMAIL PROTECTED]> wrote:
Hi,
may someone tell me what's the right way to pass some parameters to a SOAP webservice call in Cairngorm (version 0.99)?
What I need is similar to switching the login method call in the Login sample application from RemoteObject to SOAP webservice.
Thanks.
ur
--
Uwe Raddatz
[EMAIL PROTECTED]
--
: : ) Scott __._,_.___
--
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
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
__,_._,___
- [flexcoders] Cairngorm: Calling webservice operation with para... Uwe Raddatz
- Re: [flexcoders] Cairngorm: Calling webservice operation ... slangeberg
Reply via email to

