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

时间:2017-08-30 12:47:08

标签: web-services soap wsdl sap policy

我目前正在尝试导入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']

有没有人有类似甚至相同的问题?如果你想看WSDL,我可以稍后再添加它。

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

0 个答案:

没有答案