Service Virtualization

Expand all | Collapse all

How to disable SSL Certificate Check, when using WS_Security token for SOAP Services

  • 1.  How to disable SSL Certificate Check, when using WS_Security token for SOAP Services

    Posted Aug 31, 2018 10:25 AM

    All the tags and data are altered to secure information.

     

    Here is the SOAP request that I am sending: We are not using any certificates to validate. But I am getting SSL Handshake error.

     

    <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:usb="http://soa.usbank.com/USBSOACoreComponentsLibrary_V_3_0" xmlns:mes="http://soa.usbank.com/MessageAccountService_V_4_0">
       <soap:Header>
        <wsse:Security 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">
        <wsse:UsernameToken wsu:Id="UsernameToken-nSDFAS98w7439827943234">
        <wsse:Username>USERIDinALPHA</wsse:Username>
        <wsse:Password Type="mypassword</wsse:Password" rel="nofollow" target="_blank">http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">mypassword</wsse:Password>
        <wsse:Nonce EncodingType="alkfjalklkdjfasjflkja==</wsse:Nonce" rel="nofollow" target="_blank">http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">alkfjalklkdjfasjflkja==</wsse:Nonce>
        <wsu:Created>2015-11-30T21:32:14.533Z</wsu:Created>
        </wsse:UsernameToken>
        </wsse:Security>
          <CUS:USBSOAPHeader>
             <CUS:TransactionIdentifier>asjhfjadfas-434434-43432-834c-1adsf34sr4a</CUS:TransactionIdentifier>
             <CUS:MessageIdentifier>dadf459a-852a-4de3-a172-47a78e8d5010</CUS:MessageIdentifier>
             <CUS:MessageDateTime>2018-08-20T13:29:34.8631984-05:00</CUS:MessageDateTime>
             <CUS:MessageSequenceIdentifier>0</CUS:MessageSequenceIdentifier>
             <CUS:RequestorInfo>
                <CUS:ServerIdentifier>SSSCUS94832</CUS:ServerIdentifier>
                <CUS:ComponentIdentifier>KSISSPK</CUS:ComponentIdentifier>
             
             </CUS:RequestorInfo>
          </CUS:USBSOAPHeader>
       </soap:Header>
       <soap:Body>
          <mes:GetListRequest>
             <!--Optional:-->
             <mes:GetList>
                <!--Optional:-->
                <CUS:NextDataFetchKey>00000:00000:00000:</CUS:NextDataFetchKey>
             
                <!--Optional:-->
                <CUS:MoreIndicator>false</CUS:MoreIndicator>
             </mes:GetList>
             <mes:sListQuery>
                        
                <mes:DemandDepositLineOfCredit>
                   <mes:AccountPrimaryIdentifier>
                      <CUS:OperatingCompanyIdentifier>125</CUS:OperatingCompanyIdentifier>
                      <CUS:ProductCode>DDA</CUS:ProductCode>
                      <CUS:PrimaryIdentifier>0000000000199374745677</CUS:PrimaryIdentifier>
                   </mes:AccountPrimaryIdentifier>
                   <mes:FromPostedDate>2017-08-14</mes:FromPostedDate>
                   <mes:ToPostedDate>2018-08-21</mes:ToPostedDate>
                   <mes:IncludeMatchedRvslSwitch>true</mes:IncludeMatchedRvslSwitch>
                   <mes:IncludeDescriptionSwitch>true</mes:IncludeDescriptionSwitch>

                </mes:DemandDepositLineOfCredit>
            
             </mes:sListQuery>
          </mes:GetListRequest>
       </soap:Body>
    </soap:Envelope>



  • 2.  Re: How to disable SSL Certificate Check, when using WS_Security token for SOAP Services

    Broadcom Employee
    Posted Aug 31, 2018 02:57 PM

    What version of DevTest are you running?



  • 3.  Re: How to disable SSL Certificate Check, when using WS_Security token for SOAP Services

    Posted Aug 31, 2018 04:02 PM

    we are using 10.1.0

     

     

    Regards,

    Sunil Arumilli

    Wipro Limited

    M +1 630-745-7457 | Email: sunil.arumilli@wipro.com



  • 4.  Re: How to disable SSL Certificate Check, when using WS_Security token for SOAP Services

    Posted Aug 31, 2018 06:19 PM

    Sunil,

     

    Could you provide more details on the SSL handshake error?

     

    Thank you,

    Heloisa