I have designed a console application as a web service client which is able to talk with webservice; however instead of console application if I design a WinForm or DLL of the same code I am getting following error message.
SECU1075: An error was discovered processing the <wsse:Security> header | System.Web.Services | at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object parameters)...
The only difference I figured out is, in case of DLL or WinForm it is creating an extra DLL with name <ProjectName>.XmlSerializers.dll which is not the case with Console application.
Anybody know what should I need to do to call the webservice from DLL instead of console application? Help appreciated
View Complete Post