I have a wsdl generated from XSD using WCSF Blue. I am using the service from a console application client. I am getting the following exception (SOAP?). What’s wrong in the wsdl? How can we correct it?
Header namespace mismatch in member UserCredentials of type RestaurantService.AddRestaurant.
The header namespace found in the description is urn:thinktecture-com:demos:restaurantservice:headerdata:v1.
The element namespace deduced by the formatter is urn:thinktecture-com:demos:restaurantservice:wsdl:v1.
This mismatch can happen if the Namespace specified in XmlElementAttribute or XmlArrayAttribute does not match the namespace specified in the MessageHeaderAttribute or MessageHeaderArrayAttribute or the contract namespace.
WSDL
Header Data