au.gov.nehta.vendorlibrary.pcehr.clients.template
Class GetTemplateClient
java.lang.Object
au.gov.nehta.vendorlibrary.pcehr.clients.common.Client<au.net.electronichealth.ns.tplt.svc.gettemplate._1.GetTemplatePortType>
au.gov.nehta.vendorlibrary.pcehr.clients.template.GetTemplateClient
public final class GetTemplateClient
- extends Client<au.net.electronichealth.ns.tplt.svc.gettemplate._1.GetTemplatePortType>
A JAX-WS client to the PCEHR 'Get Template' web service.
Constructor Summary |
GetTemplateClient(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. |
GetTemplateClient(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.tplt.xsd.interfaces.gettemplate._1.GetTemplateResponse |
getTemplate(au.net.electronichealth.ns.pcehr.xsd.common.commoncoreelements._1.PCEHRHeader commonHeader,
java.lang.String templateId,
java.lang.String requestorOption)
|
au.net.electronichealth.ns.tplt.xsd.interfaces.gettemplate._1.GetTemplateResponse |
getTemplate(au.net.electronichealth.ns.pcehr.xsd.common.commoncoreelements._1.PCEHRHeader commonHeader,
java.lang.String templateId,
TemplateServiceRequestorOption requestorOption)
Retrieve a template package from the template service. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GetTemplateClient
public GetTemplateClient(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).
GetTemplateClient
public GetTemplateClient(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).
getTemplate
public au.net.electronichealth.ns.tplt.xsd.interfaces.gettemplate._1.GetTemplateResponse getTemplate(au.net.electronichealth.ns.pcehr.xsd.common.commoncoreelements._1.PCEHRHeader commonHeader,
java.lang.String templateId,
TemplateServiceRequestorOption requestorOption)
throws au.net.electronichealth.ns.tplt.svc.gettemplate._1.StandardErrorMsg
- Retrieve a template package from the template service.
- Parameters:
commonHeader
- PCEHR common headertemplateId
- Unique template identifier.requestorOption
- Controls elements to be returned within the template package.
- Returns:
- The matching template package.
- Throws:
au.net.electronichealth.ns.tplt.svc.gettemplate._1.StandardErrorMsg
- On operation failure.
getTemplate
public au.net.electronichealth.ns.tplt.xsd.interfaces.gettemplate._1.GetTemplateResponse getTemplate(au.net.electronichealth.ns.pcehr.xsd.common.commoncoreelements._1.PCEHRHeader commonHeader,
java.lang.String templateId,
java.lang.String requestorOption)
throws au.net.electronichealth.ns.tplt.svc.gettemplate._1.StandardErrorMsg
- Throws:
au.net.electronichealth.ns.tplt.svc.gettemplate._1.StandardErrorMsg