Calling a web service from a Java Extension

Post here your questions about Actionscript and Java server side extensions development.

Moderators: Lapo, Bax

pep_castefa
Posts: 45
Joined: 01 Jun 2010, 10:31
Location: Barcelona, Spain

Calling a web service from a Java Extension

Postby pep_castefa » 07 Jul 2011, 12:04

I am trying to call a web service from a Java Extension and when trying to instantiate the Service class, Java stops responding.
I have tried using the org.apache.axis.client.Service and also the javax.xml.rpc.Service, but they both do the same.
I have put all the service calls into a class and whenever I need to call the service, I call the corresponding class's method.
When I call one of these methods from a Smartfox java extension, when trying to instantiate the Service:
Service service = new Service();
Java stops responding.
If I call this same class's method from a test class I have created, the method executes perfectly... that's why I suspect there is somethign wrong when called from a sfs extension...
Anybody has any idea? Thank you

Return to “Server Side Extension Development”

Who is online

Users browsing this forum: No registered users and 35 guests