I have a .Net WCF client/proxy built based on a Delphi service. The Delphi service is providing SOAP messages in a format that my client has been unable to process.
Based on the guidance here: Delphi SOAP Envelope and WCF I’ve come to understand that WCF expects “Document/Literal/Wrapped” style to be the way in which the message is serialized. As it turns out, the Delphi service is using “rpc” as the style.
I cannot get the delphi service to change its style.
Is there a way I can tell the WCF client to use “rpc” instead.
For reference, here’s the Delphi service I’m building against: http://www.tntschools.com/AkiTimeTableService/wsdl/ICourses
When adding the service reference this way, each generated message contract is decorated in similar way as following one:
Each generated operation contract is decorated in similar way as following one:
Check the
Reference.csto determine whether your message and operation contracts are decorated same way. If they are, the issue lies elsewhere. Exception message would be helpful to track down the issue (e.g. it may be the order of elements in returned SOAP message).