Version 1 (modified by pbaumann, 7 years ago) (diff)


!Petascope User guide


(see also WCPS manual and tutorial)

The WCPS service can handle most of the operations specified in the WCPS specification document. It can answer both XML and Abstract Syntax queries. The servlet will always respond to a GET request with a user friendly form for entering a query along with a greeting message. To send a query a post request must be sent. Two protocols are supported, XML (with two sub-variants) and Abstract Syntax:

  • To send a abstract syntax request: A post request must be sent. The query string must be sent in a post parameter named query.
  • To send a request as a XML file, a multi-part post request must be sent. Only one file must be sent. The Mime type has to be text/xml.
  • To send a request as XML: A post request must be sent. A post parameter named xml must be attached.

If you intend to implement forms-based access:

To obtain a proper query from an XML page a form must be used. The method should be post and action should be an URL pointing to the servlet access point. The form should contain either a file field or a text/hidden field that has the name xml or query. An error in the access method will generate the same user friendly form and greeting message as for the GET request. For a simple example check the reply you get from accessing the service check the user friendly form obtained by a GET request.


See the WCS standards for the moment being; further documentation to come.

Attachments (1)

Download all attachments as: .zip