i created a web service and enabled it for WSE 3.0. then i created a web application and enabled it for WSE 3.0
i created the client and service side policy files. i used "AnonymousForCertificateSecurity" option on both the sides.
in the web application, i created a web reference for the aforesaid web service by selecting the option "Web services in this solution" .
i applied the created policy on service and application by using Policy attribute to the Web service class and proxyobject.SetPolicy method respectively.
i called the web service using the proxy object from the application. Everything worked fine.
Then i hosted the service in the IIS server.
When i create a new web reference using the option "Web services in this machine", the proxy gets created. i did the same steps as in the previous scenario.
but this time i get an error as
Security requirements are not satisfied because the security header is not present in the incoming message"
I need some help on this issue.
View Complete Post