Skip to content

arskom/qxsoap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

0b1a5ca · Nov 21, 2013
Aug 30, 2011
Aug 4, 2010
Nov 21, 2013
Aug 30, 2011
Jul 15, 2010
Oct 4, 2010
Nov 28, 2010
Jul 15, 2010
Aug 30, 2011
Jul 15, 2010
Jul 4, 2010
Aug 30, 2011

Repository files navigation

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 class and the demo application 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 twisted

Once 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.

About

A Soap/WSDL 1.1 compliant client library for qooxdoo

Resources

License

Stars

Watchers

Forks

Packages

No packages published