Home Page › Forums › BizTalk 2004 – BizTalk 2010 › How to config/costom a WS Security to SOAP header › Re: How to config/costom a WS Security to SOAP header
Thank you very much for your great help.
I have tried on WSHttp setting. Howver it still not working now. What I set is following
1. Gerneral tab: Address https://ws.betagrid.gxs.com:443/smg/ws_comm/mailboxList
2. Security tab:
Security Mode = TransportWithMesssageCredental
Message Client Credential type = user name
Alogorithm suit = Basic256
user name=[email protected]
password = password
Sample of SOAP is expected as following:
[SOAP] request to https://ws.tradinggrid.gxs.com:443/smg/ws_comm/getLogEntries
<?xml version=”1.0″ encoding=”UTF-8″?>
<soap:Envelope xmlns:n=’http://icslinux7/gxs.ws.docManagement’
xmlns:soap=’http://schemas.xmlsoap.org/soap/envelope/’>
<soap:Header>
<wsse:Security xmlns:ds=’http://www.w3.org/2000/09/xmldsig#’
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’
xmlns:xenc=’http://www.w3.org/2001/04/xmlenc#’>
<wsse:UsernameToken>
<wsse:Username>[email protected]</wsse:Username>
<wsse:Password>gxsadmin</wsse:Password></wsse:UsernameToken>
</wsse:Security>
</soap:Header>
<soap:Body soap:encodingStyle=’http://schemas.xmlsoap.org/soap/encoding/’>
<n:getLogEntries>
<docID>36sec1003thq73bv0000d0ye</docID>
</n:getLogEntries></soap:Body>
</soap:Envelope>
Did I set the right parameter?