help needed on wsse:Security header elements to be passed for GenericBatchResponseTransaction

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

help needed on wsse:Security header elements to be passed for GenericBatchResponseTransaction

anji
This post was updated on .
Hi all,
   I am trying to call this webservice
http:/<hostname>:8080/Gateway/CORE_X12DocumentSubmission/1_0/GenericBatchResponseTransaction_Service

SOAP Request:
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:cor="http://www.caqh.org/SOAP/WSDL/CORERule2.2.0.xsd" xmlns:urn="urn:gov:hhs:fha:nhinc:common:nhinccommonentity" xmlns:urn1="urn:gov:hhs:fha:nhinc:common:nhinccommon" xmlns:add="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:urn2="urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0" xmlns:urn3="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0" xmlns:urn4="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" xmlns:urn5="urn:ihe:iti:xds-b:2007">
   
  <soap:Header>
     <wsse:Security>
   <wsse11:SignatureConfirmation xmlns:wsse11="http://docs.oasis-open.org/wss/oasis-wss-wssecurity-secext-1.1.xsd" Value="Uk1mcI+zBnDxJ4Z+AqoHxCLxZVZlVGgfB5zW/jO7xFyt97DvUjk6xDaC4lNxvrOvSwpnwEe9iq8548BommlWNHbN40UKwmYTP8Dq3vY1pmewswdcQmQ2S5VitjpOTaj7RHzg7dIXJPjFoKUBXKzFxglnLJrajy3VMgfUv0iPbylMqMCJoptJN2v0Yux/TXvwyjO9ES50bMA7GYSslkWNEWXOmJJQfImwAb+xjdP6s0sQ4ixGK05/dWP8M7Iw/RL/rHh4mLgh39DoUA9ljJ5lZNYWMfGUm6Er578Blyc0/wTETPB/hkywfxWVzV6zhwhYjm5q498V59ieafXnMgO+DA==" wsu:Id="SC-162"/>
   </wsse:Security>
   </soap:Header>
   
   <soap:Body>
       
     <cor:COREEnvelopeBatchSubmission>
         <PayloadType>X12_278_Request_005010X217E1_2</PayloadType>
         <ProcessingMode>RealTime</ProcessingMode>
         <PayloadID>somepayloadid</PayloadID>
         <PayloadLength>739</PayloadLength>
         <TimeStamp>2016-10-15T14:45:21Z</TimeStamp>
         <SenderID>somesenderid</SenderID>
         <ReceiverID>somerecvrid</ReceiverID>
         <CORERuleVersion>v2.2.0</CORERuleVersion>
         <CheckSum>?</CheckSum>
         <Payload>somepayload</Payload>
     </cor:COREEnvelopeBatchSubmission>
   </soap:Body>
</soap:Envelope>


SOAP Response:

<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
   <soap:Header>
      <Action xmlns="http://www.w3.org/2005/08/addressing">http://www.caqh.org/SOAP/WSDL/GenericBatchTransactionPort/BatchSubmitTransaction/Fault/PolicyException</Action>
      <MessageID xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:556cb6de-e2ce-4cfc-8af3-b294b2764aeb</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">uuid:93732bde-bc11-4474-8458-67ea05f5c676</RelatesTo>
   </soap:Header>
   <soap:Body>
      <soap:Fault>
         <soap:Code>
            <soap:Value>soap:Receiver</soap:Value>
         </soap:Code>
         <soap:Reason>
            <soap:Text xml:lang="en">These policy alternatives can not be satisfied:
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}TransportBinding: TLS is not enabled
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}HttpsToken
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}TransportToken
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}IncludeTimestamp
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}EndorsingSupportingTokens: The received token does not match the endorsing supporting token requirement
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}SamlToken: The received token does not match the token inclusion requirement</soap:Text>
         </soap:Reason>
      </soap:Fault>
   </soap:Body>
</soap:Envelope>

Can somebody help me out what could be the <wsse:security> content to be passed to get rid of the above issue?? Your quick help is much appreciated.

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

Re: help needed on wsse:Security header elements to be passed for GenericBatchResponseTransaction

Minh
Administrator
hi,

I think you miss a lot of elements in soapheader.  Have you run our BatchSummitResponse Transaction test case under g0 (locates inside our ValidationSuite)?  Once you run it, you can see how request transform between entity layer to "nhin" layer (your instance) and see what you miss.  
Minh-Hai Nguyen
CONNECT Product Team Member
Reply | Threaded
Open this post in threaded view
|

Re: help needed on wsse:Security header elements to be passed for GenericBatchResponseTransaction

anji
Hi,
  Thank you very much for your reply. But, I haven't seen any header.
sneak peak of nhin transformed request gathered from server log file....

<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:urn="urn:gov:hhs:fha:nhinc:common:nhinccommonentity" xmlns:cor="http://www.caqh.org/SOAP/WSDL/CORERule2.2.0.xsd" xmlns:urn1="urn:gov:hhs:fha:nhinc:common:nhinccommon">
   <soap:Header/>
   <soap:Body>
      <urn:RespondingGateway_CrossGatewayBatchSubmissionRequest>
         <cor:COREEnvelopeBatchSubmission>
            <PayloadType>X12_270_Request_005010X279A1</PayloadType>
            <ProcessingMode>Batch</ProcessingMode>


Thanks & Regards,
Anji
Reply | Threaded
Open this post in threaded view
|

Re: help needed on wsse:Security header elements to be passed for GenericBatchResponseTransaction

Minh
Administrator
Just want to follow up with you on this. Are you able to pass this issue or still experience the same problem?

Thanks,
Minh-Hai Nguyen
CONNECT Product Team Member