I am trying to encode a .NET client for cleverreach API (WSDL file: http://api.cleverreach.com/soap/interface_v4.php?wsdl , documentation at http://api.cleverreach.com/soap/interface_v4.php ) in Visual Studio 2010.
The problem is that no matter what I do there, it is not possible to create C # code for this API.
I tried both ways - adding a service link and a web link. In both cases, there was no code created for the API methods (something like createList or addBatch).
I also tried using the command line:
svcutil.exe / language: cs /out:GeneratedProxy.cs /config:app.config http://api.cleverreach.com/soap/interface_v4.php?wsdl
This just gives me an error message:
File generation ... Warning: no code has been generated. If you tried to generate a client, this may be because the metadata documents do not contain valid contracts or services or because all contracts / services were found to exist in / reference assemblies. Make sure you transfer all the metadata to the tool.
When I look at the WSDL file in a web browser, the methods I am looking for are mentioned (e.g. createList). Therefore, I am not sure what is happening.
What I would like to know:
- Why can't Visual Studio create client code for this web service?
- How can i solve the problem?
Thank,
Adrian
source
share