通信协议错误 [英] Communication protocol error
问题描述
当我试图从soap服务获得响应时,我收到以下错误。
来自命名空间'http的标题'ReliableMessaging':此邮件的收件人未理解//sap.com/xi/XI/Message/30',导致邮件无法处理。此错误通常表示此消息的发送方已启用接收方无法处理的通信协议。请确保客户端绑定的配置与服务的绑定一致。
我尝试过:
我在SSis包中的脚本任务中使用它。下面是我用来提取数据的代码。
When i'm trying to get the response from soap service i'm getting the following error.
The header 'ReliableMessaging' from the namespace 'http://sap.com/xi/XI/Message/30' was not understood by the recipient of this message, causing the message to not be processed. This error typically indicates that the sender of this message has enabled a communication protocol that the receiver cannot process. Please ensure that the configuration of the client's binding is consistent with the service's binding.
What I have tried:
I'm using this in script task in SSis package. below is the code i'm using to pull data.
EndpointAddress endpointAddress = new EndpointAddress(Properties.Settings.Default.SegmentServiceAddress);
SegmentsClient client = new SegmentsClient(BindingUtility.GetInitiativesBinding(), endpointAddress);
client.ClientCredentials.UserName.UserName = "sys_cons";
client.ClientCredentials.UserName.Password = "xxxxx";
SegmentResponse results = client.ListSegments(new SegmentRequest() { SegmentName = "" });
我对Asp.net或Soap Web服务知之甚少。如果我做错了什么或者我在这里遗漏了什么,请纠正我。在此先感谢。
I don't have much knowledge in Asp.net or Soap Web service. Correct me if i'm doing anything wrong or if i'm missing something here. Thanks in advance.
推荐答案
我对这类代码不太了解,但是mazybe尝试
I dont have much knowledge in this type of code but mazybe try the
"Intel123!":
代码区域。
这篇关于通信协议错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!