Search the web
Sign In
New User? Sign Up
delphigames · Discussion of game programming in the Delphi development environment.
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Problems with Delphi trying to talk to a WCF service   Message List  
Reply | Forward Message #7610 of 7611 |
Re: Problems with Delphi trying to talk to a WCF service

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




Mon Jun 22, 2009 3:41 pm

rbaprog
Offline Offline
Send Email Send Email

Forward
Message #7610 of 7611 |
Expand Messages Author Sort by Date

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...
Ian Munro
ianathome12345
Offline Send Email
Jun 22, 2009
3:08 pm

... 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...
rbaprog
Offline Send Email
Jun 22, 2009
10:14 pm

Hello, Just in case anyone else is going through the pain of Delphi to .net WCF service then you may be interested in how I fixed my problem. The unit that is...
Ian Munro
ianathome12345
Offline Send Email
Jun 23, 2009
9:26 am
< Prev Topic  |  Next Topic >
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help