ca.infoway.messagebuilder.guide.hello_world
Class HelloWorldApp
java.lang.Object
ca.infoway.messagebuilder.guide.hello_world.HelloWorldApp
- Direct Known Subclasses:
- DrugPrescriptionQueryApp, FindCandidatesApp, ImmunizationQueryApp, LabResultsQueryApp
public abstract class HelloWorldApp
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
isSimulatedMode
protected boolean isSimulatedMode
responseExampleResourceFile
protected String responseExampleResourceFile
MBSpecificationVersion
public static final VersionNumber MBSpecificationVersion
HelloWorldApp
public HelloWorldApp()
createRequestInteraction
protected abstract InteractionBean createRequestInteraction()
processResponseInteraction
protected abstract void processResponseInteraction(InteractionBean interactionBean)
run
public final void run(String[] args)
submitRequest
protected String submitRequest(InteractionBean msg,
CredentialsProvider credentials,
ServiceType serviceType)
createTransformer
protected MessageBeanTransformerImpl createTransformer()
convertBeanToXML
protected String convertBeanToXML(InteractionBean msgBean)
convertXMLToBean
protected InteractionBean convertXMLToBean(String xml)
createCredentialsProvider
protected CredentialsProvider createCredentialsProvider(String userid,
String password)
setTransportWrapperValues
protected void setTransportWrapperValues(HL7Message_1Bean<?> messageBean)
createServiceLocationBean
protected ServiceLocationBean createServiceLocationBean()
createServiceDeliveryLocationBean
protected ServiceDeliveryLocationBean createServiceDeliveryLocationBean()
createPostalAddres
protected PostalAddress createPostalAddres()
createAuthor_2Bean
protected CreatedBy_2Bean createAuthor_2Bean()
createAuthor_1Bean
protected CreatedBy_1Bean createAuthor_1Bean()
createRecordTarget
protected Patient_2Bean createRecordTarget()
readResourceFile
protected String readResourceFile(String resourceName)
convertStreamToString
public String convertStreamToString(InputStream is)
throws IOException
- Throws:
IOException
Copyright © 2013. All Rights Reserved.