cancel
Showing results for 
Search instead for 
Did you mean: 

The following Policy Assertions were not Imported in visual Studio

former_member563870
Participant
0 Kudos

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

Accepted Solutions (0)

Answers (3)

Answers (3)

kk2020
Member
0 Kudos

I have same problem .net 6 .

igor_laktic
Discoverer
0 Kudos

I have same problem .Net Core 3.1 .

michael_trans
Discoverer
0 Kudos

I have same problem. anyone help?