Implementing 5.1. seeing that Connect is not adding soapheader with action

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

Implementing 5.1. seeing that Connect is not adding soapheader with action

jrodriguez@itsguardian.com

We would like to know as it is expected for the Soap message to have a header with an action, why is this header being removed when it goes to our services. We have implemented the patient discovery but when we expect the findPatients request, it has no header and we are failing. This wasn't the case in previous connect.

our service is expecting the soap:Header section in the incoming message
and that is not coming from CONNECT gateway

We are using .NET and using the Message library to implement the services. The error we get is:

2018-04-13 13:25:20,475 DEBUG [org.apache.cxf.transport.http.Headers] (default task-1) Accept: */*
2018-04-13 13:25:20,475 DEBUG [org.apache.cxf.transport.http.HTTPConduit] (default task-1) No Trust Decider for Conduit '{urn:gov:hhs:fha:nhinc:adaptermpi}AdapterMpiPortTypePort.http-conduit'. An affirmative Trust Decision is assumed.
2018-04-13 13:25:20,475 DEBUG [org.apache.cxf.transport.http.HTTPConduit] (default task-1) Sending POST Message with Headers to http://10.252.0.68/Adapter/PatientDiscovery/A_0/AdapterComponentMpi.svc Conduit :{urn:gov:hhs:fha:nhinc:adaptermpi}AdapterMpiPortTypePort.http-conduit

2018-04-13 13:25:20,490 DEBUG [org.apache.cxf.phase.PhaseInterceptorChain] (default task-1) Invoking handleMessage on interceptor org.apache.cxf.binding.soap.interceptor.SoapOutInterceptor$SoapOutEndingInterceptor@11130f23
2018-04-13 13:25:20,490 DEBUG [org.apache.cxf.phase.PhaseInterceptorChain] (default task-1) Invoking handleMessage on interceptor org.apache.cxf.interceptor.StaxOutEndingInterceptor@7c6e616e
2018-04-13 13:25:20,490 DEBUG [org.apache.cxf.phase.PhaseInterceptorChain] (default task-1) Invoking handleMessage on interceptor org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor@53f85f92
2018-04-13 13:25:20,490 INFO  [org.apache.cxf.services.AdapterMpiPortTypeService.AdapterMpiPortTypePort.AdapterMpiPortType] (default task-1) Outbound Message
---------------------------
ID: 2
Address: http://10.252.0.68/Adapter/PatientDiscovery/A_0/AdapterComponentMpi.svc
Encoding: UTF-8
Http-Method: POST
Content-Type: application/soap+xml; action="FindCandidates"
Headers: {Accept=[*/*]}
Payload: <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"><soap:Body><RespondingGateway_PRPA_IN201305UV02Request xmlns="urn:hl7-org:v3" xmlns:ns2="urn:hl7-org:sdtc" xmlns:ns3="urn:gov:hhs:fha:nhinc:common:nhinccommon" xmlns:ns4="urn:gov:hhs:fha:nhinc:common:patientcorrelationfacade" xmlns:ns5="http://www.w3.org/2005/08/addressing"><PRPA_IN201305UV02 ITSVersion="XML_1.0"><id root="2.16.840.1.113883.3.1259.10.1003" extension="-5a3e95b1:11d1fa33d45:-7f9b"/><creationTime value="20120618155123"/><interactionId root="2.16.840.1.113883.1.6" extension="PRPA_IN201305UV02"/><processingCode code="T"/><processingModeCode code="T"/><acceptAckCode code="AL"/><receiver typeCode="RCV"><device classCode="DEV" determinerCode="INSTANCE"><id root="2.16.840.1.113883.3.6810.23"/><asAgent classCode="AGNT"><representedOrganization classCode="ORG" determinerCode="INSTANCE"><id root="2.16.840.1.113883.3.6810.23"/></representedOrganization></asAgent></device></receiver><sender typeCode="SND"><device classCode="DEV" determinerCode="INSTANCE"><id root="2.16.840.1.113883.3.1259.10.1003"/><asAgent classCode="AGNT"><representedOrganization classCode="ORG" determinerCode="INSTANCE"><id root="2.16.840.1.113883.3.1259.10.1003"/></representedOrganization></asAgent></device></sender><controlActProcess classCode="CACT" moodCode="EVN"><code code="PRPA_TE201305UV02" codeSystem="2.16.840.1.113883.1.6"/><authorOrPerformer typeCode="AUT" contextControlCode="AP"><assignedDevice classCode="ASSIGNED"><id root="2.16.840.1.113883.3.1259.10.1003"/></assignedDevice></authorOrPerformer><queryByParameter><queryId root="2.16.840.1.113883.3.1259.10.1003" extension="-abd3453dcd24wkkks545"/><statusCode code="new"/><responseModalityCode code="R"/><responsePriorityCode code="I"/><parameterList><livingSubjectAdministrativeGender><value code="F"/><semanticsText>LivingSubject.administrativeGender</semanticsText></livingSubjectAdministrativeGender><livingSubjectBirthTime><value value="19831017" operator="I"/><semanticsText>LivingSubject.birthTime</semanticsText></livingSubjectBirthTime><livingSubjectId><value root="2.16.840.1.113883.4.1" extension="666660010"/><semanticsText>LivingSubject.id</semanticsText></livingSubjectId><livingSubjectId><value root="2.16.840.1.113883.3.1259.10.1003" extension="RI0004.000000010"/><semanticsText>LivingSubject.id</semanticsText></livingSubjectId><livingSubjectName><value><family partType="FAM">Davidson</family><given partType="GIV">Amy</given><given partType="GIV">C</given> 
      </value><semanticsText>LivingSubject.name</semanticsText></livingSubjectName><patientAddress><value><postBox partType="POB"></postBox><city partType="CTY">Springfield</city><state partType="STA">MO</state><postalCode partType="ZIP">65801</postalCode><country partType="CNT">USA</country><streetAddressLine partType="SAL">809 First Ave</streetAddressLine> 
      </value><semanticsText>Patient.addr</semanticsText></patientAddress></parameterList></queryByParameter></controlActProcess></PRPA_IN201305UV02><assertion><ns3:homeCommunity><ns3:homeCommunityId>urn:oid:2.16.840.1.113883.3.1259.10.1003</ns3:homeCommunityId></ns3:homeCommunity><ns3:uniquePatientId>RI0004.000000010^^^&2.16.840.1.113883.3.1259.10.1003&ISO</ns3:uniquePatientId><ns3:userInfo><ns3:personName><ns3:familyName>Testcase</ns3:familyName><ns3:givenName>Lab</ns3:givenName><ns3:secondNameOrInitials>IT</ns3:secondNameOrInitials><ns3:fullName>Lab IT Testcase</ns3:fullName></ns3:personName><ns3:userName>UID=TS: PRL-R-0000.0-2011 TC: PD-R-0000.0-2011</ns3:userName><ns3:org><ns3:homeCommunityId>urn:oid:2.16.840.1.113883.3.1259.10.1003</ns3:homeCommunityId><ns3:name>2.16.840.1.113883.3.1259.10.1003</ns3:name></ns3:org><ns3:roleCoded><ns3:code>46255001</ns3:code><ns3:codeSystem>2.16.840.1.113883.6.96</ns3:codeSystem><ns3:codeSystemName>SNOMED_CT</ns3:codeSystemName><ns3:displayName>Pharmacist</ns3:displayName></ns3:roleCoded></ns3:userInfo><ns3:authorized>false</ns3:authorized><ns3:purposeOfDisclosureCoded><ns3:code>TREATMENT</ns3:code><ns3:codeSystem>2.16.840.1.113883.3.18.7.1</ns3:codeSystem><ns3:codeSystemName>nhin-purpose</ns3:codeSystemName><ns3:displayName>Treatment</ns3:displayName></ns3:purposeOfDisclosureCoded><ns3:samlAuthnStatement><ns3:authInstant>2018-04-13T17:25:51.946Z</ns3:authInstant><ns3:authContextClassRef>urn:oasis:names:tc:SAML:2.0:ac:classes:X509</ns3:authContextClassRef></ns3:samlAuthnStatement><ns3:samlSignature><ns3:keyInfo><ns3:rsaKeyValueModulus></ns3:rsaKeyValueModulus><ns3:rsaKeyValueExponent></ns3:rsaKeyValueExponent></ns3:keyInfo><ns3:signatureValue></ns3:signatureValue></ns3:samlSignature><ns3:samlIssuer><ns3:issuer>C=US,O=AEGISnetInc,CN=dilhn003.dil.aegis.net</ns3:issuer><ns3:issuerFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:X509SubjectName</ns3:issuerFormat></ns3:samlIssuer><ns3:samlSubjectConfirmations><ns3:method>urn:oasis:names:tc:SAML:2.0:cm:holder-of-key</ns3:method><ns3:subjectCondition/></ns3:samlSubjectConfirmations><ns3:messageId>urn:uuid:b8ab76e7-25ef-4ce0-85de-a622c0d18552</ns3:messageId><ns3:relatesToList xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/></assertion></RespondingGateway_PRPA_IN201305UV02Request></soap:Body></soap:Envelope>
--------------------------------------
2018-04-13 13:25:20,521 DEBUG [org.apache.cxf.phase.PhaseInterceptorChain] (default task-1) Invoking handleFault on interceptor org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor@53f85f92
2018-04-13 13:25:20,521 DEBUG [org.apache.cxf.phase.PhaseInterceptorChain] (default task-1) Invoking handleFault on interceptor org.apache.cxf.interceptor.StaxOutEndingInterceptor@7c6e616e
2018-04-13 13:25:20,521 DEBUG [org.apache.cxf.phase.PhaseInterceptorChain] (default task-1) Invoking handleFault on interceptor org.apache.cxf.binding.soap.interceptor.SoapOutInterceptor$SoapOutEndingInterceptor@11130f23
2018-04-13 13:25:20,521 DEBUG [org.apache.cxf.phase.PhaseInterceptorChain] (default task-1) Invoking handleFault on interceptor org.apache.cxf.wsdl.interceptors.BareOutInterceptor@7d1ea924
2018-04-13 13:25:20,521 DEBUG [org.apache.cxf.phase.PhaseInterceptorChain] (default task-1) Invoking handleFault on interceptor org.apache.cxf.binding.soap.interceptor.SoapOutInterceptor@96cbaf5
2018-04-13 13:25:20,521 DEBUG [org.apache.cxf.phase.PhaseInterceptorCh...

Please help!





Reply | Threaded
Open this post in threaded view
|

Re: Implementing 5.1. seeing that Connect is not adding soapheader with action

Minh
Administrator
Hi,
Have you resolve your issue yet?  Since you use unsecure endpoint, there will not have any soapheader.  
Hope this helps.

Minh-Hai Nguyen
CONNECT Product Team Member