Hi,
I am trying to access a webservice whose WSDL is
http://ec.europa.eu/taxation_customs/dds2/eos/validation/services/validation?wsdl
But on calling the method , I got the below error.
Client found response
content type of 'text/html', but expected 'text/xml'.
The request failed with an empty response.
The request failed with an empty response.
The webservice expects the SOAP message to be in the below format.
But the SOAP message generated by my c# code is :-
How can I avoid xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
from the soap message generated by the C# code/client?
Thanks,
Aravind


Pradeep ShetRank #595 · 4K reputationPosted Jan 31, 2016, 5:24 AM EST
Aravind Suresh5 reputationPosted Jan 31, 2016, 6:45 AM EST
Hi Pradeep,
The SOAP message is automatically created by the proxy class. Can you tell me how these attributes can be set as blank? Should I change something in the proxy class?
Fatih Erdem6 reputationPosted Dec 2, 2016, 7:04 AM EST