I'm trying to consume a webservice from a 3'rd party phone provider, the customTool from visual studio gives me errors.
I searched a lot and tried all solutions provided, but still not luck with it)
Thats the url to the service
The error is:
Custom tool warning: Cannot import wsdl:binding
Detail: There was an error importing a wsdl:portType that the wsdl:binding is dependent on.
XPath to wsdl:portType: //wsdl:definitions[@targetNamespace='urn:TelebroadWebServices']/wsdl:portType[@name='TelebroadWebServicesPortType']
XPath to Error Source: //wsdl:definitions[@targetNamespace='urn:TelebroadWebServices']/wsdl:binding[@name='TelebroadWebServicesBinding'] ....\Reference.svcmap
Update:
I tried to generate the .net classes using soapUI, I get the following error:
Running .NET wsdl.exe
directory: C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin
command: [cmd.exe, /C, wsdl.exe, /nologo, /verbose, /namespace:Telebroad, /out:C:\TempPc, /protocol:SOAP, /language:VB, https://webserv.telebroad.com/api/v11/index.php?wsdl]
Warning: This web reference does not conform to WS-I Basic Profile v1.1.
R2706: A wsdl:binding in a DESCRIPTION MUST use the value of "literal" for the use attribute in all soapbind:body, soapbind:fault, soapbind:header and soapbind:headerfault elements.
....
If you would like more help, please type "wsdl /?".
Error: Unable to import binding 'TelebroadWebServicesBinding' from namespace 'urn:TelebroadWebServices'.
- Unable to import operation 'get_call_history'.
- The datatype 'http://schemas.xmlsoap.org/wsdl/:call_history_item' is missing.