开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜