救命:::用.net调用java的webservice 报错 :WSDoAllReceiver: Request does not contain required Security header
System.Runtime.Remoting.ServerException: 收到 SoapFault,其 faultString 为:“WSDoAllReceiver: Request does not contain required Security header”
Server stack trace:
at System.Runtime.Serialization.Formatters.Soap.ObjectReader.ParseObject(ParseRecord pr)
at System.Runtime.Serialization.Formatters.Soap.ObjectReader.ParseMember(ParseRecord pr)
at System.Runtime.Serialization.Formatters.Soap.ObjectReader.Parse(ParseRecord pr)
at System.Runtime.Serialization.Formatters.Soap.SoapHandler.StartElement(String prefix, String name, String urn)
at System.Runtime.Serialization.Formatters.Soap.SoapParser.ParseXml()
at System.Runtime.Serialization.Formatters.Soap.SoapParser.Run()
at System.Runtime.Serialization.Formatters.Soap.ObjectReader.Deserialize(HeaderHandler handler, ISerParser serParser)
at System.Runtime.Serialization.Formatters.Soap.SoapFormatter.Deserialize(Stream serializationStream, HeaderHandler handler)
at System.Runtime.Remoting.Channels.CoreChannel.DeserializeSoapResponseMessage(Stream inputStream, IMessage requestMsg, Header[] h, Boolean bStrictBinding)
at System.Runtime.Remoting.Channels.SoapClientFormatterSink.DeserializeMessage(IMethodCallMessage mcm, ITransportHeaders headers, Stream stream)
at System.Runtime.Remoting.Channels.SoapClientFormatterSink.SyncProcessMessage(IMessage msg)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Bk.Core.Imp.GameServiceProxyClass.authenticate(GameCredentialsMessage GameCredentialsMessage) in f:\testprojects\testgoodhopews\gameserviceproxyclass.cs:line 42
at testGoodHopeWS.Form1.LoginToGame(String gameRoleName, String GameRolePassword) in f:\testprojects\testgoodhopews\form1.cs:line 153 --------------------编程问答-------------------- 我用.net调用java的webservice 结果返回这样的错误,高人救命~~~
在线等待 --------------------编程问答-------------------- 该回复被版主删除 --------------------编程问答-------------------- 这些我都搞定了,怎么没有人来接分 --------------------编程问答-------------------- webService使用wss4j控制访问了
补充:.NET技术 , C#