Tyk plugins and SOAP

Hi,

I am still getting familiar with Tyk. I have some questions about Tyk and SOAP.
I understand that Tyk is made for REST and the main focus is there.

  1. In the discussions SOAP support came up. Is SOAP still totally unsupported?

  2. I unfortunately need to fetch data from two SOAP endpoints as well as some REST endpoints.
    Can you use plugins, a Python plugin for example, to access some SOAP endpoints?
    I only need to fetch some data. Nothing else.

Br,
Louis

Hi Louis, in which part of the request flow are you planning to use the plugin?

Is it an authentication middleware?

Best.

Hi,

I basically need Tyk to do the whole request.

What I am wondering…
When Tyk receive a REST get, that with TYK plugins or middleware and templates, it can change it into a request to a SOAP service. I just need to fetch information from the soap service but there is authentication involved. It is a bit on the integration side already… but I am hoping :slight_smile:

The REST part is clear and we are going to continue with Tyk for that.

Br,
Louis

Hi,

Another thought…
Would this be something I could do with a virtual endpoint?

Br,
Louis

Maybe, it would be quite cumbersome to construct XML in JS :-/

Have you though about using the body transforms? You can transform a JS request into an XML request, inject the correct mime type header and then redirect the request URL?