'Warning: One or more errors occurred when I add a new WCF Web Service reference

I'm here again for your help.

I am wanting to make a WCF Web Service project, but it turns out that I have problems when doing an authentication or sending parameters to the SoapClient.

I wanted to try to reconnect the Web Service in another project and it turns out that "One or more errors have occurred", and that made me doubt if the same thing happens to me in the original project. These problems can cause problems when authenticating or sending data to the SoapClient?

This is what appears to me:

The following Policy Assertions were not Imported:\r\n XPath://wsdl:definitions[@targetNamespace='urn:sap-com:document:sap:soap:functions:mc-style']/wsdl:binding[@name='ZWsCustomerInvoiceGetList']\r\n Assertions: <saptrnbnd:OptimizedXMLTransfer xmlns:saptrnbnd='http://www.sap.com/webas/710/soap/features/transportbinding/'>..</saptrnbnd:OptimizedXMLTransfer> <saptrnbnd:OptimizedXMLTransfer xmlns:saptrnbnd='http://www.sap.com/webas/710/soap/features/transportbinding/'>..</saptrnbnd:OptimizedXMLTransfer> <sapattahnd:Enabled xmlns:sapattahnd='http://www.sap.com/710/features/attachment/'>..</sapattahnd:Enabled> The optional WSDL extension element 'Policy' from namespace 'http://schemas.xmlsoap.org/ws/2004/09/policy' was not handled.\r\nXPath: //wsdl:definitions[@targetNamespace='urn:sap-com:document:sap:soap:functions:mc-style']/wsdl:portType[@name='Z_WS_CUSTOMER_INVOICE_GET_LIST']/wsdl:operation[@name='ZWsCustomerInvoiceGetList'] The optional WSDL extension element 'Policy' from namespace 'http://schemas.xmlsoap.org/ws/2004/09/policy' was not handled.\r\nXPath: //wsdl:definitions[@targetNamespace='urn:sap-com:document:sap:soap:functions:mc-style']/wsdl:portType[@name='Z_WS_CUSTOMER_INVOICE_GET_LIST']

The warning is on link "(details)"



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source