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
I tried Fiddler, but it does not support https. does MS SDK support https?
Can you take a look for what is the problem in my request and reasponse? I got following logs from service.
Below are the request I see in our logs followed by the response that our logs show was sent:
<s:Envelope xmlns:s=”http://schemas.xmlsoap.org/soap/envelope/” xmlns:u=”http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd“>
<s:Header>
<o:Security s:mustUnderstand=”1″ xmlns:o=”http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd“>
<u:Timestamp u:Id=”_0″>
<u:Created>2008-11-07T13:14:28.296Z</u:Created>
<u:Expires>2008-11-07T13:19:28.296Z</u:Expires>
</u:Timestamp>
<o:UsernameToken u:Id=”uuid-6721b428-ba4e-4814-940d-c6abae2d4a0f-9″>
<o:Username>[email protected]</o:Username>
<o:Password o:Type=”http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText”>pass</o:Password>
</o:UsernameToken>
</o:Security>
</s:Header>
<s:Body>
<ns0:mailboxList xmlns:ns0=”http://icslinux7/gxs.ws.docManagement“>
<userid>SWCSCA</userid>
<partnerid/>
<DocTypeName/>
<aprf/>
<snrf/>
<TNdocID/>
<type>mailbox</type>
<listType>POLLABLE</listType>
<MaxReturned>2</MaxReturned>
</ns0:mailboxList>
</s:Body>
</s:Envelope>
Response:
<?xml version=”1.0″ encoding=”UTF-8″?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV=”http://schemas.xmlsoap.org/soap/envelope/” xmlns:SOAP-ENC=”http://schemas.xmlsoap.org/soap/encoding/” xmlns:xsd=”http://www.w3.org/2001/XMLSchema” xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” SOAP-ENV:encodingStyle=”http://schemas.xmlsoap.org/soap/encoding/“>
<SOAP-ENV:Body>
<ser-root:mailboxListResponse xmlns:ser-root=”http://icslinux7/gxs.ws.docManagement” SOAP-ENC:root=”1″>
<return xsi:type=”xsd:string”><?xml version="1.0"?><List> <type>mailbox</type> <NumDocs>2</NumDocs> <Docs> <DocID>39fece003lr95hpt000068qs</DocID> <DocTimestamp>2008-11-07 10:50:10.111</DocTimestamp> <TypeName>ICSCSRin</TypeName> <SenderID>39fece003aak28cs00002ho7</SenderID> <ReceiverID>39fece003aajfbda00002hmr</ReceiverID> <SenderCorp>SWC2SCA_REC_GP1_PRE</SenderCorp> <SenderUnit></SenderUnit> <ReceiverCorp>SWC2SCA_GP1_PRE</ReceiverCorp> <ReceiverUnit></ReceiverUnit> <SenderName>SWC2SCA_REC_GP1_PRE</SenderName> <ReceiverName>SWC2SCA_GP1_PRE</ReceiverName> <RoutingStatus>POLLABLE</RoutingStatus> <UserStatus>Saved</UserStatus> <NativeID>08110710501YB7</NativeID> <GroupID></GroupID> <ConversationID></ConversationID> <DocumentError>true</DocumentError> <originalSender>SWC</originalSender> <originalReceiver>SWCSCA</originalReceiver> <attributes> <commitParms></commitParms> <APRF>XML</APRF> <CreatedBy>ICSCSR</CreatedBy> <ExtractionDateTime></ExtractionDateTime> <ILOG></ILOG> <SERVICEREF>3435043809322527</SERVICEREF> <TNdocRef></TNdocRef> <TNpartName></TNpartName> <TYPE>XML</TYPE> <commitSvc>gxs.icscsr.util:setICSdocStatus</commitSvc> <fileParms></fileParms> <fileSize>1036</fileSize> <fileSvc></fileSvc> </attributes> </Docs> <Docs> <DocID>39fece003lr95e0c000068qk</DocID> <DocTimestamp>2008-11-07 10:50:06.222</DocTimestamp> <TypeName>ICSCSRin</TypeName> <SenderID>39fece003aak28cs00002ho7</SenderID> <ReceiverID>39fece003aajfbda00002hmr</ReceiverID> <SenderCorp>SWC2SCA_REC_GP1_PRE</SenderCorp> <SenderUnit></SenderUnit> <ReceiverCorp>SWC2SCA_GP1_PRE</ReceiverCorp> <ReceiverUnit></ReceiverUnit> <SenderName>SWC2SCA_REC_GP1_PRE</SenderName> <ReceiverName>SWC2SCA_GP1_PRE</ReceiverName> <RoutingStatus>POLLABLE</RoutingStatus> <UserStatus>Saved</UserStatus> <NativeID>081107105016DO</NativeID> <GroupID></GroupID> <ConversationID></ConversationID> <DocumentError>true</DocumentError> <originalSender>SWC</originalSender> <originalReceiver>SWCSCA</originalReceiver> <attributes> <commitParms></commitParms> <APRF>XML</APRF> <CreatedBy>ICSCSR</CreatedBy> <ExtractionDateTime></ExtractionDateTime> <ILOG></ILOG> <SERVICEREF>3435043805709813</SERVICEREF> <TNdocRef></TNdocRef> <TNpartName></TNpartName> <TYPE>XML</TYPE> <commitSvc>gxs.icscsr.util:setICSdocStatus</commitSvc> <fileParms></fileParms> <fileSize>1045</fileSize> <fileSvc></fileSvc> </attributes> </Docs></List></return>
</ser-root:mailboxListResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>