Say, I have a WebService SettingsWebService with a WebMethod AddUser(User userObject).
The User class is in the SettingsWebService solution.
When i generate a proxy for the SettingsWebService it creates a class for asmx which contains the AddUser webmethod.
It also generates a class for the User class.
The client now uses
Proxy.AddUser(Proxy.User user)
interface.
Is there any way to tell wsdl to not generate a class for the User class, so that the signature remains :
Proxy.AddUser(SettingsWebService.User user)
The Client will have a reference to the proxy and the SettingsWebSerice dlls.
Right now I am having to manually remove the code for the User partial class in the proxy and add a usings reference to the WebSettings dll.
Many thanks in advance!