https://github.com/arskom/qxsoap
A Soap/WSDL 1.1 compliant client library for qooxdoo
https://github.com/arskom/qxsoap
Last synced: 5 months ago
JSON representation
A Soap/WSDL 1.1 compliant client library for qooxdoo
- Host: GitHub
- URL: https://github.com/arskom/qxsoap
- Owner: arskom
- License: other
- Created: 2010-07-04T16:24:36.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2013-11-21T10:38:28.000Z (almost 12 years ago)
- Last Synced: 2025-04-02T08:48:05.116Z (6 months ago)
- Language: JavaScript
- Homepage:
- Size: 368 KB
- Stars: 5
- Watchers: 0
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
This is an implementation of the SOAP 1.1 protocol with an RPC application in
mind. It aims to support DOM level-1 compliant browsers.Tested with Twisted 8.2 and rpclib-1.1.1-alpha from http://github.com/arskom/rpclib
on Python 2.6.2, and with Qooxdoo 1.1.Using `qxsoap` in your application
==================================Download the latest package from http://github.com/arskom/qxsoap/downloads and
unpack it to source/lib/soap folder in your project root. If you don't have a
`source/lib` folder, it's OK to create it.Then modify the "let" and "jobs" sections in your `config.json` to to contain
the entries below:{
"let" : {
"SOAP_PATH" : "./source/lib/soap"
,"SOAP_URI" : "lib/soap"
}
,"jobs" : {
"libraries" : {
"library" : [
{ "manifest" : "${SOAP_PATH}/Manifest.json", "uri" : "${SOAP_URI}" }
]
}
}
}Use the soap client in your application, then run `./generate.py source` to
have it included. You can look at the [`soap.test.SoaplibInterop`](http://github.com/arskom/qxsoap/blob/master/source/class/soap/test/SoaplibInterop.js)
class and the [demo application](http://github.com/arskom/qxsoap/tree/master/demo/default/source/class/soap/demo/) for examples.Running the demo
================Preparing the client
--------------------Unpack a qooxdoo distribution in the qooxdoo folder, or create symlinks to one.
It has to be there so your web browser can find it via the included web server.
Then run ./generate.py source in the `demo/default` folder and generate the client
loader script.Preparing the server
--------------------Install the latest rpclib and twisted from pypi. As a privileged user, you can
execute the following command:easy_install rpclib
easy_install twistedOnce rpclib and twisted are installed, you can run the demo server using the
following command:./demo_server.py
Wait for the
http://0.0.0.0:7789/
line to appear. Then navigate to:
http://localhost:7789/demo/default/source/
and you should see the main screen which is a toolbar with two buttons to the
upper left.