public class I2b2XmlPostSupport extends Object
| Constructor and Description |
|---|
I2b2XmlPostSupport(I2b2EurekaServicesProperties inProperties) |
| Modifier and Type | Method and Description |
|---|---|
String |
generateMessageId()
Generates a random message number for i2b2 requests.
|
Document |
postXmlToI2b2(String xml)
Performs an HTTP POST of an XML request to the i2b2 proxy cell.
|
@Inject public I2b2XmlPostSupport(I2b2EurekaServicesProperties inProperties)
public Document postXmlToI2b2(String xml) throws org.apache.http.client.ClientProtocolException, IOException, IllegalStateException, SAXException, ParserConfigurationException
xml - the XML request to sendDocumentorg.apache.http.client.ClientProtocolException - if an error occursIOException - if an error occursParserConfigurationException - if an error occursSAXException - if an error occursIllegalStateException - if an error occurspublic String generateMessageId()
Copyright © 2015 Emory University. All rights reserved.