Note: I am just consuming webservice I have no control over webservice code.
So in .net 2.0 I reference the webservice and see a class in the webservice namespace, say foobar. It's defined as:
public class foobar : System.Web.Services.Protocols.SoapHttpClientProtocol
but in .net 3.5 when i add a reference to the same webservice I no longer have this foobar class available. I do see foobarSoap which is an interface which exposes all of the methods in the foobar class above. It's defined as:
public interface foobarSoap
However it doesn't expose the properties (for obvious reasons).
I need to access these properties. How do I do it?
Best Solution
I had a similar problem when I upgraded from 2005 to 2008. I think what you are missing, when you click "Add Service Reference", a newer dialog comes up. click the Advanced button at the bottom, then on the next dialog that comes up, click the Add Web Reference button at the bottom, in the compatibility section. Then you'll get the dialog that you are most likely used to, and will have standard 2.0 proxy classes.