![]() |
Page History
Table of Contents |
---|
Consuming Secure Services (PO/PA)
Note |
---|
Secure Services were introduced in v3.1 of PO & PA |
Purpose
To inform our clients (consumers) how to connect to and consume our secure services.
Prerequistes
- Install caGrid v1.3 locally, http://cagrid.org/display/downloads/caGrid+1.3+Installation+Quick+Start
- Obtain a grid credential (or Dorian User Account) for the grid trust fabric needed, e.g. Training Grid. (developers working locally should use the Training Grid) See http://cagrid.org/display/cagrid13tutorials/Create+User+Account for instructions.
- Request a Host Cert to be used locally, http://cagrid.org/display/knowledgebase/Request+a+Host+Certificate
. You should specify your local machine's hostname. For example, locally I use
Code Block steve-matyass-macbook-pro-2.local
- Record your grid credential (aka Grid Identity) for later use. For example, mine is
Code Block /O=caBIG/OU=caGrid/OU=Training/OU=Dorian/CN=matyass
HOWTO
Consuming Unsecured Services
Note |
---|
Secure Services were introduced in v3.1 of PO & PA |
If you just want to call the services, you can use a tool like SoapUI to generate XML from the WSDLs listed below (which is what QA does). To get more involved, you can use the sample java code in coppa/code/po-grid/src/gov/nih/nci/coppa/services/entities /ServiceName/client/ServiceNameClient.java. There are similar clients for PA under coppa/code/pa-grid.
...