au.gov.nehta.vendorlibrary.hi.hpio
Class ProviderSearchForProviderOrganisationClient

java.lang.Object
  extended by au.gov.nehta.vendorlibrary.hi.hpio.ProviderSearchForProviderOrganisationClient

public class ProviderSearchForProviderOrganisationClient
extends java.lang.Object

An implementation of a Provider Search For Provider Organisation (HPI-O) search client. This class may be used to connect to the Medicare HI Service to do Provider Search For Organisation searches.


Field Summary
static java.lang.String EMPTY
          Empty String variable.
 
Constructor Summary
ProviderSearchForProviderOrganisationClient(java.lang.String serviceEndpoint, au.net.electronichealth.ns.hi.xsd.common.qualifiedidentifier._3.QualifiedId individualQualifiedId, javax.xml.ws.Holder<au.net.electronichealth.ns.hi.xsd.common.commoncoreelements._3.ProductType> productHeader, java.security.PrivateKey signingPrivateKey, java.security.cert.X509Certificate signingCertificate, javax.net.ssl.SSLSocketFactory sslSocketFactory)
          Constructor which creates a new Client with an endpoint and an SSL Socket Factory.
ProviderSearchForProviderOrganisationClient(java.lang.String serviceEndpoint, au.net.electronichealth.ns.hi.xsd.common.qualifiedidentifier._3.QualifiedId individualQualifiedId, au.net.electronichealth.ns.hi.xsd.common.qualifiedidentifier._3.QualifiedId organisationQualifiedId, javax.xml.ws.Holder<au.net.electronichealth.ns.hi.xsd.common.commoncoreelements._3.ProductType> productHeader, java.security.PrivateKey signingPrivateKey, java.security.cert.X509Certificate signingCertificate, javax.net.ssl.SSLSocketFactory sslSocketFactory)
          Constructor which creates a new ProviderSearchForProviderOrganisation Client with an endpoint and an SSL Socket Factory, with the optional contracted service providers HPI-O organisation qualified ID set.
 
Method Summary
 java.lang.String getLastSoapRequest()
          Getter for lastSoapRequest.
 java.lang.String getLastSoapResponse()
          Getter for lastSoapResponse.
 au.net.electronichealth.ns.hi.svc.hiprovidersearchorg._5_0_0.ProviderSearchForProviderOrganisationPortType getPort()
          returns the current JAX-WS port object
 au.net.electronichealth.ns.hi.svc.hiprovidersearchorg._5_0_0.SearchForProviderOrganisationResponse identifierSearch(au.net.electronichealth.ns.hi.svc.hiprovidersearchorg._5_0_0.SearchForProviderOrganisation request)
          Executes an Identifier HPI-O search.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMPTY

public static final java.lang.String EMPTY
Empty String variable.

See Also:
Constant Field Values
Constructor Detail

ProviderSearchForProviderOrganisationClient

public ProviderSearchForProviderOrganisationClient(java.lang.String serviceEndpoint,
                                                   au.net.electronichealth.ns.hi.xsd.common.qualifiedidentifier._3.QualifiedId individualQualifiedId,
                                                   javax.xml.ws.Holder<au.net.electronichealth.ns.hi.xsd.common.commoncoreelements._3.ProductType> productHeader,
                                                   java.security.PrivateKey signingPrivateKey,
                                                   java.security.cert.X509Certificate signingCertificate,
                                                   javax.net.ssl.SSLSocketFactory sslSocketFactory)
Constructor which creates a new Client with an endpoint and an SSL Socket Factory.

Parameters:
serviceEndpoint - the Web Service endpoint for the Medicare HI Service interface (Mandatory)
individualQualifiedId - The qualified user ID for connecting to the ProviderSearchHIProviderDirectoryForOrganisation service (Mandatory)
productHeader - The product header data for connecting to the ProviderSearchHIProviderDirectoryForOrganisation service (Mandatory)
signingPrivateKey - The private key to be used for signing (Mandatory)
signingCertificate - The certificate to be used for signing (Mandatory)
sslSocketFactory - the SSL Socket Factory to be used when connecting to the Web Service provider

ProviderSearchForProviderOrganisationClient

public ProviderSearchForProviderOrganisationClient(java.lang.String serviceEndpoint,
                                                   au.net.electronichealth.ns.hi.xsd.common.qualifiedidentifier._3.QualifiedId individualQualifiedId,
                                                   au.net.electronichealth.ns.hi.xsd.common.qualifiedidentifier._3.QualifiedId organisationQualifiedId,
                                                   javax.xml.ws.Holder<au.net.electronichealth.ns.hi.xsd.common.commoncoreelements._3.ProductType> productHeader,
                                                   java.security.PrivateKey signingPrivateKey,
                                                   java.security.cert.X509Certificate signingCertificate,
                                                   javax.net.ssl.SSLSocketFactory sslSocketFactory)
Constructor which creates a new ProviderSearchForProviderOrganisation Client with an endpoint and an SSL Socket Factory, with the optional contracted service providers HPI-O organisation qualified ID set.

Parameters:
serviceEndpoint - the Web Service endpoint for the Medicare HI Service interface (Mandatory)
individualQualifiedId - The qualified user ID for connecting to the ProviderSearchHIProviderDirectoryForOrganisation service (Mandatory)
organisationQualifiedId - The qualified organisation ID for connecting to the ProviderSearchHIProviderDirectoryForOrganisation service (Optional)
productHeader - The product header data for connecting to the ProviderSearchHIProviderDirectoryForOrganisation service (Mandatory)
signingPrivateKey - The private key to be used for signing (Mandatory)
signingCertificate - The certificate to be used for signing (Mandatory)
sslSocketFactory - the SSL Socket Factory to be used when connecting to the Web Service provider
Method Detail

identifierSearch

public final au.net.electronichealth.ns.hi.svc.hiprovidersearchorg._5_0_0.SearchForProviderOrganisationResponse identifierSearch(au.net.electronichealth.ns.hi.svc.hiprovidersearchorg._5_0_0.SearchForProviderOrganisation request)
                                                                                                                          throws au.net.electronichealth.ns.hi.svc.hiprovidersearchorg._5_0_0.StandardErrorMsg
Executes an Identifier HPI-O search.

Parameters:
request - the SearchHIProviderDirectoryForIndividual request object containing the following mandatory fields: HPI-O and the following optional fields: Link Search Type
Returns:
Throws:
au.net.electronichealth.ns.hi.svc.hiprovidersearchorg._5_0_0.StandardErrorMsg - if the Web Service call fails.

getLastSoapResponse

public final java.lang.String getLastSoapResponse()
Getter for lastSoapResponse.

Returns:
lastSoapResponse the lastSoapResponse instance variable

getLastSoapRequest

public final java.lang.String getLastSoapRequest()
Getter for lastSoapRequest.

Returns:
lastSoapRequest the lastSoapRequest instance variable (Mandatory)

getPort

public au.net.electronichealth.ns.hi.svc.hiprovidersearchorg._5_0_0.ProviderSearchForProviderOrganisationPortType getPort()
returns the current JAX-WS port object

Returns:
the port