Hi laurent.glodt, there may be a way to do this without an extra gateway. It’s a workaround rather than a supported auth method, so worth prototyping first and no warranty implied. The API platform doesn’t validate WS-Security itself, but you can validate it in the recipe:
Use a regular API recipe collection instead of the WSDL-generated SOAP collection, with the trigger content type set to Text/XML. The recipe then gets the raw SOAP envelope, wsse:Security header included. The SOAP collection validates requests against the WSDL schema by default, and WSS headers are often sent with mustUnderstand="1". Either one could get the request rejected before your logic runs.
Parse the envelope with XML Tools and pull out Username, Password, Nonce and Created.
Validate them. For PasswordText, compare against a stored secret. For PasswordDigest, recompute Base64(SHA-1(nonce + created + password)) in a short Python step, reject stale timestamps, and log nonces in a data table to block replays.
On failure, return a SOAP Fault.
Serve the WSDL from a second recipe. The SOAP API recipe walkthrough in the docs shows the pattern: docs.workato.com/api-mgmt/api-recipes/soap-walkthrough.html
Caveats:
The API gateway still requires its own credential, so the legacy system needs to send a static api-token header. You can also restrict the application to the system’s IP addresses. If the client can’t add any HTTP header, this approach won’t work.
Don’t hard-code the password in the recipe. Use project properties or a secrets manager.
Turn on data masking for the recipe. Otherwise the raw envelope, password included, shows up in job history.
If your WSS policy uses XML signatures or encryption (X.509), this gets impractical and Fra’s middleware suggestion is the better route.
Your second option is to look at our on premise connector (opa), it can go on the same network as the Soap box, then you can do an unauthenticated connection to it, which then will take and connect into Workato. Good Luck!
Amelia B. - That would be my sous chef - On Sunday I kickoff meal planning. It logs into Raley’s and Costco websites (using a signed in browser that is MCP capable (browseros.com), get what I have purchased (both are tracked because of membership numbers), then it reads the Raley’s ad for specials and sales. Clips coupons and specials for me. I give it some context if I’m traveling or not. It has an idea of freezer meals I have in, access to an online meal MCP. We then work through a menu for the week. Once done it will produce a shopping list for me. If I want it will load up my cart at Raley’s and sometimes I do a delivery or pickup depending on timing.
