" /> Webservice Block In Routing - Genesys CTI User Forum

Author Topic: Webservice Block In Routing  (Read 2303 times)

Offline adnan.hassan@solveso.com

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Webservice Block In Routing
« on: December 03, 2015, 04:42:13 AM »
Advertisement
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

Offline terry

  • Sr. Member
  • ****
  • Posts: 328
  • Karma: 35
Re: Webservice Block In Routing
« Reply #1 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).

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: Webservice Block In Routing
« Reply #2 on: December 03, 2015, 07:29:36 PM »
That is something where ORS would be useful at

Offline eugene

  • Jr. Member
  • **
  • Posts: 85
  • Karma: 2
Re: Webservice Block In Routing
« Reply #3 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.