如何在KrakenD中使用SOAP请求。

huangapple go评论51阅读模式
英文:

How to use soap request in krakenD

问题

我不打算使用 krakenD 网关的企业版本。我想知道如何在 krakenD 中使用 SOAP 请求。

请帮我解决这个问题。

谢谢。

英文:

I'm not going to use the enterprise version of krakenD gateway. May I know how can I use soap request in krakenD.

Pls help me with this issue.

Thanks.

答案1

得分: 1

SOAP集成功能仅适用于KrakenD Enterprise版本。它允许处理多种编码,如XML或JSON,并在将内容返回给用户之前对其进行转换。此外,它还可以通过从用户正文、标头、查询字符串或URL参数中注入动态变量来创建发送到SOAP服务的正文和XML内容。

该功能还提供了操控响应以实现所需输出的能力,不考虑最终用户的编码或方法。它引入了模板,用于创建发送给服务器作为底层SOAP XML合同的正文,同时将此复杂性对最终用户隐藏。您可以选择保持SOAP响应已修改或“原样返回”,返回JSON内容或其他编码。您可以在https://www.krakend.io/docs/enterprise/backends/soap/上阅读完整的SOAP集成文档。

由于您未使用Enterprise版本,此功能可能不可访问。但是,如果SOAP集成对您的应用程序至关重要,KrakenD提供试用Enterprise许可证。您可以在做出决定之前尝试此功能。要请求试用许可证,您可以从以下页面发送请求:KrakenD Enterprise 联系销售。如果SOAP集成对您的应用程序变得非常重要,升级到Enterprise版本也是值得考虑的。

英文:

The SOAP integration feature is exclusive to the KrakenD Enterprise version. It allows for handling multiple encodings, such as XML or JSON, and transforming them before returning the content to the user. Additionally, it enables crafting the body and XML content sent to a SOAP service by injecting dynamic variables from the user body, headers, query strings, or URL parameters​.

This feature also provides the capacity to manipulate responses to achieve the desired output, irrespective of the end user's encoding or method. It introduces templates to craft the body sent as an underlying SOAP XML contract to the server while keeping this complexity hidden from the end user. You can choose to keep the SOAP response modified or "as is," return JSON content or another encoding​. You can read the complete SOAP integration docs at https://www.krakend.io/docs/enterprise/backends/soap/

Since you're not using the Enterprise version, this feature might not be accessible to you. However, if SOAP integration is crucial for your application, KrakenD offers trial Enterprise licenses. You might want to try this feature before making a decision. To request a trial license, you can send a request from the following page: KrakenD Enterprise Contact Sales. It's also worth considering upgrading to the Enterprise version if SOAP integration becomes a significant requirement for your application.

huangapple
  • 本文由 发表于 2023年5月15日 13:16:18
  • 转载请务必保留本文链接:https://go.coder-hub.com/76251040.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定