GeeCON Prague 2014*
The moose likes Web Services and the fly likes Google App Engine and SOAP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Web Services
Bookmark "Google App Engine and SOAP" Watch "Google App Engine and SOAP" New topic
Author

Google App Engine and SOAP

Alex Guy Hollis
Greenhorn

Joined: Dec 21, 2007
Posts: 6
Hi,

I've been trying to connect to a web-service in order to pull some of the records onto the GAE.

I have created the classes from the wsimport and outside of the app engine project it works (after having a few certificate issues), when I try to do the same create for the app engine project (in eclipse) it complains that one of the imported libraries cannot be used.

I've done a couple of internet searches on the topic and there are a few suggestions that you can't connect to third party web services.

Happy to attach more detail if its needed.

Alex
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42030
    
  64
Which library is it complaining about? Do the GAE docs maybe mention that as incompatible with GAE?


Ping & DNS - my free Android networking tools app
Alex Guy Hollis
Greenhorn

Joined: Dec 21, 2007
Posts: 6
java.rmi.Remote saying "java.rmi.Remote is not supported by Google App Engine's Java runtime environment"

I get that it's not supported but how do I go about interfacing with the webservice I need to pull data from?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42030
    
  64
Which WS API, and which implementation, are you using? That it would need any of the RMI classes seems strange.
Alex Guy Hollis
Greenhorn

Joined: Dec 21, 2007
Posts: 6
Here is the wsdl definition

https://egrcb.archer.rsa.com/ws/general.asmx?wsdl

I know it's a .net backend, I'm a little new to the practical side of webservices.

Alex
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42030
    
  64
OK, so you're not trying to run a WS, you're trying to access a WS. But still, what SOAP API and implementation are you using for that? How did you generate client code to access that WS? Using the stuff that comes with the JDK?
Alex Guy Hollis
Greenhorn

Joined: Dec 21, 2007
Posts: 6
So in Eclipse I started a Google App Engine web application project and then pulled in the wsdls.

I right click the WSDLs and under the Webservice bit I said generate client. It seems to be the same (very similar) classes that was generated when I used the wsimport from the command line with the JDK.



 
GeeCON Prague 2014
 
subject: Google App Engine and SOAP