SOAP RPC/Encoded convert to RPC/Literal

五迷三道 提交于 2019-12-03 16:19:40

If you are changing the encoding of the WSDL, then the SOAP messages would change to:

RPC/Encoded Message Sample

<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/Literal Message Sample

<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/

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:

  • call the target services in RPC/literal
  • export functionality as RPC/encoded to your application

But this component needs to be implemented on your specific case, there is no magic tool.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!