NIH | National Cancer Institute | NCI Wiki  

Error rendering macro 'rw-search'

null

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To inform our clients (consumers) how to connect to and consume our secure services.

...

Prerequisites

  1. Install caGrid v1.3 locally, http://cagrid.org/display/downloads/caGrid+1.3+Installation+Quick+Start
  2. 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+CertificateImage Removed. You should specify your local machine's hostname. For example, locally I use Code Block steve-matyass-macbook-pro-2.local
  3. 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
    
  4. Add your own Grid Identity to PO to authenticate.
  5. Add your own Grid Identity to PA to authenticate.
Tip

Each day before you start using coding and testing locally, you'll want to Login to Dorian using the GAARDS UI to extend your local grid identity certificates. Roughly ever 24 hours they expire.

  1. Lauch GAARDS-UI and login using your CN (matyass) from your Grid Identity (e.g. /O=caBIG/OU=caGrid/OU=Training/OU=Dorian/CN=matyass)
    Code Block
    titleLaunch GAARDS-UI (ant security)
    
    steve-matyass-macbook-pro-2:cagrid smatyas$ pwd
    /Users/smatyas/dev/cagrid/caGrid
    

...

  1. steve-matyass-macbook-pro-2:caGrid smatyas$ ant security
    ...
    
    1. Click Login button and specify the following:
      Code Block
      titleSpecify Login Credentials
      
      Credential Provider: Training
      Organization: Training
      Username: matyass
      Password: *********
      
  2. Proceed to consuming PO or PA services as normal now

Consuming Unsecured Services

Note

Secure Unsecure Services were introduced in available prior to 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.

...