Webservice Block In Routing

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

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).

2 Likes

That is something where ORS would be useful at

1 Like

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.

1 Like