Table of Contents

Search

  1. Preface
  2. Overview, Downloading, and Installing
  3. Administration API
  4. Identity Service API
  5. Screenflow Programming and SDK
  6. ActiveVOS WSHT API
  7. Embedding Request Forms in Standalone Web Pages
  8. XML-JSON for Process Central

APIs, SDKs, and Services

APIs, SDKs, and Services

Using the RESTClient Tool

Using the RESTClient Tool

RESTClient is a Java application used to test RESTful services. It can be used to test a variety of HTTP communications including invoking Process Server processes using the XML binding endpoint. To use the GUI version of this tool, download the jar restclient-ui-2.3-jar-with-dependencies.jar library from
http://code.google.com/p/rest-client/downloads/list
.
To launch the application, run the command
java -jar restclient-ui-2.3-jar-with-dependencies.jar
. This will bring up the GUI application similar to the screenshot shown below.
  1. To invoke the sample process in provided with this SDK, ensure that your server is running and that you have deployed the humantaskProcessDemo bpr provided with this SDK to it.
  2. To send a XML POST message to invoke a service, set the service URL for the XML binding. For example,
    http://localhost:8080/active-bpel/services/XML/humantaskProcessDemoService
    .
  3. In the Method tab, set the HTTP Method to POST.
  4. In the Body tab, set content-type to text/xml.
  5. In the Body tab, provide the xml request element. You can copy the
    <loan:loanProcessRequest>
    sample shown in the previous section.
  6. Set authorization information if needed via Auth tab.
  7. Press the
    Go
    button to send the request
  8. The response from the service is then shown in the Body tab in the HTTP Response area.

0 COMMENTS

We’d like to hear from you!