web stats
CMS SOAP Request Message Header - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 01-27-2016, 04:23 AM
bbushelle bbushelle is offline
Mirth Newb
 
Join Date: Jul 2015
Location: Carmel, IN
Posts: 7
bbushelle is on a distinguished road
Default CMS SOAP Request Message Header

I am trying to send 270 messages to Medicare via an HTTPS sender in Mirth. I have everything configured, the certs imported and selected on the destination, and the envelope created but I am struggling to create the SOAP header. Below is the example header given in the companion guide (https://www.cms.gov/Research-Statist...nnectivity.pdf) but I cannot figure out where I need to place our cert info and how to digitally sign it.

I have no prior experience with this, so any help would be greatly appreciated.

Thanks. I am on Mirth 3.2.2

<soap:Header>
<wsse:Security soap:mustUnderstand="true" 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">
<wsu:Timestamp wsu:Id="id-155">
<wsu:Created>${timeStamp}</wsu:Created>
<wsu:Expires>${timeStamp}</wsu:Expires>
</wsu:Timestamp>
<wsse:BinarySecurityToken EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token- profile-1.0#X509v3" wsu:Id="X509-0E4E74F95B0421C31C135515946875040">{{{BST HERE}}}</wsse:BinarySecurityToken>
<ds:Signature Id="SIG-44" xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
<ds:SignedInfo>
<ds:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
<ds:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/>
<ds:Reference URI="#id-43">
<ds:Transforms>
<ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#">
<InclusiveNamespaces PrefixList="ns1 soap" xmlns="http://www.w3.org/2001/10/xml-exc-c14n#"/>
</ds:Transform>
</ds:Transforms>
<ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
<ds:DigestValue>cKtVDws5KS70zUTfNB90jcz/F5K/GwIiDF09aEV2fMA=</ds:DigestValue>
</ds:Reference>
<ds:Reference URI="#id-155">
<ds:Transforms>
<ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#">
<InclusiveNamespaces PrefixList="ns1 soap" xmlns="http://www.w3.org/2001/10/xml-exc-c14n#"/>
</ds:Transform>
</ds:Transforms>
<ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
<ds:DigestValue>tu65ngGe0dl2f2f3iwN/phOQBDXEPFVw2u6/1ZKmX/A=</ds:DigestValue>
</ds:Reference>
</ds:SignedInfo>
<ds:SignatureValue>{{{Encoded Signature Value }}}</ds:SignatureValue>
<ds:KeyInfo Id="KI-0E4E74F95B0421C31C135515946875041">
<wsse:SecurityTokenReference wsu:Id="STR0E4E74F95B0421C31C135515946875042">
<wsse:Reference URI="#X509-0E4E74F95B0421C31C135515946875040" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"/>
</wsse:SecurityTokenReference>
</ds:KeyInfo>
</ds:Signature>
</wsse:Security>
</soap:Header>
Reply With Quote
Reply

Tags
certificate, https, soap, xml

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 01:47 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Mirth Corporation