SOAP RPC/Encoded 转换为 RPC/Literal [英] SOAP RPC/Encoded convert to RPC/Literal
问题描述
有人知道可以将 RPC/Encoded WSDL 转换为 RPC/Literal 的工具或黑盒"吗?我无法更改 API(它不是我的),但我想使用的工具不支持 RPC/Encoded.我想看看是否有人创建了一个简单的黑盒通信转换器.
Does anyone know of a tool or 'blackbox' that would convert a RPC/Encoded WSDL to RPC/Literal? I don't have the ability to change the API (it's not mine) but the tool I want to use does not support RPC/Encoded. I'd like to see if someone has created a simple black box communication converter.
我想使用 wave maker,但我不是程序员,所以我正在寻找一种工具来处理翻译.
I want to use wave maker and i'm not a programmer so I'm looking for a tool to just take care of the translation.
推荐答案
如果您要更改 WSDL 的编码,则 SOAP 消息将更改为:
If you are changing the encoding of the WSDL, then the SOAP messages would change to:
RPC/编码消息示例
<soap:envelope>
<soap:body>
<myMethod>
<x xsi:type="xsd:int">5</x>
<y xsi:type="xsd:float">5.0</y>
</myMethod>
</soap:body>
</soap:envelope>
RPC/文字消息示例
<soap:envelope>
<soap:body>
<myMethod>
<x>5</x>
<y>5.0</y>
</myMethod>
</soap:body>
</soap:envelope>
http://www.ibm.com/developerworks/webservices/library/ws-whichwsdl/
因此,翻译 WSDL 是不够的,因为您可以看到 SOAP 消息之间的差异.
So, it is not enough to translate the WSDL, as you can see de differences between SOAP messages.
您可以创建一个充当中间人的组件:
You could create a component that acts like a middle man:
- 在 RPC/literal 中调用目标服务
- 将功能作为 RPC/编码导出到您的应用程序
但是这个组件需要根据你的具体情况来实现,没有什么神奇的工具.
But this component needs to be implemented on your specific case, there is no magic tool.
这篇关于SOAP RPC/Encoded 转换为 RPC/Literal的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!