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.
精彩评论