au.gov.nehta.vendorlibrary.pcehr.clients.registration
Class RegisterPCEHRClient

java.lang.Object
  extended by au.gov.nehta.vendorlibrary.pcehr.clients.common.Client<au.net.electronichealth.ns.pcehr.svc.registerpcehr._2.RegisterPCEHRPortType>
      extended by au.gov.nehta.vendorlibrary.pcehr.clients.registration.RegisterPCEHRClient

public class RegisterPCEHRClient
extends Client<au.net.electronichealth.ns.pcehr.svc.registerpcehr._2.RegisterPCEHRPortType>

A JAX-WS client to the PCEHR 'Register PCEHR' web service.


Constructor Summary
RegisterPCEHRClient(javax.net.ssl.SSLSocketFactory sslSocketFactory, java.security.cert.X509Certificate x509Certificate, au.gov.nehta.xsp.CertificateVerifier certificateVerifier, java.security.PrivateKey privateKey, java.lang.String endpointAddress, boolean setLoggingEnabled)
          Constructor - accepts an optional certificate verifier.
RegisterPCEHRClient(javax.net.ssl.SSLSocketFactory sslSocketFactory, java.security.cert.X509Certificate x509Certificate, java.security.PrivateKey privateKey, java.lang.String endpointAddress, boolean setLoggingEnabled)
          Constructor - no certificate verification performed.
 
Method Summary
 au.net.electronichealth.ns.pcehr.xsd.interfaces.registerpcehr._2.RegisterPCEHRResponse registerPCEHR(au.net.electronichealth.ns.pcehr.xsd.common.commoncoreelements._1.PCEHRHeader commonHeader, au.net.electronichealth.ns.pcehr.xsd.interfaces.registerpcehr._2.RegisterPCEHR registrationDetails)
          Invokes the web service operation for registering a PCEHR for an individual or dependent child.
 
Methods inherited from class au.gov.nehta.vendorlibrary.pcehr.clients.common.Client
getHandlerChain, getLastSoapRequest, getLastSoapResponse, getPort, setMTOMEnabled, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegisterPCEHRClient

public RegisterPCEHRClient(javax.net.ssl.SSLSocketFactory sslSocketFactory,
                           java.security.cert.X509Certificate x509Certificate,
                           java.security.PrivateKey privateKey,
                           java.lang.String endpointAddress,
                           boolean setLoggingEnabled)
Constructor - no certificate verification performed.

Parameters:
sslSocketFactory - the SSLSocketFactory to be used when connecting to the web service provider (mandatory).
x509Certificate - the certificate key to be used for signing (mandatory)
privateKey - the private key to be used for signing (mandatory)
endpointAddress - the endpoint address of the web service (mandatory).
setLoggingEnabled - set to true to enable logging (mandatory).

RegisterPCEHRClient

public RegisterPCEHRClient(javax.net.ssl.SSLSocketFactory sslSocketFactory,
                           java.security.cert.X509Certificate x509Certificate,
                           au.gov.nehta.xsp.CertificateVerifier certificateVerifier,
                           java.security.PrivateKey privateKey,
                           java.lang.String endpointAddress,
                           boolean setLoggingEnabled)
Constructor - accepts an optional certificate verifier.

Parameters:
sslSocketFactory - the SSLSocketFactory to be used when connecting to the web service provider (mandatory).
x509Certificate - the certificate key to be used for signing (mandatory)
certificateVerifier - CertificateVerifier implementation (optional).
privateKey - the private key to be used for signing (mandatory)
endpointAddress - the endpoint address of the web service (mandatory).
setLoggingEnabled - set to true to enable logging (mandatory).
Method Detail

registerPCEHR

public final au.net.electronichealth.ns.pcehr.xsd.interfaces.registerpcehr._2.RegisterPCEHRResponse registerPCEHR(au.net.electronichealth.ns.pcehr.xsd.common.commoncoreelements._1.PCEHRHeader commonHeader,
                                                                                                                  au.net.electronichealth.ns.pcehr.xsd.interfaces.registerpcehr._2.RegisterPCEHR registrationDetails)
                                                                                                           throws au.net.electronichealth.ns.pcehr.svc.registerpcehr._2.StandardErrorMsg
Invokes the web service operation for registering a PCEHR for an individual or dependent child.

Parameters:
commonHeader - populated PCEHRHeader request object (Mandatory).
Returns:
response (type
Throws:
au.net.electronichealth.ns.pcehr.svc.registerpcehr._2.StandardErrorMsg