Changeset 716 for branches


Ignore:
Timestamp:
Jun 30, 2015, 7:36:58 PM (10 years ago)
Author:
djay
Message:

Add the POST request debuging method description.

Location:
branches/PublicaMundi_David-devel/docs
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/PublicaMundi_David-devel/docs/client/howto.rst

    r696 r716  
    3939
    4040Compiling ZOO-Client templates
    41 ---------------------------===
     41------------------------------
    4242
    4343In order to work with ZOO-Client, you will first need to compile the
  • branches/PublicaMundi_David-devel/docs/services/debug.rst

    r696 r716  
    5858  ./zoo_loader.cgi "service=wps&version=1.0.0&request=execute&identifier=HelloPy&datainputs=a=your name&responsedocument=Result"
    5959
    60 Working this way you can use the standard debug system of the actual programming language used
    61 to develop your service.
     60Working this way you can use the standard debug system of the actual
     61programming language used to develop your service.
     62
     63In case you should simulate POST requests, you can use the following
     64command to tell the ZOO-Kernel to use the file ``/tmp/req.xml`` as the
     65input XML request:
     66
     67.. code-block:: guess
     68
     69    # Define required environment settings
     70    export REQUEST_METHOD=POST
     71    export CONTENT_TYPE=text/xml
     72    # Run the request stored in a file
     73    ./zoo_loader.cgi < /tmp/req.xml
     74
    6275
    6376GDB
Note: See TracChangeset for help on using the changeset viewer.

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png