Click here to Skip to main content
15,890,973 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
I have created a web-application and consuming a web-service to call some methods of the web-service. The web-service created by my own. While trying to call the method I am getting “Header http://schemas.xmlsoap.org/ws/2004/08/addressing:Action for ultimate recipient is required but not present in the message.” error message.

As per my understanding I have to add “http://schemas.xmlsoap.org/ws/2004/08/addressing” namespace at the header of my request. But I don’t have any idea how to add this in my code. There is one way to add this namespace using “XmlNamespaceManager” but I am not using this.

Request you to please help me on how to add the “http://schemas.xmlsoap.org/ws/2004/08/addressing” namespace in the Request header (to call web-method) in web-application code.

Thanks and Regards,
Nitin
Posted

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