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

Fatih ErdemPosted Dec 2, 2016, 12:04 PM
Aravind SureshPosted Jan 31, 2016, 11:45 AM
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?
Pradeep ShetPosted Jan 31, 2016, 10:24 AM