I need to consume this WSDL:
https://testapi2.schenker.pl/services/TransportOrders?wsdl
But I have a problem with adding reference to .NET Standard library.
For .NET Framework library I had options to add web reference like on below screens.
- Service reference menu
- Add service reference menu - window
- Add service reference - advanced
- Add service reference - advanced - compatibility - web reference
But for .NET Standard or .NET Framework I have completely different options for that.
Also I get warnings:
Cannot import wsdl:port
Detail: There was an error importing a wsdl:binding that the wsdl:port is dependent on.
XPath to wsdl:binding: //wsdl:definitions[@targetNamespace='http://api.schenker.pl/TransportOrders/']/wsdl:binding[@name='TransportOrdersBinding']
XPath to Error Source: //wsdl:definitions[@targetNamespace='http://api.schenker.pl/TransportOrders/']/wsdl:service[@name='TransportOrdersService']/wsdl:port[@name='TransportOrdersPort']
Cannot import wsdl:binding
Detail: The given key was not present in the dictionary.
XPath to Error Source: //wsdl:definitions[@targetNamespace='http://api.schenker.pl/TransportOrders/']/wsdl:binding[@name='TransportOrdersBinding']
Is there any possibility that I can add that WSDL to .NET Standard as Web Reference? Or it's a problem of that Schenker service that is only compatible with old .NET Framework?
Why it's a problem, because I need to host target application od linux machine.
WSDL file:
https://pastebin.com/p0nrLiwe
TransportOrderds.xsd
https://pastebin.com/w6Edzdjz
StandardTypes.xsd
https://pastebin.com/0pu6YJuA