未处理的异常: Microsoft.Web.Services3.ResponseProcessingException: WSE910: An e
rror happened during the processing of a response message, and you can find the
error in the inner exception. You can also find the response message in the Res
ponse property. ---> System.InvalidOperationException: Security requirements are
not satisfied because the security header is not present in the incoming messag
e.
在 Microsoft.Web.Services3.Security.SecureConversationClientReceiveSecurityFi
lter.ValidateMessageSecurity(SoapEnvelope envelope, Security security)
在 Microsoft.Web.Services3.Security.ReceiveSecurityFilter.ProcessMessage(Soap
Envelope envelope)
在 Microsoft.Web.Services3.Pipeline.ProcessInputMessage(SoapEnvelope envelope
)
在 Microsoft.Web.Services3.Xml.SoapEnvelopeReaderWrapper..ctor(SoapClientMess
age message, String messageContentType)
--- 内部异常堆栈跟踪的结尾 ---
在 Microsoft.Web.Services3.Xml.SoapEnvelopeReaderWrapper..ctor(SoapClientMess
age message, String messageContentType)
在 Microsoft.Web.Services3.WebServicesClientProtocol.GetReaderForMessage(Soap
ClientMessage message, Int32 bufferSize)
在 System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClie
ntMessage message, WebResponse response, Stream responseStream, Boolean asyncCal
l)
在 System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodN
ame, Object[] parameters)
在 ConsoleApplication1.localhost.ServiceWse.HelloWorld() 位置 E:\Temporary\cd
fr\ConsoleApplication1\Web References\localhost\Reference.cs:行号 78
在 Emp.Program.Main(String[] args) 位置 E:\Temporary\cdfr\ConsoleApplication1
\Program.cs:行号 41
请按任意键继续. . .