I'm trying to use wsdl.exe (shipped with .NET / MONO) to create c# sources to allow me to connect to Pi Web Services, using a WSDL file that has been provided by my customer.
This is the output -
C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1A\bin\NETFX 4.5.1 Tools>wsdl c:\tmp\PITimeSeries.wsdl
Microsoft ® Web Services Description Language Utility
[Microsoft ® .NET Framework, Version 4.0.30319.33440]
Copyright © Microsoft Corporation. All rights reserved.
Warning: This web reference does not conform to WS-I Basic Profile v1.1.
SOAP 1.1 binding was not found: WS-I's Basic Profile 1.1 consists of implementat
ion guidelines that recommend how a set of core Web services specifications shou
ld be used together to develop interoperable Web services. For the 1.1 Profile,
those specifications are SOAP 1.1, WSDL 1.1, UDDI 2.0, XML 1.0 and XML Schema.
For more details on the WS-I Basic Profile v1.1, see the specification
at http://www.ws-i.org/...rofile-1.1.html.
Error: Unable to import binding 'TimeSeriesEndpoint' from namespace 'http://xml.osisoft.com/services/PIDataService'.
- Unable to import operation 'GetPIArchiveData'.
- The element 'http://xml.osisoft.c...tPIArchiveData' is missing.
http://xml.osisoft.c...etPIArchiveData appears to be missing from the WSDL file
This means that the system can't access some of the namespaces and dependencies in the WSDL file - the whole thing fails.
Does anyone know how I access these? Do I need one of the other two service WSDLs?
If anybody knows the story, it would be great to know.
Thanks for your help.