Hi Guys,
So I have been asked to see if I can change an existing website to utilize a web-service (which is provided by a company called EmailCenterUK).
Now I opened Visual Studio 2012 express, created a console application and added the following as a service reference:
https://maxemail.emailcenteruk.com/api/soap/file_upload?wsdl[
^]
The proxy class was generated with no problems when I did this. They appeared to generate with no errors but in fact they failed in the same ways as the VS2008 attempt does
However, I was then told that it needs to be used with this existing website which as .Net 3.5 and not .Net 4. This is when my issue started, for some reason this wsdl will not work with 3.5 primarily because it cannot find the Soap Encoding definition for the type "Array". This bugs me because if I browse to the following (which is the path provided in the wsdl):
http://schemas.xmlsoap.org/encoding
I can find the "Array" type defined.
Any ideas a) how I can get Visual Studio 2008 (or 2012 with project framework set to 3.5) to read this WSDL? b) Once it is read (if I need to make changes after the read process) how can I make it generate the proxy class(es) ?
I've tried a few things which talk about setting an import so I can specify the location of the namespace file, but I have been unable to get the proxy class to generate.
Hope you can help me. If you need more info let me know.
Information for anyone interested
I have found out the following, by using soapUI I tested the WSDL document for compliance to the WS-I, unfortunately the document does not comply with the standard and as a result Visual Studio is unable to process it. This is not framework dependent or version dependent so my question was a bit misleading.
I adjust this question as follows:
Does anyone have a suggestion on how I can consume a non-compliant service via Visual Studios?