-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does Kong support SOAP/XML-RPC ? #1536
Comments
Hi - we have a plugin SOAP-to-REST in the making, but it's commercial. It will be available behind enterprise subscription. What's your use case? |
The use case is publishing SOAP, not REST services via the Kong platform. No conversion to REST. Just using SOAP. Is it possible to achieve? |
Hi @petrdvorak not in the near future. The standard pattern is to use an API Gateway for REST and if you really need some SOAP support then you can use Kong/etc to do some light transformations from SOAP-to-REST. But using an API Gateway for plain SOAP is the wrong approach or just the wrong tool for the job. For those legacy technologies the best approach is to use an ESB or similar middle-wares and keep the API Gateway lightweight just for REST but definitely not worth mixing the two (Gateway <-> ESB) or you will end up with an heavyweight jack of all trades, master of none. |
I agree - I had this request from a customer and so I Googled if something like that exists in today's API managements. So far, it seems that the only tool of capable of publishing SOAP services alongside the REST is IBM API Management: In any case, I totally get your argument. IMO people should invest in moving SOAP to REST rather than use a new system (like API Management) to support old technologies. Just to add one extra note: There is a time and place for SOAP even in today's world and it's internal system integration. The SOAP support provided by for example Spring WS is way more developer friendly than what we can recall from couple years ago with technologies as Axis etc. |
In the end, Kong is a transparent HTTP proxy. If your SOAP services run over HTTP, then Kong can carry them just fine. It's just that none of its plugins are written for SOAP communication. As always, you can easily hop into the request/response lifecycle with a custom plugin to do any logic you deem necessary. |
Thank you, @thibaultcha - this will likely be the approach we will take here. IMO the customer requirements are non-sensical: One of them is having a "switch" that will make the REST service SOAP and vice-versa. How does this play out with security (OAuth2 for REST vs. X509 certificates for SOAP), logging (individual endpoints vs. all methods on one endpoint) or scaling? ... they don't say... |
There are 3 possible scenarios and I think both @thibaultcha and @sinzone are right.
|
I think the question has been answered. |
Hi All,
We have many internal SOAP/XML-RPC web-service, and need Kong to expose such APIs.
Does Kong can support SOAP base web-service ? or just support REST ?
Any suggestion will be appreciated !!
The text was updated successfully, but these errors were encountered: