Skip to Content
0
Aug 19, 2019 at 06:37 AM

The following Policy Assertions were not Imported in visual Studio

433 Views

Hi Developers !!!

We are facing error in Visual Studio 2017/2019 Framework: .net Core 2.2, while importing WSDL file we get error says

"The following Policy Assertions were not Imported"

XPath://wsdl:definitions[@targetNamespace='http://sap.com/xi/A1S/Global']/wsdl:binding[@name='binding_SOAP12'] Assertions: <saptrnbnd:OptimizedXMLTransfer xmlns:saptrnbnd='http://www.sap.com/webas/710/soap/features/transportbinding/'>..</saptrnbnd:OptimizedXMLTransfer> XPath://wsdl:definitions[@targetNamespace='http://sap.com/xi/A1S/Global']/wsdl:binding[@name='binding_SOAP12'] Assertions: <saptrnbnd:OptimizedXMLTransfer xmlns:saptrnbnd='http://www.sap.com/webas/710/soap/features/transportbinding/'>..</saptrnbnd:OptimizedXMLTransfer> XPath://wsdl:definitions[@targetNamespace='http://sap.com/xi/A1S/Global']/wsdl:binding[@name='binding_SOAP12'] Assertions: <saptrnbnd:OptimizedXMLTransfer xmlns:saptrnbnd='http://www.sap.com/webas/710/soap/features/transportbinding/'>..</saptrnbnd:OptimizedXMLTransfer> The following Policy Assertions were not Imported: XPath://wsdl:definitions[@targetNamespace='http://sap.com/xi/A1S/Global']/wsdl:binding[@name='binding'] Assertions: <saptrnbnd:OptimizedXMLTransfer xmlns:saptrnbnd='http://www.sap.com/webas/710/soap/features/transportbinding/'>..</saptrnbnd:OptimizedXMLTransfer> XPath://wsdl:definitions[@targetNamespace='http://sap.com/xi/A1S/Global']/wsdl:binding[@name='binding'] Assertions: <saptrnbnd:OptimizedXMLTransfer xmlns:saptrnbnd='http://www.sap.com/webas/710/soap/features/transportbinding/'>..</saptrnbnd:OptimizedXMLTransfer> XPath://wsdl:definitions[@targetNamespace='http://sap.com/xi/A1S/Global']/wsdl:binding[@name='binding'] Assertions: <saptrnbnd:OptimizedXMLTransfer xmlns:saptrnbnd='http://www.sap.com/webas/710/soap/features/transportbinding/'>..</saptrnbnd:OptimizedXMLTransfer> The optional WSDL extension element 'Policy' from namespace 'http://schemas.xmlsoap.org/ws/2004/09/policy' was not handled. XPath: //wsdl:definitions[@targetNamespace='http://sap.com/xi/A1S/Global']/wsdl:portType[@name='ManageCustomerIn']/wsdl:operation[@name='CheckMaintainBundle_V1'] The optional WSDL extension element 'Policy' from namespace 'http://schemas.xmlsoap.org/ws/2004/09/policy' was not handled. XPath: //wsdl:definitions[@targetNamespace='http://sap.com/xi/A1S/Global']/wsdl:portType[@name='ManageCustomerIn']/wsdl:operation[@name='MaintainBundle_V1'] The optional WSDL extension element 'Policy' from namespace 'http://schemas.xmlsoap.org/ws/2004/09/policy' was not handled. XPath: //wsdl:definitions[@targetNamespace='http://sap.com/xi/A1S/Global']/wsdl:portType[@name='ManageCustomerIn']

We are not able to proceed to the next step of integrating the SAP, The standard WSDL is working in SOAP UI tool, but in VS is not working, Why?

Can anyone help us to rectify the issue?

Regards

Janarthanan