How to write a Web Service for Google App Engine?

1,716

Solution 1

I was curious about this myself and not finding anything I decided to try to get something to work. The short answer is that it turns out a SOAP service can actually be done using the latest alpha ZSI library. However it isn't simple and I didn't do much more than a simple request so it could fall apart with a complex type. I'll try to find time to write a tutorial on how to do it and edit this answer with more detail.

Unless this is a hard requirement I would do what jamtoday says and go with a REST or RPC service. The SOAP way could be filled with trouble.

Update: For anyone interested I've written a tutorial on how to deploy a SOAP service to the Google App Engine. It is long process so I'm just linking to it instead of pasting it all here.

Solution 2

If you want to do something with App Engine specifically, there are libraries that will make it much faster on your end. I'd recommend looking at the XML-RPC and REST examples.

http://appengine-cookbook.appspot.com/recipe/xml-rpc-server-using-google-app-engine/

http://github.com/fczuardi/gae-rest/tree/master

Solution 3

I know this is an old thread but just in case if someone happens to read this. I have just start an open source project for creating web services on GAE.

Project site: http://code.google.com/p/webserviceservlet/

Hope this is helpful.

EDIT: Just noticed that this is a python question and the link project is java project....

Share:
1,716
user3183542
Author by

user3183542

Updated on June 13, 2020

Comments

  • user3183542
    user3183542 almost 4 years

    I am unable to interact with an element using browser tests. It says the element is not interact-able, or not visible. This doesn't happen in Acceptance

  • carson
    carson over 15 years
    Actually that search won't give you any helpful examples. From all accounts it probably just can't be done.
  • Mitchel Sellers
    Mitchel Sellers over 15 years
    Just put in another link to code examples.
  • Martin
    Martin over 15 years
    The question is not about how to consume a Web Service in Python, but how to write one.
  • Edijae Crusar
    Edijae Crusar over 7 years
    8 years later and am facing a related problem but in java not python, please help stackoverflow.com/questions/41573829/…