Missing variables in DIL 'Initiating Gateway' tests

classic Classic list List threaded Threaded
17 messages Options
Reply | Threaded
Open this post in threaded view
|

Missing variables in DIL 'Initiating Gateway' tests

earla12
Good Morning,

  We have successfully passed our DIL Responding Gateway tests, with the DIL and eHealth Exchange,
however, in the DIL 'Initiating Gateway' tests, there are missing variables which makes the test fail.
The variables are 'all' present in the Responding Gateway tests.

  We are utilizing the ConnectAdminGUI to send the PD, QD and RD requests to the test Server and
received positive results.

   The missing variables are:

Missing required element @ITSVersion
Missing required ID and extension attributes
Missing required element interactionId
FAIL: CL MA SOAP Request #1084
Missing required element organization-id

  There are more, but I did not want to post the full list.

  If the variables are present during the Responding tests, why are they not present during the 'Initiating'
tests?  What configuration changes need to be made and where?

Thank you for any information and insight you could provide.

Earl Adkins
Reply | Threaded
Open this post in threaded view
|

Re: Missing variables in DIL 'Initiating Gateway' tests

earla12
I have found further information regarding the issue.  In the Server.log I am seeing these entries:

WS-Addressing - failed to retrieve Message Addressing Properties from context
2017-10-26 10:54:42,907 WARN  [org.apache.cxf.ws.addressing.ContextUtils] (default task-7) WS-Addressing - failed to retrieve Message Addressing Properties from context
2017-10-26 10:54:42,923 WARN  [org.apache.cxf.ws.addressing.ContextUtils] (default task-7) WS-Addressing - failed to retrieve Message Addressing Properties from context

I have attached the 'Server.log' to assist in the diagnosis.
server.zip
Reply | Threaded
Open this post in threaded view
|

Re: Missing variables in DIL 'Initiating Gateway' tests

Earl Adkins
In reply to this post by earla12
It appears what needs to happen is that the variables when using the AdminGUI aren't being added as they are when the system responds to an incoming request.

Where can the 'Soap Headers', etc. be modified to contain these?

Thanks,

Earl
Reply | Threaded
Open this post in threaded view
|

Re: Missing variables in DIL 'Initiating Gateway' tests

earla12
In reply to this post by earla12
Could really use some help with this last process.

If the tests can't be ran via the Connect Admin GUI, can someone please provide the
proper script and setup information for testing this via SOAPUI, I have searched hi and low
for documentation regarding this, but have found nothing thus far.

All help is greatly appreciated as this is holding up the certification for a client.

Thanks,

Earl Adkins
Reply | Threaded
Open this post in threaded view
|

Re: Missing variables in DIL 'Initiating Gateway' tests

Earl Adkins
Bumping the thread again in hopes to get some help with the final testing steps
Reply | Threaded
Open this post in threaded view
|

Re: Missing variables in DIL 'Initiating Gateway' tests

Sovann Huynh
Administrator
Hi Earl,

Testing with the DIL requires the use of an edge test system that allows you to "customize" the assertion block that is passed into the CONNECT entity layer. We've successfully executed tests with the following entity message from our validation suite:

<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:urn="urn:hl7-org:v3" xmlns:urn1="urn:gov:hhs:fha:nhinc:common:nhinccommon" xmlns:add="http://schemas.xmlsoap.org/ws/2004/08/addressing">
   <soap:Header/>
   <soap:Body testSuite="Entity_g1" testCase="Patient Discovery">
      <urn:RespondingGateway_PRPA_IN201305UV02Request>
         <urn:PRPA_IN201305UV02 ITSVersion="XML_1.0">
            <urn:id root="209.251.180.228.0.1" extension="-5a3e95b1:11d1fa33d45:-7f9b"/>
            <urn:creationTime value="20091116084800"/>
            <urn:interactionId root="2.16.840.1.113883.1.6" extension="PRPA_IN201305UV02"/>
            <urn:processingCode code="T"/>
            <urn:processingModeCode code="T"/>
            <urn:acceptAckCode code="AL"/>
            <urn:receiver typeCode="RCV">
               <urn:device classCode="DEV" determinerCode="INSTANCE">
                  <urn:id root="${#Project#RemoteHCID}"/>
                  <urn:asAgent classCode="AGNT">
                     <urn:representedOrganization classCode="ORG" determinerCode="INSTANCE">
                        <urn:id root="${#Project#RemoteHCID}"/>
                     </urn:representedOrganization>
                  </urn:asAgent>
               </urn:device>
            </urn:receiver>
            <urn:sender typeCode="SND">
               <urn:device classCode="DEV" determinerCode="INSTANCE">
                  <urn:id root="${#Project#LocalHCID}"/>
                  <urn:asAgent classCode="AGNT">
                     <urn:representedOrganization classCode="ORG" determinerCode="INSTANCE">
                        <urn:id root="${#Project#LocalHCID}"/>
                     </urn:representedOrganization>
                  </urn:asAgent>
               </urn:device>
            </urn:sender>
            <urn:controlActProcess classCode="CACT" moodCode="EVN">
            <urn:code code="PRPA_TE201305UV02" codeSystem="2.16.840.1.113883.1.6"/>
               <urn:authorOrPerformer typeCode="AUT">
                  <urn:assignedDevice  classCode="ASSIGNED">
                     <urn:id root="${#Project#LocalAA}"/>
                  </urn:assignedDevice>
               </urn:authorOrPerformer>
               <urn:queryByParameter>
                  <urn:queryId root="${#Project#LocalHCID}" extension="-abd3453dcd24wkkks545"/>
                  <urn:statusCode code="new"/>
                  <urn:responseModalityCode code="R"/>
                  <urn:responsePriorityCode code="I"/>
                  <urn:parameterList>
                 
                     <!-->
                     
                  </urn:parameterList>
               </urn:queryByParameter>
            </urn:controlActProcess>
         </urn:PRPA_IN201305UV02>
         <urn:assertion>
            <urn1:nationalProviderId>1234567890</urn1:nationalProviderId>        
            <urn1:address>
               <urn1:addressType>
                  <urn1:code>W</urn1:code>
               </urn1:addressType>
               <urn1:city>${#Project#City}</urn1:city>
               <urn1:country>${#Project#Country}</urn1:country>
               <urn1:state>${#Project#State}</urn1:state>
               <urn1:streetAddress>${#Project#StreetAddress}</urn1:streetAddress>
               <urn1:zipCode>${#Project#ZipCode}</urn1:zipCode>
            </urn1:address>
            <urn1:dateOfBirth>${#Project#DOB}</urn1:dateOfBirth>
            <urn1:explanationNonClaimantSignature>NEEDED</urn1:explanationNonClaimantSignature>
            <urn1:haveSecondWitnessSignature>true</urn1:haveSecondWitnessSignature>
            <urn1:haveSignature>true</urn1:haveSignature>
            <urn1:haveWitnessSignature>true</urn1:haveWitnessSignature>
            <urn1:homeCommunity>
               <urn1:description>${#Project#LocalHCDescription}</urn1:description>
               <urn1:homeCommunityId>${#Project#LocalHCID}</urn1:homeCommunityId>
               <urn1:name>${#Project#LocalHCDescription}</urn1:name>
            </urn1:homeCommunity>
            <urn1:personName>
               <urn1:familyName>${#Project#FamilyName}</urn1:familyName>
               <urn1:givenName>${#Project#GivenName}</urn1:givenName>
               <urn1:nameType>
                  <urn1:code>G</urn1:code>
               </urn1:nameType>
               <urn1:secondNameOrInitials>FJ</urn1:secondNameOrInitials>
               <urn1:fullName>Joe Smith</urn1:fullName>
               <urn1:prefix>Mr</urn1:prefix>
            </urn1:personName>
            <urn1:phoneNumber>
               <urn1:areaCode>123</urn1:areaCode>
               <urn1:countryCode>1</urn1:countryCode>
               <urn1:extension>1234</urn1:extension>
               <urn1:localNumber>3456789</urn1:localNumber>
               <urn1:phoneNumberType>
                  <urn1:code>W</urn1:code>
               </urn1:phoneNumberType>
            </urn1:phoneNumber>
            <urn1:secondWitnessAddress>
               <urn1:addressType>
                  <urn1:code>W</urn1:code>
               </urn1:addressType>
               <urn1:city>Melbourne</urn1:city>
               <urn1:country>US</urn1:country>
               <urn1:state>FL</urn1:state>
               <urn1:streetAddress>123 Johnson Rd</urn1:streetAddress>
               <urn1:zipCode>12345</urn1:zipCode>
            </urn1:secondWitnessAddress>
            <urn1:secondWitnessName>
               <urn1:familyName>Hughes</urn1:familyName>
               <urn1:givenName>Howie</urn1:givenName>
               <urn1:nameType>
                  <urn1:code>G</urn1:code>
               </urn1:nameType>
               <urn1:secondNameOrInitials>HH</urn1:secondNameOrInitials>
               <urn1:fullName>Howie Hughes</urn1:fullName>
               <urn1:prefix>Dr</urn1:prefix>
            </urn1:secondWitnessName>
            <urn1:secondWitnessPhone>
               <urn1:areaCode>123</urn1:areaCode>
               <urn1:countryCode>1</urn1:countryCode>
               <urn1:extension>1546</urn1:extension>
               <urn1:localNumber>4567892</urn1:localNumber>
               <urn1:phoneNumberType>
                  <urn1:code>W</urn1:code>
               </urn1:phoneNumberType>
            </urn1:secondWitnessPhone>
            <urn1:SSN>${#Project#SSN}</urn1:SSN>
            <urn1:uniquePatientId>${#Project#UniquePatientId}</urn1:uniquePatientId>
            <urn1:witnessAddress>
               <urn1:addressType>
                  <urn1:code>W</urn1:code>
               </urn1:addressType>
               <urn1:city>Frankfort</urn1:city>
               <urn1:country>US</urn1:country>
               <urn1:state>MN</urn1:state>
               <urn1:streetAddress>432 Jackson St</urn1:streetAddress>
               <urn1:zipCode>65498</urn1:zipCode>
            </urn1:witnessAddress>
            <urn1:witnessName>
               <urn1:familyName>Ugble</urn1:familyName>
               <urn1:givenName>Gary</urn1:givenName>
               <urn1:nameType>
                  <urn1:code>G</urn1:code>
               </urn1:nameType>
               <urn1:secondNameOrInitials>GU</urn1:secondNameOrInitials>
               <urn1:fullName>Gary Ugble</urn1:fullName>
               <urn1:prefix>Mr</urn1:prefix>
            </urn1:witnessName>
            <urn1:witnessPhone>
               <urn1:areaCode>987</urn1:areaCode>
               <urn1:countryCode>1</urn1:countryCode>
               <urn1:extension>6549</urn1:extension>
               <urn1:localNumber>2222222</urn1:localNumber>
               <urn1:phoneNumberType>
                  <urn1:code>H</urn1:code>
               </urn1:phoneNumberType>
            </urn1:witnessPhone>
            <urn1:userInfo>
               <urn1:personName>
                  <urn1:familyName>Anderson</urn1:familyName>
                  <urn1:givenName>Wilma</urn1:givenName>
                  <urn1:nameType>
                     <urn1:code>G</urn1:code>
                  </urn1:nameType>
                  <urn1:secondNameOrInitials>WA</urn1:secondNameOrInitials>
                  <urn1:fullName>Wilma Anderson</urn1:fullName>
                  <urn1:prefix>Mrs</urn1:prefix>
               </urn1:personName>
               <urn1:userName>UID=xxxxx</urn1:userName>
               <urn1:org>
                  <urn1:description>${#Project#LocalHCDescription}</urn1:description>
                  <urn1:homeCommunityId>${#Project#LocalHCID}</urn1:homeCommunityId>
                  <urn1:name>${#Project#LocalHCDescription}</urn1:name>
               </urn1:org>
               <urn1:roleCoded>
                  <urn1:code>307969004</urn1:code>
                  <urn1:codeSystem>2.16.840.1.113883.6.96</urn1:codeSystem>
                  <urn1:codeSystemName>SNOMED_CT</urn1:codeSystemName>
                  <urn1:codeSystemVersion>1.0</urn1:codeSystemVersion>
                  <urn1:displayName>Public health officer</urn1:displayName>
                  <urn1:originalText>Public health officer</urn1:originalText>
               </urn1:roleCoded>
            </urn1:userInfo>
            <urn1:authorized>true</urn1:authorized>
            <urn1:purposeOfDisclosureCoded>
               <urn1:code>PUBLICHEALTH</urn1:code>
               <urn1:codeSystem>2.16.840.1.113883.3.18.7.1</urn1:codeSystem>
               <urn1:codeSystemName>nhin-purpose</urn1:codeSystemName>
               <urn1:codeSystemVersion>1.0</urn1:codeSystemVersion>
               <urn1:displayName>Use or disclosure of Psychotherapy Notes</urn1:displayName>
               <urn1:originalText>Use or disclosure of Psychotherapy Notes</urn1:originalText>
            </urn1:purposeOfDisclosureCoded>
            <urn1:samlAuthnStatement>
               <urn1:authInstant></urn1:authInstant>
               <urn1:sessionIndex>987</urn1:sessionIndex>
               <urn1:authContextClassRef>urn:oasis:names:tc:SAML:2.0:ac:classes:X509</urn1:authContextClassRef>
               <urn1:subjectLocalityAddress>158.147.185.168</urn1:subjectLocalityAddress>
               <urn1:subjectLocalityDNSName>cs.myharris.net</urn1:subjectLocalityDNSName>
            </urn1:samlAuthnStatement>
            <urn1:samlIssuer>
            <urn1:issuer>CN=xxxxx,OU=SU,O=xxxxxx,L=Los Angeles,ST=CA,C=US</urn1:issuer>
            <urn1:issuerFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:X509SubjectName</urn1:issuerFormat>
            </urn1:samlIssuer>
         </urn:assertion>
         <urn:NhinTargetCommunities>
            <urn1:nhinTargetCommunity>
               <urn1:homeCommunity>
               <urn1:description>${#Project#RemoteHCDescription}</urn1:description>
               <urn1:homeCommunityId>${#Project#RemoteHCID}</urn1:homeCommunityId>
               <urn1:name>${#Project#RemoteHCDescription}</urn1:name>
               </urn1:homeCommunity>
            </urn1:nhinTargetCommunity>
         </urn:NhinTargetCommunities>
      </urn:RespondingGateway_PRPA_IN201305UV02Request>
   </soap:Body>
</soap:Envelope>
Sovann
CONNECT Product Team Member
Reply | Threaded
Open this post in threaded view
|

Re: Missing variables in DIL 'Initiating Gateway' tests

Earl Adkins
Thanks for the response, will give this a try
Reply | Threaded
Open this post in threaded view
|

Re: Missing variables in DIL 'Initiating Gateway' tests

earla12
In reply to this post by earla12
When executing the scripts in SOAPUI I am encountering multiple errors.

I have attached a file of the results from the load runner.

Appreciate any assistance.

soapui-connectr4.txt
Reply | Threaded
Open this post in threaded view
|

Re: Missing variables in DIL 'Initiating Gateway' tests

earla12
Updated SoapUI test running log.

I have been able to eliminate some of the errors, but some like 500 errors are now present.

I have attached the SOAPUI log file for help in diagnosing the issue.

soapui-latest-log.xml
Reply | Threaded
Open this post in threaded view
|

Re: Missing variables in DIL 'Initiating Gateway' tests

Earl Adkins
Bumping this thread in hopes of receiving further assistance.

Thanks,
Reply | Threaded
Open this post in threaded view
|

Re: Missing variables in DIL 'Initiating Gateway' tests

earla12
In reply to this post by earla12
I have added the 'queryparameters' to the 'G1' test and made some other modifications.
At this point I am now receiving 'Cannot Validate Request' responses.

I have included the code of the 'G1' test for help in trouble-shooting the problem.


<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:ns22="urn:hl7-org:v3" xmlns:ns23="urn:hl7-org:sdtc" xmlns:urn1="urn:gov:hhs:fha:nhinc:common:nhinccommon" xmlns:add="http://schemas.xmlsoap.org/ws/2004/08/addressing">
   <soap:Header/>
   <soap:Body testSuite="Entity_g1" testCase="Patient Discovery">
      <urn:RespondingGateway_PRPA_IN201305UV02Request>
         <urn:PRPA_IN201305UV02 ITSVersion="XML_1.0">
            <urn:id root="209.251.180.228.0.1" extension="-5a3e95b1:11d1fa33d45:-7f9b"/>
            <urn:creationTime value="20091116084800"/>
            <urn:interactionId root="2.16.840.1.113883.1.6" extension="PRPA_IN201305UV02"/>
            <urn:processingCode code="T"/>
            <urn:processingModeCode code="T"/>
            <urn:acceptAckCode code="AL"/>
            <urn:receiver typeCode="RCV">
               <urn:device classCode="DEV" determinerCode="INSTANCE">
                  <urn:id root="2.16.840.1.113883.3.1259.10.1003"/>
                  <urn:asAgent classCode="AGNT">
                     <urn:representedOrganization classCode="ORG" determinerCode="INSTANCE">
                        <urn:id root="2.16.840.1.113883.3.1259.10.1003"/>
                     </urn:representedOrganization>
                  </urn:asAgent>
               </urn:device>
            </urn:receiver>
            <urn:sender typeCode="SND">
               <urn:device classCode="DEV" determinerCode="INSTANCE">
                  <urn:id root="2.16.840.1.113883.4.366"/>
                  <urn:asAgent classCode="AGNT">
                     <urn:representedOrganization classCode="ORG" determinerCode="INSTANCE">
                        <urn:id root="2.16.840.1.113883.4.366"/>
                     </urn:representedOrganization>
                  </urn:asAgent>
               </urn:device>
            </urn:sender>
            <urn:controlActProcess classCode="CACT" moodCode="EVN">
            <urn:code code="PRPA_TE201305UV02" codeSystem="2.16.840.1.113883.1.6"/>
               <urn:authorOrPerformer typeCode="AUT">
                  <urn:assignedDevice  classCode="ASSIGNED">
                     <urn:id root="2.16.840.1.113883.4.366"/>
                  </urn:assignedDevice>
               </urn:authorOrPerformer>
               <urn:queryByParameter>
                  <urn:queryId root="2.16.840.1.113883.4.366" extension="-abd3453dcd24wkkks545"/>
                  <urn:statusCode code="new"/>
                  <urn:responseModalityCode code="R"/>
                  <urn:responsePriorityCode code="I"/>
                  <urn:parameterList>
                  <ns6:livingSubjectAdministrativeGender>
                                                <ns6:value code="M"/>
                                        </ns6:livingSubjectAdministrativeGender>
                                        <ns6:livingSubjectBirthTime>
                                                <ns6:value value="19600210"/>
                                        </ns6:livingSubjectBirthTime>
                                        <ns6:livingSubjectId>
                                                <ns6:value root="" extension=""/>
                                        </ns6:livingSubjectId>
                                        <ns6:livingSubjectName>
                                                <ns6:value>
                                                        <ns6:family partType="FAM">Carson</ns6:family>
                                                        <ns6:given partType="GIV">Robert</ns6:given>
                                                </ns6:value>
                                        </ns6:livingSubjectName>
                </urn:parameterList> 
               </urn:queryByParameter> 
            </urn:controlActProcess> 
         </urn:PRPA_IN201305UV02> 
         <urn:assertion> 
            <urn1:nationalProviderId>2.16.840.1.113883.4.366</urn1:nationalProviderId>         
            <urn1:address> 
               <urn1:addressType> 
                  <urn1:code>W</urn1:code> 
       
            <urn1:dateOfBirth>19600210</urn1:dateOfBirth> 
            <urn1:explanationNonClaimantSignature>NEEDED</urn1:explanationNonClaimantSignature> 
            <urn1:haveSecondWitnessSignature>true</urn1:haveSecondWitnessSignature> 
            <urn1:haveSignature>true</urn1:haveSignature> 
            <urn1:haveWitnessSignature>true</urn1:haveWitnessSignature> 
            <urn1:homeCommunity> 
               <urn1:description>SEMHIE</urn1:description> 
               <urn1:homeCommunityId>2.16.840.1.113883.4.366</urn1:homeCommunityId> 
               <urn1:name>SEMHIE</urn1:name> 
            </urn1:homeCommunity> 
            <urn1:personName> 
               <urn1:familyName>Carson</urn1:familyName> 
               <urn1:givenName>Robert</urn1:givenName> 
               <urn1:nameType> 
                  <urn1:code>G</urn1:code> 
               </urn1:nameType> 
       
               <urn1:userName>UID=xxxxx</urn1:userName> 
               <urn1:org> 
                  <urn1:description>SEMHIE</urn1:description> 
                  <urn1:homeCommunityId>2.16.840.1.113883.4.366</urn1:homeCommunityId> 
                  <urn1:name>SEMHIE</urn1:name> 
               </urn1:org> 
               <urn1:roleCoded> 
                  <urn1:code>307969004</urn1:code> 
                  <urn1:codeSystem>2.16.840.1.113883.6.96</urn1:codeSystem> 
                  <urn1:codeSystemName>SNOMED_CT</urn1:codeSystemName> 
                  <urn1:codeSystemVersion>1.0</urn1:codeSystemVersion> 
                  <urn1:displayName>Public health officer</urn1:displayName> 
                  <urn1:originalText>Public health officer</urn1:originalText> 
               </urn1:roleCoded> 
            </urn1:userInfo> 
            <urn1:authorized>true</urn1:authorized> 
            <urn1:purposeOfDisclosureCoded> 
               <urn1:code>PUBLICHEALTH</urn1:code> 
               <urn1:codeSystem>2.16.840.1.113883.3.18.7.1</urn1:codeSystem> 
               <urn1:codeSystemName>nhin-purpose</urn1:codeSystemName> 
               <urn1:codeSystemVersion>1.0</urn1:codeSystemVersion> 
               <urn1:displayName>Use or disclosure of Psychotherapy Notes</urn1:displayName> 
               <urn1:originalText>Use or disclosure of Psychotherapy Notes</urn1:originalText> 
            </urn1:purposeOfDisclosureCoded> 
            <urn1:samlAuthnStatement> 
               <urn1:authInstant></urn1:authInstant> 
               <urn1:sessionIndex>987</urn1:sessionIndex> 
               <urn1:authContextClassRef>urn:oasis:names:tc:SAML:2.0:ac:classes:X509</urn1:authContextClassRef> 
               <urn1:subjectLocalityAddress>158.147.185.168</urn1:subjectLocalityAddress> 
               <urn1:subjectLocalityDNSName>cs.myharris.net</urn1:subjectLocalityDNSName> 
            </urn1:samlAuthnStatement> 
            <urn1:samlIssuer> 
            <urn1:issuer>CN=xxxxx,OU=SU,O=xxxxxx,L=Los Angeles,ST=CA,C=US</urn1:issuer> 
            <urn1:issuerFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:X509SubjectName</urn1:issuerFormat> 
            </urn1:samlIssuer> 
         </urn:assertion> 
         <urn:NhinTargetCommunities> 
            <urn1:nhinTargetCommunity> 
               <urn1:homeCommunity> 
               <urn1:description>DIL</urn1:description> 
               <urn1:homeCommunityId>2.16.840.1.113883.3.1259.10.1003</urn1:homeCommunityId> 
               <urn1:name>DIL</urn1:name> 
               </urn1:homeCommunity> 
            </urn1:nhinTargetCommunity> 
         </urn:NhinTargetCommunities> 
      </urn:RespondingGateway_PRPA_IN201305UV02Request> 
   </soap:Body> 
</soap:Envelope> 
Reply | Threaded
Open this post in threaded view
|

Re: Missing variables in DIL 'Initiating Gateway' tests

Sovann Huynh
Administrator
Earl, can you attach your full server log?
Sovann
CONNECT Product Team Member
Reply | Threaded
Open this post in threaded view
|

Re: Missing variables in DIL 'Initiating Gateway' tests

earla12
Here is the Server log.  Hope it helps.

server-log-11-16-17.zip
Reply | Threaded
Open this post in threaded view
|

Re: Missing variables in DIL 'Initiating Gateway' tests

Sovann Huynh
Administrator
Earl, there are no messages in the server log. I'd need a log with the http dump so I can see all the messages going in and out.

The best way we could assist you is if you can get answers from Sequoia and exactly what data values are incorrect or missing.
Sovann
CONNECT Product Team Member
Reply | Threaded
Open this post in threaded view
|

Re: Missing variables in DIL 'Initiating Gateway' tests

earla12
I have attached a report with the missing variables as requested :)

eHealth_Exchange_Participant_Testing_Summary_Report_SEMHIE_2017-10-24.pdf

Thanks again for your assistance
Reply | Threaded
Open this post in threaded view
|

Re: Missing variables in DIL 'Initiating Gateway' tests

Sovann Huynh
Administrator
From where I posted a sample entity message above, do you have a similar ITSVersion attribute defined in yours?

<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:urn="urn:hl7-org:v3" xmlns:urn1="urn:gov:hhs:fha:nhinc:common:nhinccommon" xmlns:add="http://schemas.xmlsoap.org/ws/2004/08/addressing">
   <soap:Header/>
   <soap:Body testSuite="Entity_g1" testCase="Patient Discovery">
      <urn:RespondingGateway_PRPA_IN201305UV02Request>
         <urn:PRPA_IN201305UV02 ITSVersion="XML_1.0">

This allows the following to be generated:

<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
        <soap:Header>
                <Action xmlns="http://www.w3.org/2005/08/addressing" soap:mustUnderstand="true">urn:hl7-org:v3:PRPA_IN201306UV02:CrossGatewayPatientDiscovery</Action>
                <MessageID xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:1aad8746-9156-4140-b95a-925e406c31ed</MessageID>
                <To xmlns="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/anonymous</To>
                <RelatesTo xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:ac492493-836e-4064-a809-98e79ef4d056</RelatesTo>
                <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" soap:mustUnderstand="true">
                        <wsu:Timestamp wsu:Id="TS-185d84b7-b935-47d4-94e4-8671ad20e7c6">
                                <wsu:Created>2017-11-21T17:09:49.463Z</wsu:Created>
                                <wsu:Expires>2017-11-21T17:14:49.463Z</wsu:Expires>
                        </wsu:Timestamp>
                        <wsse11:SignatureConfirmation xmlns:wsse11="http://docs.oasis-open.org/wss/oasis-wss-wssecurity-secext-1.1.xsd" Value="W2OppPTsirCawNtwt2lezVkaPp/nvVMBf1ygYk/cZvKjVNB4olM7y8aub/4c/2qKqZA6Mh6ExyrM+NJ3PWw4WWidq64dYQE5Q3M5v3n0q6GFh9ZWpTwzsd7N5njLIT2E5C6uZvJ2OW8iwBDZXj8POTFoW8ykxr5Tu3xvRYjPsWE=" wsu:Id="SC-44873bda-8425-480f-89ef-daaced7909d5"/>
                </wsse:Security>
        </soap:Header>
        <soap:Body>
                <PRPA_IN201306UV02 xmlns="urn:hl7-org:v3" xmlns:ns2="urn:hl7-org:sdtc" xmlns:ns3="urn:gov:hhs:fha:nhinc:common:nhinccommon" xmlns:ns4="http://www.w3.org/2005/08/addressing" xmlns:ns5="urn:gov:hhs:fha:nhinc:common:patientcorrelationfacade" xmlns:ns6="http://www.hhs.gov/healthit/nhin" xmlns:ns7="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" xmlns:ns8="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0" xmlns:ns9="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0" ITSVersion="XML_1.0">
Sovann
CONNECT Product Team Member
Reply | Threaded
Open this post in threaded view
|

Re: Missing variables in DIL 'Initiating Gateway' tests

earla12
The error report was from before when I was attempting to complete the 'initiating DIL' tests with the AdminGUI.  Since you notified me of an 'Edge system' being required for the 'initiating' tests, I have been attempting to utilze the test sample you provided.

I have disabled all of the test steps with the exception of course of the Patient Discovery.  Being a novice at this leaves me at a disadvantage...lol

The result of running the test in SOAPUI
 
<S:Envelope xmlns:S="http://www.w3.org/2003/05/soap-envelope">
   <S:Body>
      <S:Fault xmlns:ns4="http://schemas.xmlsoap.org/soap/envelope/">
         <S:Code>
            <S:Value>S:Receiver</S:Value>
         </S:Code>
         <S:Reason>
            <S:Text xml:lang="en">Cannot validate request</S:Text>
         </S:Reason>
      </S:Fault>
   </S:Body>
</S:Envelope>

Code being ran:

<?xml version="1.0"?>

-<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">


-<soap:Header>


-<wsse:Security soap:mustUnderstand="true" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">


-<saml2:Assertion Version="2.0" IssueInstant="2017-10-06T18:23:21.231Z" ID="_409036051a574a21b63ba6b434e3579d" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:saml2="urn:oasis:names:tc:SAML:2.0:assertion">

<saml2:Issuer Format="urn:oasis:names:tc:SAML:1.1:nameid-format:X509SubjectName">CN=SAML User,OU=SU,O=SAML User,L=Los Angeles,ST=CA,C=US</saml2:Issuer>


-<ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#">


-<ds:SignedInfo>

<ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>

<ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>


-<ds:Reference URI="#_409036051a574a21b63ba6b434e3579d">


-<ds:Transforms>

<ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>


-<ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#">

<ec:InclusiveNamespaces PrefixList="xs" xmlns:ec="http://www.w3.org/2001/10/xml-exc-c14n#"/>

</ds:Transform>

</ds:Transforms>

<ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>

<ds:DigestValue>i0FjciSPVuztNZIqhgIZosKix+U=</ds:DigestValue>

</ds:Reference>

</ds:SignedInfo>

<ds:SignatureValue>Mc88Rfb8qjjrV31Yvld+rXT8bmc/PQD9drLc8mO4FBl81u+xxiUCl+KOgS/3bwO5ZrpjvM2ZaY2vLInP6G0yNT1Q3KxzIOI4l36YPHEq/pMyqNAnwF3C9N7isGQeURfjpmMPAn90Ew68wAyuQEU4f4vP5M530xTHOmcBJQHfg8zc9e8XNDjwa6p81+hw4PhWv7X0gagNaV6Xii4zc4sVjEUABrAzhgRQqNvC0EAG2pLHvUiC+55iYOJp8CkN1ngInUePDmDb6iRuCTdDlWnF6mIoEZoOoxGUtWEpjsoDL04vTBirKHdZ1SGedL+UrXNXdlRAkofW7ZIR5IHhgs+K5Q==</ds:SignatureValue>


-<ds:KeyInfo>


-<ds:KeyValue>


-<ds:RSAKeyValue>

<ds:Modulus>hO2pa6G/IuGPn3k6IMY6ajJ+4NrFbmVqnRSv/yZRNW45Gj2xpPUsVqWAeAOzuvNu7aP66Rlk4jQ5 pb5KmrX7XS6kg8q/7ksAEjtpPb12w8ErjMNXzqwKrP9x8nJBxAy7m+ntpYBBxbo3SNis1mRmehOV 8he2YrltqlRmdZGo+y9BBWZSuVT0b49N77cbcQpbfpHq7VtUzm6cruPOkD1PLWcAbiXXkncTK+A2 Ai+gO10lkj/g5ha5MG4IWFNCcU1x5YnA9w2Zu7y6uBeWHENaX65M824JDB+3omvbOo+3AdNCSopV 6hbwrL9/m7b/MrU9aFi6cYlVZUdIslKKWVXa0Q==</ds:Modulus>

<ds:Exponent>AQAB</ds:Exponent>

</ds:RSAKeyValue>

</ds:KeyValue>

</ds:KeyInfo>

</ds:Signature>


-<saml2:Subject>

<saml2:NameID Format="urn:oasis:names:tc:SAML:1.1:nameid-format:X509SubjectName">C=US, O=AEGISnetInc, CN=test.semhie.org</saml2:NameID>


-<saml2:SubjectConfirmation Method="urn:oasis:names:tc:SAML:2.0:cm:holder-of-key">


-<saml2:SubjectConfirmationData>


-<ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">


-<ds:KeyValue>


-<ds:RSAKeyValue>

<ds:Modulus>hO2pa6G/IuGPn3k6IMY6ajJ+4NrFbmVqnRSv/yZRNW45Gj2xpPUsVqWAeAOzuvNu7aP66Rlk4jQ5 pb5KmrX7XS6kg8q/7ksAEjtpPb12w8ErjMNXzqwKrP9x8nJBxAy7m+ntpYBBxbo3SNis1mRmehOV 8he2YrltqlRmdZGo+y9BBWZSuVT0b49N77cbcQpbfpHq7VtUzm6cruPOkD1PLWcAbiXXkncTK+A2 Ai+gO10lkj/g5ha5MG4IWFNCcU1x5YnA9w2Zu7y6uBeWHENaX65M824JDB+3omvbOo+3AdNCSopV 6hbwrL9/m7b/MrU9aFi6cYlVZUdIslKKWVXa0Q==</ds:Modulus>

<ds:Exponent>AQAB</ds:Exponent>

</ds:RSAKeyValue>

</ds:KeyValue>

</ds:KeyInfo>

</saml2:SubjectConfirmationData>

</saml2:SubjectConfirmation>

</saml2:Subject>


-<saml2:AuthnStatement AuthnInstant="2009-04-16T13:15:39.000Z">


-<saml2:AuthnContext>

<saml2:AuthnContextClassRef>urn:oasis:names:tc:SAML:2.0:ac:classes:X509</saml2:AuthnContextClassRef>

</saml2:AuthnContext>

</saml2:AuthnStatement>


-<saml2:AttributeStatement>


-<saml2:Attribute NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri" Name="urn:oasis:names:tc:xspa:1.0:subject:subject-id">

<saml2:AttributeValue xsi:type="xs:string" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">ADAM ADAM</saml2:AttributeValue>

</saml2:Attribute>

</saml2:AttributeStatement>


-<saml2:AttributeStatement>


-<saml2:Attribute NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri" Name="urn:oasis:names:tc:xspa:1.0:subject:organization">

<saml2:AttributeValue xsi:type="xs:string" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">AirCare</saml2:AttributeValue>

</saml2:Attribute>

</saml2:AttributeStatement>


-<saml2:AttributeStatement>


-<saml2:Attribute NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri" Name="urn:oasis:names:tc:xacml:2.0:subject:role">


-<saml2:AttributeValue>

<hl7:Role xsi:type="hl7:CE" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:hl7="urn:hl7-org:v3"/>

</saml2:AttributeValue>

</saml2:Attribute>

</saml2:AttributeStatement>


-<saml2:AttributeStatement>


-<saml2:Attribute NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri" Name="urn:oasis:names:tc:xspa:1.0:subject:purposeofuse">


-<saml2:AttributeValue>

<hl7:PurposeOfUse xsi:type="hl7:CE" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:hl7="urn:hl7-org:v3" displayName="Use or disclosure of Psychotherapy Notes" codeSystemName="nhin-purpose" codeSystem="2.16.840.1.113883.3.18.7.1" code="PSYCHOTHERAPY"/>

</saml2:AttributeValue>

</saml2:Attribute>

</saml2:AttributeStatement>

</saml2:Assertion>


-<ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Id="SIG-54">


-<ds:SignedInfo>


-<ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#">

<ec:InclusiveNamespaces PrefixList="soap" xmlns:ec="http://www.w3.org/2001/10/xml-exc-c14n#"/>

</ds:CanonicalizationMethod>

<ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>


-<ds:Reference URI="#TS-53">


-<ds:Transforms>


-<ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#">

<ec:InclusiveNamespaces PrefixList="wsse soap" xmlns:ec="http://www.w3.org/2001/10/xml-exc-c14n#"/>

</ds:Transform>

</ds:Transforms>

<ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>

<ds:DigestValue>RZ23JxNAlOfVrskJvaEnLiVB+lw=</ds:DigestValue>

</ds:Reference>

</ds:SignedInfo>

<ds:SignatureValue>BlmmxU7pgQZQfKWyfjvXBtu6HM+lB9d84E/Bj1BYxn0TOqQheCQJjuOhtJqnh5xQodlJ6bj6EhSTV1hQrrtnwhN3G25fMjvHoVX1tc1wfFSKQxZKagVC2lQYJi7jJmpbIENhI44bMpts8pE4vOSXqiqo+hKnbo7xVC+t6cjT2vUbspJ2lXUSuCW2t7mrccgEubnlEZxVDNqkuuEkm41j8jyzh5qpNR8pWki7NVfY8i632qeKoyd+lFoDW4ZOyK8WVnPpkUf39fs89mxueXDEf/xKMsidpJPuhvuidp80agOZjOudR9Uc5q7bShxKl9aOLbS7D61JGSuZ68AuQHeQwg==</ds:SignatureValue>


-<ds:KeyInfo Id="KeyId-D85D43159F52835159150731420129323">


-<wsse:SecurityTokenReference wsu:Id="STRId-D85D43159F52835159150731420129324" wsse11:TokenType="http://docs.oasis-open.org/wss/oasis-wss-saml-token-profile-1.1#SAMLV2.0" xmlns:wsse11="http://docs.oasis-open.org/wss/oasis-wss-wssecurity-secext-1.1.xsd">

<wsse:KeyIdentifier ValueType="http://docs.oasis-open.org/wss/oasis-wss-saml-token-profile-1.1#SAMLID">_409036051a574a21b63ba6b434e3579d</wsse:KeyIdentifier>

</wsse:SecurityTokenReference>

</ds:KeyInfo>

</ds:Signature>


-<wsu:Timestamp wsu:Id="TS-53">

<wsu:Created>2017-10-06T18:23:21.215Z</wsu:Created>

<wsu:Expires>2017-10-06T19:23:21.215Z</wsu:Expires>

</wsu:Timestamp>

</wsse:Security>

<Action soap:mustUnderstand="true" xmlns="http://www.w3.org/2005/08/addressing">urn:hl7-org:v3:PRPA_IN201305UV02:CrossGatewayPatientDiscovery</Action>

<MessageID xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:558bf55f-435b-49c7-8d7a-231336ad8348</MessageID>

<To xmlns="http://www.w3.org/2005/08/addressing">https://dilhn003.dil.aegis.net:443/Gateway/PatientDiscovery/1_0/NhinService/NhinPatientDiscovery</To>


-<ReplyTo soap:mustUnderstand="true" xmlns="http://www.w3.org/2005/08/addressing">

<Address>http://www.w3.org/2005/08/addressing/anonymous</Address>

</ReplyTo>

</soap:Header>


-<soap:Body>


-<PRPA_IN201305UV02 xmlns="urn:hl7-org:v3" xmlns:ns9="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0" xmlns:ns8="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0" xmlns:ns7="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" xmlns:ns6="http://www.hhs.gov/healthit/nhin" xmlns:ns5="http://www.w3.org/2005/08/addressing" xmlns:ns4="urn:gov:hhs:fha:nhinc:common:patientcorrelationfacade" xmlns:ns3="urn:gov:hhs:fha:nhinc:common:nhinccommon" xmlns:ns2="urn:hl7-org:sdtc">

<creationTime value="20171006142237"/>


-<receiver typeCode="RCV">


-<device>


-<asAgent>


-<representedOrganization>

<id root="2.16.840.1.113883.3.1259.10.1003"/>

</representedOrganization>

</asAgent>

</device>

</receiver>


-<sender typeCode="SND">


-<device>


-<asAgent>


-<representedOrganization>

<id root="urn:oid:2.16.840.1.113883.4.366"/>

</representedOrganization>

</asAgent>

</device>

</sender>


-<controlActProcess moodCode="EVN" classCode="CACT">


-<authorOrPerformer>


-<assignedDevice>

<id root="urn:oid:2.16.840.1.113883.4.366"/>

</assignedDevice>

</authorOrPerformer>


-<queryByParameter>

<statusCode code="new"/>

<responseModalityCode code="R"/>

<responsePriorityCode code="I"/>


-<parameterList>


-<livingSubjectAdministrativeGender>

<value code="M"/>

</livingSubjectAdministrativeGender>


-<livingSubjectBirthTime>

<value value="19600210"/>

</livingSubjectBirthTime>


-<livingSubjectId>

<value root="" extension=""/>

</livingSubjectId>


-<livingSubjectName>


-<value>

<family partType="FAM">Carson</family>

<given partType="GIV">Robert</given>

</value>

</livingSubjectName>

</parameterList>

</queryByParameter>

</controlActProcess>

</PRPA_IN201305UV02>

</soap:Body>

</soap:Envelope>