--- In delphigames@yahoogroups.com, "Ian Munro" <ian.munro@...> wrote:
>
> Hello,
>
>
>
> Anyone have experience writing a Delphi app that connects to a .net WCF
> service ? I'm an having no fun with this at all. I've imported the WSDL
> file but when I call a function on the service I get the following
> message: "error in deserializing body of reply message for operation
> xyz..". I've configured my WCF service to communicate using SOAP 1.1 as
> Delphi 7 only supports this version. Does anyone know of an application
> that I can use to see what the XML looks like that is coming back from
> the service ?
>
The problem is that SOAP uses a different encapsulation in each version, there
seems to be a difference even in the way Delphi Pro/Enterprise handles this and
it's different between versions too. The best thing you can do is to handle SOAP
requests manually in your application and use an XML parser to obtain the
information and maybe write a function that handles Open Array Parameters like
"Format", to connect to the SOAP server i used the Indy HTTP Client.
Hope this helps.
Razvan