Click here to Skip to main content
15,885,874 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I am receiving the SOAP Request XML which need to be validated against the WSDL. Also, SOAP Response XML should be validated against the WSDL using the .Net core 3.1 version.

What I have tried:

I have tried use XDocument document = XDocument.Parse(new_doc1.ToString());document.Validate();
Posted
Comments
[no name] 29-Oct-20 0:15am    
What do you expect to happen when you "validate"? Getting any response is usually the main purpose, which you then handle.
Member 14977865 29-Oct-20 7:09am    
In client application, XML Request/Response should be validated because XML should contain proper format of data which is In-align with datatypes, parameter of schema before executing the XML Request.
[no name] 29-Oct-20 9:48am    
The request is your problem; the response is the server problem. You have your act down or you don't. The formats don't vary once established.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900