Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: adnan.hassan@solveso.com on December 03, 2015, 04:42:13 AM

Title: Webservice Block In Routing
Post by: adnan.hassan@solveso.com on December 03, 2015, 04:42:13 AM
Hi All,

Following soap header is given by client.How I add timestamp in SOAP security block in IRD.
 
    <soapenv:Header>
  <wsse:Security>
        <wsu:Timestamp wsu:Id=""></wsu:Timestamp>
        <wsse:UsernameToken wsu:Id="">
            <wsse:Username></wsse:Username>
            <wsse:Password</wsse:Password>
        </wsse:UsernameToken>
      </wsse:Security>
  </soapenv:Header>

Regards,
Adnan
Title: Re: Webservice Block In Routing
Post by: terry on December 03, 2015, 06:11:00 PM
Unlikely you can customize SOAP Header element created with IRD web access block. The only option I think just manually compose and explcitely provide SOAP envelope content (by using Body parameter in Request parameters list).
Title: Re: Webservice Block In Routing
Post by: cavagnaro on December 03, 2015, 07:29:36 PM
That is something where ORS would be useful at
Title: Re: Webservice Block In Routing
Post by: eugene on December 05, 2015, 12:11:35 AM
Actually you can create custom headers i had a ticket with support on this.

basically create your own string variable xmlbody = ' your custom headers here'

then in your web service block you simply have literally the name 'Body' with your variable as the value.

hope that helps.