I have a Delphi application written in XE that consumes a WCF service written in C#, I have been receiving the following error message with one of the methods
XML document must have a top level element. line 0
I managed to fix the issue by making the method in the WCF Service return a value (boolean) if successful. It is possible Delphi does not like WCF Service methods that are one way ([OperationContract(IsOneWay = true)]).