不支持的片段

2020-09-07 10:55发布

点击此处---> 群内免费提供SAP练习系统(在群公告中)加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)你好 我正在尝试使用WCF-...

         点击此处--->   EasySAP.com群内免费提供SAP练习系统(在群公告中)

加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)


你好

我正在尝试使用WCF-Webservice。 我可以通过https创建消费者代理。 但是,当我尝试生成绑定时,它将失败。 使用WSDL-Analyse,我在不受支持的片段中收到以下错误:

http://schemas.microsoft .com/ws/06/2004/policy/http " xmlns:wsdl =" http:// schemas.xmlsoap.org/wsdl/" xmlns:soap =" http://schemas。 xmlsoap.org/wsdl/soap/" xmlns:soapenc =" http://schemas。 xmlsoap.org/soap/encoding/" xmlns:wsu =" http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd " xmlns:xsd =" http://www.w3.org/2001/XMLSchema " xmlns:soap12 =" http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:tns =" http://tempuri.org/" xmlns:wsa =" http://schemas.xmlsoap.org/ws/2004/08/addressing " xmlns:wsp =" http://schemas.xmlsoap.org/ws/2004/09/policy " xmlns:wsap =" http://schemas.xmlsoap.org/ws/2004/08/addressing/policy " xmlns: wsaw =" http://www.w3.org/2006/05/addressing/wsdl " xmlns:msc =" http://schemas.microsoft.com/ ws/2005/12/wsdl/contract " xmlns:wsa10 =" http:// www.w3.org/2005/08/addressing " xmlns:wsx =" http://schemas.xmlsoap.org/ws/2004/09/mex " xmlns: wsam =" http://www.w3.org/2007/05/addressing/metadata "/>

http://schemas.xmlsoap.org/ws/2005/07/securitypolicy " xmlns:wsdl =" http://schemas.xmlsoap。 org/wsdl/" xmlns:soap =" http://schemas.xmlsoap.org/ wsdl/soap/" xmlns:soapenc =" http://schemas.xmlsoap.org/ soap/encoding/" xmlns:wsu =" http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd " xmlns:xsd =" http://www.w3.org/2001/XMLSchema " xmlns:soap12 =" http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:tns =" http://tempuri.org/" xmlns:wsa =" http://schemas.xmlsoap.org/ws/2004/08/addressing " xmlns:wsp =" http://schemas.xmlsoap.org/ws/2004/09/policy " xmlns:wsap =" http://schemas.xmlsoap.org/ws/2004/08/addressing/policy " xmlns:wsaw =" http://www.w3.org/2006/05/addressing/wsdl " xmlns:msc =" http://schemas.microsoft.com/ws/2005/12/wsdl/contract " xmlns:wsa10 =" http://www.w3 .org/2005/08/addressing " xmlns:wsx =" http://schemas.xmlsoap.org/ws/2004/09/mex " xmlns:wsam =" http://www.w3.org/2007/05/addressing/metadata "> http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd " xml:base =" https://fqdnpath_to_service?WSDL "> https://fqdnpath_to_service?WSDL "> https://fqdnpath_to_service?WSDL "> https://fqdnpath_to_service?WSDL ">

不幸的是,我没有胶水,SAP不支持。 有人有主意吗?

在一些讨论中,他们说我必须使用另一个WSDL文件进行绑定。 但是WCF-Webservice没有其他WSDL文件。 还是我需要使用另一个文件来绑定.net Web服务?

3条回答
亦是此间程序员
2020-09-07 11:27

Hello Vanessa,

如果代理生成成功,则很可能不支持该策略或绑定部分。 SAP支持ws-i 1.1标准,但在注释944029中有一些限制。

检查Wiki http://wiki.scn.sap.com/wiki/x/_4A_FQ ,它可能会帮助您找出问题所在或解决方法。

干杯,

阿提拉

一周热门 更多>