Re: [swiz-framework] serviceHelper sending arguments with getData

21 views
Skip to first unread message

Brian Kotek

unread,
Oct 11, 2012, 7:31:10 AM10/11/12
to swiz-fr...@googlegroups.com
Your service call looks incorrect. You don't pass arguments in that sort of key/value format. If you call your CFC from Flex without using ServiceHelper at all, you'll see that it almost certainly still doesn't work. You probably want to go through the documentation on using RemoteObject (with CFC examples): http://help.adobe.com/en_US/flex/accessingdata/WS2db454920e96a9e51e63e3d11c0bf69084-7fda.html


On Thu, Oct 11, 2012 at 5:19 AM, Payman Rezania <m...@dubnet.co.uk> wrote:
I have set up a CF component which returns xml. I have an issue with trying to send arguments to a CF component using the Swiz ServiceHelper. I have tried: 

serviceHelper.executeServiceCall(aService.getData("NewProject", id=2, name=somestring  ), 
addProjectResultHandler, faultHandler);

but that doesnt work - could you pls help?

--
You received this message because you are subscribed to the Google Groups "Swiz Framework" group.
To view this discussion on the web visit https://groups.google.com/d/msg/swiz-framework/-/TH7Pbo2eG6YJ.
To post to this group, send email to swiz-fr...@googlegroups.com.
To unsubscribe from this group, send email to swiz-framewor...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/swiz-framework?hl=en.

Payman Rezania

unread,
Oct 11, 2012, 8:09:16 AM10/11/12
to swiz-fr...@googlegroups.com
thanks for your reply Brian.

I was using the wrong service bean. The correct one allows me to send arguments as:

serviceHelper.executeServiceCall(aService.getData("NewProject", somestring  ), addProjectResultHandler, faultHandler);
Reply all
Reply to author
Forward
0 new messages