使用 VS17 导入 SAP WSDL - 自定义工具警告:未导入/未处理以下策略断言

5 sap policy soap wsdl web-services

我当前正在尝试导入 SAP 系统交付给我的 WSDL 文件。我使用 Visual Studio 2017 导入文件并将它们添加为服务引用。导入后我收到以下警告:

Custom tool warning: The following Policy Assertions were not Imported:
XPath://wsdl:definitions[@targetNamespace='urn:sap-
com:document:sap:soap:functions:mc-
style']/wsdl:binding[@name='ZBPCFI_VIV_KOSTENSTELLE']
Assertions:
<sapattahnd:Enabled 
xmlns:sapattahnd='http://www.sap.com/710/features/attachment/'>..
</sapattahnd:Enabled>

XPath://wsdl:definitions[@targetNamespace='urn:sap-
com:document:sap:soap:functions:mc-
style']/wsdl:binding[@name='ZBPCFI_VIV_KOSTENSTELLE']
Assertions:
<sapattahnd:Enabled 
xmlns:sapattahnd='http://www.sap.com/710/features/attachment/'>..
</sapattahnd:Enabled>
<saptrnbnd:OptimizedXMLTransfer 

xmlns:saptrnbnd=
'http://www.sap.com/webas/710/soap/features/transportbinding/'>..
</saptrnbnd:OptimizedXMLTransfer>


Warning Custom tool warning: The optional WSDL extension element 
'Policy' from namespace 'http://schemas.xmlsoap.org/ws/2004/09/policy' was 
not handled.
XPath: //wsdl:definitions[@targetNamespace='urn:sap-
com:document:sap:soap:functions:mc-
style']/wsdl:portType[@name='ZBPCFI_WS_VIV_KOSTL']

Warning Custom tool warning: The optional WSDL extension element 
'Policy' from namespace 'http://schemas.xmlsoap.org/ws/2004/09/policy' was 
not handled.
XPath: //wsdl:definitions[@targetNamespace='urn:sap-
com:document:sap:soap:functions:mc-
style']/wsdl:portType[@name='ZBPCFI_WS_VIV_KOSTL']/
wsdl:operation[@name='ZBpcfiFmVivKostl']
Run Code Online (Sandbox Code Playgroud)

有人遇到过类似甚至相同的问题吗?如果您想查看 WSDL,我可以稍后添加。

我已经使用soapUI 和WSDL 文件创建了一个新的SOAP 项目。WSDL 文件已成功导入。