C# SOAP Client invalid document

0

I have to send data to a vendor. They provided me their WSDLs for Test and Production. I have imported test into my project and created a simple call.

DataService.ServicePortTypeClient client = new DataService.ServicePortTypeClient("ServicePort");
DataService.status myFDSResponse = client.PutOps(myData);

Debug.WriteLine(myFDSResponse.action.ToString());

I am getting the following error.

System.ServiceModel.FaultException HResult=0x80131501 Message=DocumentInvalid: Element '{http://schemas.microsoft.com/vstudio/diagnostics/servicemodelsink}VsDebuggerCausalityData': No matching global declaration available for the validation root., line 1

How can I see the XML that this is creating or how can I help diagnosis this a bit better.

Thanks,

c#
.net
soap
wsdl
asked on Stack Overflow Sep 14, 2018 by frmrock164 • edited Sep 14, 2018 by maccettura

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0