Page 1 of 1

calling webservice from action script extension

Posted: 24 May 2010, 13:31
by mhdside
I`m facing trouble with calling web service from an action script extension. I would appreciate a lot if some 1 can provide sample code for this process (java classes for the web service client + server-side actionscript extension snippet that calls the java web service client and call a method on it. I think this process should be a sticky or a document page. what do you think Lapo?

Posted: 20 Dec 2010, 13:14
by mhdside
any help?

Posted: 21 Dec 2010, 14:51
by Lapo
I am sorry but this goes over the scope of this forum. What you are asking requires several hours of research and work which we are not able to provide in this context.

The steps to follow are:
1- download the webservice libraries for Java. There's tons of them, some lighter, some heavier but the choice is really vast. A quick Google search will return lots of results

2- Implement the webservice manage in Java. Since web services use different types I don't recomment using Actionscript. First create your Java webservice manager and then you will be able to use it for Actionscript too

3- Read our guide in the documentation on how to use Java classes in Actionscript code. Chapter 6.6 --> http://smartfoxserver.com/docs/

If you don't think you have the technical ability to do it yourself you can post a job request for consulting in our job-posting section. Or you can get in touch with us and we'll recommend partner companies that can do this for you.

Hope it helps

Posted: 21 Dec 2010, 14:54
by mhdside
ok thanks,