I'm trying to integrate with a SOAP call where the only credentials in the header is the current datetime:
<soapenv:Header> <sec:Credentials> <sec:Created>2024-03-12 17:44:34Z</sec:Created> </sec:Credentials> </soapenv:Header>
How do include that information in the header? I'm calling the webservicequery, but I can't figure out how to include that header information. I would guess I would use a wsHttpHeaderField, but how to I make it nested with the two layers of information?
Discussion posts and replies are publicly visible
Can you share a few details of what you already have?
In the webservicequery I have created extensions to try and fit this in.
extensions: {a!wsHttpHeaderField(name: "Credentials", value: a!wsHttpHeaderField(name: "Created", value: concat(text(gmt(now()), "yyyy-mm-dd HH:MM:ss"),"Z")))}
I can get the data, I just need to nest some values in the header.
Try executing en expression rule and concatenate in your integration the value recovered
A SOAP envelope header is something different than a HTTP header. These function will not help you.
I am able to get it to work this way. I was hoping to get it working from an expression rule, but I will go down this path. Thanks.