I dont think that is possible. As you know lot of ground work is done in the background when calling web methods. SOAP Request, SOAP response are created for you. Also the types, parameters in both request and response have to be serialized and de serialized so that we exchange info over the wire/network. If you dont use the proxy this will defeat the whole purpose. This is as per my knowledge.
I have tried using VS 2005, .NET 2.0, as follows. You could have a common class library with your custom objects. use this library in both web service and the client app. when you use the objects local to the client app you would get an conversion error
ClassLibrary CommonClassLib holding the custom objects
public class Video
{
public string strTitle;
public ArrayList arrProducer = new ArrayList();
}
Proxy generated "Video" object has the following attributes attached. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.42")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.bostonVideo.com/ComplexTypeService")]
public partial class Video {
...
}
You woud get an conversion error as follows
Cannot implicitly convert type 'ConsoleApplication2.localhost.Video' to 'CommonClassLib.Video'
Hope this helps.