Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Google App Engine and SOAP

 
Alex Guy Hollis
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which library is it complaining about? Do the GAE docs maybe mention that as incompatible with GAE?
 
Alex Guy Hollis
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which WS API, and which implementation, are you using? That it would need any of the RMI classes seems strange.
 
Alex Guy Hollis
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.



 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic