I have an old asmx web service which reads SOAP and send back data. I am trying to convert the web service to WCF service.
The problem am having is that the request i am receiving is in RPC.Encoded format. </ns1:create> SPCR2023-00033-01application/pdffalse2023-03-16 ...etc
In WCF, I created the message contract [MessageContract] public class Document { [MessageBodyMember] public string[] Keys; [MessageBodyMember] public string IdentifierDisplay; [MessageBodyMember] public string contextType;....
The problem here is that it cannot read the request and getting object reference error. string module = document.Keys[1];
But the wcf works in test client and soap. The source cannot change their format.
What should I Change to make it work. Is there a way to decode the soap and put it in the format WCF expects.
Any help is appreciated.