开发者

How do I change my existing SOAP 1.1 client to 1.2?

开发者 https://www.devze.com 2022-12-30 10:23 出处:网络
I have a SOAP 1.1 client that was generated with the Delphi 2007 WSDL Importer. Now I need to 开发者_如何学Pythonchange it to SOAP 1.2. Since I changed things in the generated code I prefer not to g

I have a SOAP 1.1 client that was generated with the Delphi 2007 WSDL Importer.

Now I need to 开发者_如何学Pythonchange it to SOAP 1.2. Since I changed things in the generated code I prefer not to generate it again. How can I manually change it to SOAP 1.2?

Thanks, Miel.


In the initialization section of the generated code, for each porttype, add a line like this:

InvRegistry.RegisterInvokeOptions(TypeInfo(PortType), ioSOAP12);

That will do the trick.

Miel.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号