![]() |
Custom interfaces
Hi.
My web service class implements a custom interface. When I see the service description, my custom interface is not there. In my client, I add a reference to the web service and my custom interface does not appear. Are custom interfaces supported on web services? Are there special considerations when using them? Thanks, Robert Scheer |
Re: Custom interfaces
Which class implements your interface? Is it your webservice class or a
class that serves as a return value or parameter? Maybe some code snippets could help... -- Greetz, Jan ________________________ Read my weblog: http://weblogs.asp.net/jan "Robert Scheer" <rbscheer@my-deja.com> schreef in bericht news:cfd22ab6.0404181733.1ca2f916@posting.google.c om... > Hi. > > My web service class implements a custom interface. When I see the > service description, my custom interface is not there. In my client, I > add a reference to the web service and my custom interface does not > appear. Are custom interfaces supported on web services? Are there > special considerations when using them? > > Thanks, > Robert Scheer |
Re: Custom interfaces
Hi Jan.
That's the relevant part of my web service: Public Interface IWebTest Sub TryIt() End Interface <System.Web.Services.WebService(Namespace:="http ://tempuri.org/FirstWs/Testcomp")> _ Public Class FirstWs Inherits System.Web.Services.WebService Implements IWebTest <WebMethod()> _ Public Sub TryIt() Implements IWebTest.TryIt Dim s As String = "First Web Service" End Sub End Class When I look at the wsdl, the IWebTest interface does not appear. The client will not show the interface too. I am using vs.net 2003. Thanks, Robert Scheer "Jan Tielens" <jan@no.spam.please.leadit.be> wrote in message news:<#PrvsAdJEHA.3848@TK2MSFTNGP09.phx.gbl>... > Which class implements your interface? Is it your webservice class or a > class that serves as a return value or parameter? Maybe some code snippets > could help... > > -- > Greetz, > Jan > ________________________ > Read my weblog: http://weblogs.asp.net/jan > > "Robert Scheer" <rbscheer@my-deja.com> schreef in bericht > news:cfd22ab6.0404181733.1ca2f916@posting.google.c om... > > Hi. > > > > My web service class implements a custom interface. When I see the > > service description, my custom interface is not there. In my client, I > > add a reference to the web service and my custom interface does not > > appear. Are custom interfaces supported on web services? Are there > > special considerations when using them? > > > > Thanks, > > Robert Scheer |
Re: Custom interfaces
I don't think interfaces on webservice class level can be made visible in a
wsdl. -- Greetz, Jan ________________________ Read my weblog: http://weblogs.asp.net/jan "Robert Scheer" <rbscheer@my-deja.com> schreef in bericht news:cfd22ab6.0404190437.1076eaf8@posting.google.c om... > Hi Jan. > > That's the relevant part of my web service: > > Public Interface IWebTest > Sub TryIt() > End Interface > > <System.Web.Services.WebService(Namespace:="http ://tempuri.org/FirstWs/Testc omp")> > _ > Public Class FirstWs > Inherits System.Web.Services.WebService > Implements IWebTest > > <WebMethod()> _ > Public Sub TryIt() Implements IWebTest.TryIt > Dim s As String = "First Web Service" > End Sub > End Class > > When I look at the wsdl, the IWebTest interface does not appear. The > client will not show the interface too. I am using vs.net 2003. > > Thanks, > Robert Scheer > > > "Jan Tielens" <jan@no.spam.please.leadit.be> wrote in message news:<#PrvsAdJEHA.3848@TK2MSFTNGP09.phx.gbl>... > > Which class implements your interface? Is it your webservice class or a > > class that serves as a return value or parameter? Maybe some code snippets > > could help... > > > > -- > > Greetz, > > Jan > > ________________________ > > Read my weblog: http://weblogs.asp.net/jan > > > > "Robert Scheer" <rbscheer@my-deja.com> schreef in bericht > > news:cfd22ab6.0404181733.1ca2f916@posting.google.c om... > > > Hi. > > > > > > My web service class implements a custom interface. When I see the > > > service description, my custom interface is not there. In my client, I > > > add a reference to the web service and my custom interface does not > > > appear. Are custom interfaces supported on web services? Are there > > > special considerations when using them? > > > > > > Thanks, > > > Robert Scheer |
| All times are GMT. The time now is 02:46 PM. |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.