au.gov.nehta.vendorlibrary.smd.sample
Class TransportResponseRetrievalClientSample

java.lang.Object
  extended by au.gov.nehta.vendorlibrary.smd.sample.TransportResponseRetrievalClientSample

public final class TransportResponseRetrievalClientSample
extends java.lang.Object

Requirements

a) The endpoint URLs for your Transport Response Retrieval Web Service providers i.e. the endpoint URL of the client's intermediary.

b) A Transport Layer Security (TLS) public/private key pair and its associated public certificate. These are used to authenticate the client to the Secure Message Delivery server instance during the Transport Layer Security (TLS) handshake. They are typically stored in a Java key store file.
The user's certificate, private and public keys go into keystore.jks, while certificates of external parties goes into truststore.jks Java key store file.

c) Your organisation public/private key pair and its associated public certificate. These are used to sign the sensitive payload using XSP profile. They are typically stored in a Java key store file.
The organisation certificate, private and public keys go into keystore.jks, d) Receiver organisations encrypting public certificate.These are used to encrypted the signed sensitive data usig XSP profile. These certificates of external parties goes into truststore.jks Java key store file.

e) The digital certificate of the Certificate Authority (CA) which signed the SMD Web Service providers TLS certificate. This certificate is used to authenticate the SMD Web Service provider to the clients during the TLS handshake. This certificate is typically stored in a Java trust store file.

f) Your organisation's fully qualified Healthcare Provider Identifier or HPI-O (hereinafter referred to as SENDER_ORGANISATION_HPIO) and those to whom you wish to send and receive messages from (hereinafter referred to as RECEIVER_ORGANISATION_HPIO ).


Method Summary
static void main(java.lang.String[] args)
          Main method to perform Transport Response Retrieval service client operations ().
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException,
                        java.security.GeneralSecurityException,
                        javax.xml.transform.TransformerException,
                        javax.xml.bind.JAXBException
Main method to perform Transport Response Retrieval service client operations ().

Parameters:
args - (NOT REQUIRED)
Throws:
java.io.IOException - in an event of IO error.
java.security.GeneralSecurityException - in an event of Security error.
javax.xml.transform.TransformerException - in an event of XML to Document or Document to XML transformation error.
javax.xml.bind.JAXBException - in an event of JAXB operation error.