diff --git a/SOAPUI_Test/HIEOS RegistryAndRepositorySuite.xml b/SOAPUI_Test/HIEOS RegistryAndRepositorySuite.xml new file mode 100644 index 0000000..df29cc2 --- /dev/null +++ b/SOAPUI_Test/HIEOS RegistryAndRepositorySuite.xml @@ -0,0 +1,1558 @@ + + +${#Project#endpointregistry}${#Project#endpointregistry}UTF-8${#Project#endpointregistry}UTF-8http://192.168.34.6:8080/axis2/services/xdsregistryb + + +${#Project#endpointrepository}${#Project#endpointrepository}UTF-8${#Project#endpointrepository}UTF-8${#Project#endpointrepository} + + +SEQUENTIAL + + + + +DocumentRegistry_Binding_Soap12DocumentRegistry_PRPA_IN201301UV02<xml-fragment/>UTF-8${#Project#endpointregistry} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + e gerocum + + + + + + + + + + + + + + + + + + + + + + +]]>Global HTTP Settings + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +DocumentRegistry_Binding_Soap12DocumentRegistry_PRPA_IN201301UV02<entry key="Content-Type" value="application/xop+xml; charset=UTF-8; type=&quot;application/soap+xml; charset=UTF-8&quot;;" xmlns="http://eviware.com/soapui/config"/>UTF-8${#Project#endpointrepository} + + + urn:ihe:iti:2007:ProvideAndRegisterDocumentSet-b + urn:uuid:6d296e90-e5dc-43d0-b455-7c1f3eb35d83 + + http://www.w3.org/2005/08/addressing/anonymous + + http://GFE-ONC-WDEV15:8080/axis2-update/services/xdsrepositoryb + + + + + + + + + + 20051224 + + + + + en-us + + + + + 200412230800 + + + + + 200412230801 + + + + + D123401^^^&1.3.6.1.4.1.21367.2010.1.2.315&ISO + + + + + PID-3|ST-1000^^^&1.3.6.1.4.1.21367.2003.3.9&ISO + PID-5|Doe^John^^^ + PID-7|19560527 + PID-8|M + PID-11|100 Main St^^Metropolis^Il^44130^USA + + + + + + + + + + Gerald Smitty + + + + + Cleveland Clinic + Parma Community + + + + + Attending + + + + + Pediatric + + + + + + + Connect-a-thon classCodes + + + + + + + + + + Connect-a-thon confidentialityCodes + + + + + + + + + + Connect-a-thon formatCodes + + + + + + + + + + Connect-a-thon healthcareFacilityTypeCodes + + + + + + + + + + Connect-a-thon practiceSettingCodes + + + + + + + + + + LOINC + + + + + + + + + + + + + + + + + + + + + 20041225235050 + + + + + + + + + + + + Sherry Dopplemeyer + + + + + Cleveland Clinic + Berea Community + + + + + Primary Surgon + + + + + Orthopedic + + + + + + + Connect-a-thon contentTypeCodes + + + + + + + + + + + + + + + + + + + + + + + + + + + Original + + + + + + UjBsR09EbGhjZ0dTQUxNQUFBUUNBRU1tQ1p0dU1GUXhEUzhi + + +]]>Global HTTP Settings +DocumentRegistry_Binding_Soap12DocumentRegistry_PRPA_IN201301UV02<entry key="Content-Type" value="" xmlns="http://eviware.com/soapui/config"/>UTF-8${#Project#endpointregistry} + + + urn:ihe:iti:2007:RegistryStoredQuery + urn:uuid:a02ca8cd-86fa-4afc-a27c-616c183b2055 + + http://www.w3.org/2005/08/addressing/anonymous + + http://GFE-ONC-WDEV15:8080/axis2/services/xdsregistryb + + + + + + + + + 'DGR456^^^&1.3.6.1.4.1.21367.2010.1.2.315&ISO' + + + + + ('urn:oasis:names:tc:ebxml-regrep:StatusType:Approved') + + + + + + + +]]>Global HTTP Settings + DocumentRepository_BindingDocumentRepository_ProvideAndRegisterDocumentSet-b<entry key="Content-Type" value="application/xop+xml; charset=UTF-8; type=&quot;application/soap+xml; charset=UTF-8&quot;;" xmlns="http://eviware.com/soapui/config"/>UTF-8${#Project#endpointrepository} + + + urn:ihe:iti:2007:ProvideAndRegisterDocumentSet-b + urn:uuid:6d296e90-e5dc-43d0-b455-7c1f3eb35d83 + + http://www.w3.org/2005/08/addressing/anonymous + + http://GFE-ONC-WDEV15:8080/axis2-update/services/xdsrepositoryb + + + + + + + + + + 20051224 + + + + + en-us + + + + + 200412230800 + + + + + 200412230801 + + + + + D123401^^^&1.3.6.1.4.1.21367.2010.1.2.315&ISO + + + + + PID-3|ST-1000^^^&1.3.6.1.4.1.21367.2003.3.9&ISO + PID-5|Doe^John^^^ + PID-7|19560527 + PID-8|M + PID-11|100 Main St^^Metropolis^Il^44130^USA + + + + + + + + + + Gerald Smitty + + + + + Maryland John Hopkins + Parma Community + + + + + Attending + + + + + ortho + + + + + + + Connect-a-thon classCodes + + + + + + + + + + Connect-a-thon confidentialityCodes + + + + + + + + + + Connect-a-thon formatCodes + + + + + + + + + + Connect-a-thon healthcareFacilityTypeCodes + + + + + + + + + + Connect-a-thon practiceSettingCodes + + + + + + + + + + LOINC + + + + + + + + + + + + + + + + + + + + + 20041225235050 + + + + + + + + + + + + Sherry Dopplemeyer + + + + + Cleveland Clinic + Berea Community + + + + + Primary Surgon + + + + + Pediatric + + + + + + + Connect-a-thon contentTypeCodes + + + + + + + + + + + + + + + + + + + + + + + + + + + Original + + + + + + + Reference + + + + + + UjBsR09EbGhjZ0dTQUxNQUFBUUNBRU1tQ1p0dU1GUXhEUzhi + + +]]> + + + + declare namespace ns11='urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0'; + //ns11:RegistryResponse[1]/@status + urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success + false + false + + + Global HTTP Settings +startDate2013-12-18T20:58:15ZendDate2013-12-18T21:08:15ZsigDate12/18/2013 20:58:15expireDate2014-01-17T00:00:00Z + + + + + + + + + + +DocumentRegistry_Binding_Soap12DocumentRegistry_PRPA_IN201301UV02<xml-fragment/>UTF-8${#Project#endpointregistry} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + e gerocum + + + + + + + + + + + + + + + + + + + + + + +]]>Global HTTP Settings + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +DocumentRegistry_Binding_Soap12DocumentRegistry_PRPA_IN201301UV02<entry key="Content-Type" value="application/xop+xml; charset=UTF-8; type=&quot;application/soap+xml; charset=UTF-8&quot;;" xmlns="http://eviware.com/soapui/config"/>UTF-8${#Project#endpointrepository} + + + urn:ihe:iti:2007:ProvideAndRegisterDocumentSet-b + urn:uuid:6d296e90-e5dc-43d0-b455-7c1f3eb35d83 + + http://www.w3.org/2005/08/addressing/anonymous + + http://GFE-ONC-WDEV15:8080/axis2-update/services/xdsrepositoryb + + + + + + + + + + 20051224 + + + + + en-us + + + + + 200412230800 + + + + + 200412230801 + + + + + D123401^^^&1.3.6.1.4.1.21367.2010.1.2.315&ISO + + + + + PID-3|ST-1000^^^&1.3.6.1.4.1.21367.2003.3.9&ISO + PID-5|Doe^John^^^ + PID-7|19560527 + PID-8|M + PID-11|100 Main St^^Metropolis^Il^44130^USA + + + + + + + + + + Gerald Smitty + + + + + Cleveland Clinic + Parma Community + + + + + Attending + + + + + Pediatric + + + + + + + Connect-a-thon classCodes + + + + + + + + + + Connect-a-thon confidentialityCodes + + + + + + + + + + Connect-a-thon formatCodes + + + + + + + + + + Connect-a-thon healthcareFacilityTypeCodes + + + + + + + + + + Connect-a-thon practiceSettingCodes + + + + + + + + + + LOINC + + + + + + + + + + + + + + + + + + + + + 20041225235050 + + + + + + + + + + + + Sherry Dopplemeyer + + + + + Cleveland Clinic + Berea Community + + + + + Primary Surgon + + + + + Orthopedic + + + + + + + Connect-a-thon contentTypeCodes + + + + + + + + + + + + + + + + + + + + + + + + + + + Original + + + + + + UjBsR09EbGhjZ0dTQUxNQUFBUUNBRU1tQ1p0dU1GUXhEUzhi + + +]]>Global HTTP Settings +DocumentRegistry_Binding_Soap12DocumentRegistry_PRPA_IN201301UV02<entry key="Content-Type" value="" xmlns="http://eviware.com/soapui/config"/>UTF-8${#Project#endpointregistry} + + + urn:ihe:iti:2007:RegistryStoredQuery + urn:uuid:a02ca8cd-86fa-4afc-a27c-616c183b2055 + + http://www.w3.org/2005/08/addressing/anonymous + + http://GFE-ONC-WDEV15:8080/axis2/services/xdsregistryb + + + + + + + + + 'DGR456^^^&1.3.6.1.4.1.21367.2010.1.2.315&ISO' + + + + + ('urn:oasis:names:tc:ebxml-regrep:StatusType:Approved') + + + + + + + +]]>Global HTTP Settings + DocumentRepository_BindingDocumentRepository_ProvideAndRegisterDocumentSet-b<entry key="Content-Type" value="application/xop+xml; charset=UTF-8; type=&quot;application/soap+xml; charset=UTF-8&quot;;" xmlns="http://eviware.com/soapui/config"/>UTF-8${#Project#endpointrepository} + + + urn:ihe:iti:2007:ProvideAndRegisterDocumentSet-b + urn:uuid:6d296e90-e5dc-43d0-b455-7c1f3eb35d83 + + http://www.w3.org/2005/08/addressing/anonymous + + http://GFE-ONC-WDEV15:8080/axis2-update/services/xdsrepositoryb + + + + + + + + + + 20051224 + + + + + en-us + + + + + 200412230800 + + + + + 200412230801 + + + + + D123401^^^&1.3.6.1.4.1.21367.2010.1.2.315&ISO + + + + + PID-3|ST-1000^^^&1.3.6.1.4.1.21367.2003.3.9&ISO + PID-5|Doe^John^^^ + PID-7|19560527 + PID-8|M + PID-11|100 Main St^^Metropolis^Il^44130^USA + + + + + + + + + + Gerald Smitty + + + + + Maryland John Hopkins + Parma Community + + + + + Attending + + + + + ortho + + + + + + + Connect-a-thon classCodes + + + + + + + + + + Connect-a-thon confidentialityCodes + + + + + + + + + + Connect-a-thon formatCodes + + + + + + + + + + Connect-a-thon healthcareFacilityTypeCodes + + + + + + + + + + Connect-a-thon practiceSettingCodes + + + + + + + + + + LOINC + + + + + + + + + + + + + + + + + + + + + 20041225235050 + + + + + + + + + + + + Sherry Dopplemeyer + + + + + Cleveland Clinic + Berea Community + + + + + Primary Surgon + + + + + Pediatric + + + + + + + Connect-a-thon contentTypeCodes + + + + + + + + + + + + + + + + + + + + + + + + + + + Original + + + + + + + Reference + + + + + + UjBsR09EbGhjZ0dTQUxNQUFBUUNBRU1tQ1p0dU1GUXhEUzhi + + +]]>Global HTTP Settings +DocumentRegistry_Binding_Soap12DocumentRegistry_PRPA_IN201301UV02<entry key="Content-Type" value="" xmlns="http://eviware.com/soapui/config"/>UTF-8${#Project#endpointregistry} + + + urn:ihe:iti:2007:RegistryStoredQuery + urn:uuid:a02ca8cd-86fa-4afc-a27c-616c183b2055 + + http://www.w3.org/2005/08/addressing/anonymous + + http://GFE-ONC-WDEV15:8080/axis2/services/xdsregistryb + + + + + + + + + 'DGR456^^^&1.3.6.1.4.1.21367.2010.1.2.315&ISO' + + + + + ('urn:oasis:names:tc:ebxml-regrep:StatusType:Approved') + + + + + + + +]]>Global HTTP Settings + +startDate2013-12-18T21:32:45ZendDate2013-12-18T21:42:45ZsigDate12/18/2013 21:32:45expireDate2014-01-17T00:00:00Z + +endpointregistryhttp://192.168.34.6:8080/axis2/services/xdsregistryb +endpointrepositoryhttp://192.168.34.6:8080/axis2/services/xdsrepositoryb +associationIdurn:uuid:5dc08135-b999-47da-bf27-c901a5c5de45 +DQDocID1.3.6.1.4.1.21367.2005.3.8888.34 +def propertiesFilename = project.path[0..(project.path.size()-4)] + 'properties' +def propertiesFile = new File(propertiesFilename) +if (propertiesFile.exists()) { + def props = new Properties() + props.load(new FileInputStream(propertiesFile)) + props.each { key, value -> + project.setPropertyValue(key, value) + } +} + +TimeZone.setDefault(TimeZone.getTimeZone("UTC")) +def testRunListener = [ +afterRun: { testRunner, runContext -> }, +afterStep: { testRunner, runContext, result -> }, +beforeStep: { testRunner, runContext -> }, +beforeStep: { testRunner, runContext, testStep -> }, +beforeRun: { testRunner, runContext -> +use (org.codehaus.groovy.runtime.TimeCategory) { +def startDate = 5.minutes.ago +def endDate = 5.minutes.from.now +def expireDate = 30.days.from.now + +def df = "yyyy-MM-dd'T'HH:mm:ss'Z'" +def dfSig = "MM/dd/yyyy' 'HH:mm:ss" + +runContext.testCase.setPropertyValue("startDate", startDate.format(df)) +runContext.testCase.setPropertyValue("endDate", endDate.format(df)) +runContext.testCase.setPropertyValue("sigDate", startDate.format(dfSig)) +runContext.testCase.setPropertyValue("expireDate", expireDate.format(df)) +} +} +] as com.eviware.soapui.model.testsuite.TestRunListener + +project.testSuiteList*.testCaseList.flatten()*.addTestRunListener(testRunListener) + + + +com.eviware.soapui.impl.wsdl.testcase.WsdlTestRunContext.metaClass.findProperty = { propertyName -> +return delegate.getProperty(propertyName) ?: +delegate.testCase.getPropertyValue(propertyName) ?: +delegate.testCase.testSuite.getPropertyValue(propertyName) ?: +delegate.testCase.testSuite.project.getPropertyValue(propertyName) +} + +com.eviware.soapui.impl.wsdl.testcase.WsdlTestRunContext.metaClass.withSql = { dbOrPropertyName, block -> +def dbName = dbOrPropertyName + + +def connectString = "jdbc:mysql://192.168.34.6:3306/${dbName}" +def sql = groovy.sql.Sql.newInstance(connectString, "hieosuser", "hieospass", "com.mysql.jdbc.Driver"); +try { +block(sql) +} finally { +sql.close() +} +} + + + \ No newline at end of file diff --git a/SOAPUI_Test/WSDL/XDS.b_DocumentRegistry.wsdl b/SOAPUI_Test/WSDL/XDS.b_DocumentRegistry.wsdl new file mode 100644 index 0000000..bf6c3ba --- /dev/null +++ b/SOAPUI_Test/WSDL/XDS.b_DocumentRegistry.wsdl @@ -0,0 +1,176 @@ + + + + IHE XDS.b Document Registry + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Registry Stored Query + + + + Registry Stored Query Response + + + + Register Document Set - b + + + + Register Document Set - b Response + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SOAPUI_Test/WSDL/XDS.b_DocumentRepository.wsdl b/SOAPUI_Test/WSDL/XDS.b_DocumentRepository.wsdl new file mode 100644 index 0000000..1d52df5 --- /dev/null +++ b/SOAPUI_Test/WSDL/XDS.b_DocumentRepository.wsdl @@ -0,0 +1,88 @@ + + + + + IHE XDS.b Document Repository + + + + + + + + + + + + + + + + + + + + + + Retrieve Document Set + + + + Retrieve Document Set Response + + + + Provide and Register Document Set + + + + Provide And Register Document Set Response + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +