I have wsdl generated from XSD using WCSF Blue. I use this service from a console application client. I get the following exception (SOAP?). What is wrong with wsdl? How can we fix this?
The header namespace mismatch in the UserCredentials member of type RestaurantService.AddRestaurant.
The header namespace found in the description is urn: thinktecture-com: demos: restaurantservice: headerdata: v1.
The element namespace deduced by formatting is urn: thinktecture-com: demos: restaurantservice: wsdl: v1.
This mismatch may occur if the namespace specified in XmlElementAttribute or XmlArrayAttribute does not match the namespace specified in MessageHeaderAttribute or MessageHeaderArrayAttribute or the contract namespace.
Wsdl

Header data

source share