Mark Potter
2008-02-14 10:57:12 UTC
Hello,
I have a web service that implements an interface as follows:
[XmlInclude(typeof(AdvancedDTO))]
public class AdvancedWebService : System.Web.Services.WebService,
IAdvanced
{
#region IAdvanced Members
[WebMethod]
public AdvancedInterface.AdvancedDTO makeMessage
(AdvancedInterface.AdvancedDTO aDTO)
{
BusAdvanced ba = new BusAdvanced();
return ba.makeMessage(aDTO);
}
[WebMethod]
public AdvancedInterface.AdvancedDTO[] listMessage
(AdvancedInterface.AdvancedDTO aDTO)
{
BusAdvanced ba = new BusAdvanced();
return ba.listMessage(aDTO);
}
#endregion
}
On the client side when I register the web serivce the proxy generated
does not have the Interface implemented. I have to go in a touch up the
Reference.cs to implement the Interface.
public partial class AdvancedWebService :
System.Web.Services.Protocols.SoapHttpClientProtocol,
AdvancedInterface.IAdvanced {
Are there any tools out there that will generate the web service proxy
with the Interface.
Thanks in advance.
Mark Potter
===================================
This list is hosted by DevelopMentorĀ® http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com
I have a web service that implements an interface as follows:
[XmlInclude(typeof(AdvancedDTO))]
public class AdvancedWebService : System.Web.Services.WebService,
IAdvanced
{
#region IAdvanced Members
[WebMethod]
public AdvancedInterface.AdvancedDTO makeMessage
(AdvancedInterface.AdvancedDTO aDTO)
{
BusAdvanced ba = new BusAdvanced();
return ba.makeMessage(aDTO);
}
[WebMethod]
public AdvancedInterface.AdvancedDTO[] listMessage
(AdvancedInterface.AdvancedDTO aDTO)
{
BusAdvanced ba = new BusAdvanced();
return ba.listMessage(aDTO);
}
#endregion
}
On the client side when I register the web serivce the proxy generated
does not have the Interface implemented. I have to go in a touch up the
Reference.cs to implement the Interface.
public partial class AdvancedWebService :
System.Web.Services.Protocols.SoapHttpClientProtocol,
AdvancedInterface.IAdvanced {
Are there any tools out there that will generate the web service proxy
with the Interface.
Thanks in advance.
Mark Potter
===================================
This list is hosted by DevelopMentorĀ® http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com