web service(pass events)

J

jose

Hello!!
I am trying to declare an event in the service Web to soon
be able to use it in the clients but there is no way. In
order to declare a function in the service Web it is very
simple:
< WebMethod() > Public ponHora(ByVal Function hour As
Integer, ByVal minute As Integer) As String
Dim answer As String
answer = hour & ": " & minute
Return answer
End Function

But at the time of passing an event created:
Public Event onTrack() How can I be able to pass it?
With < webmethod > I can not
Thanks for your aid
 
C

Cor

Hi Jose,

I don't understand what you want to do with the event?

A webservice is a service that gives answer to request. It is (you can send
a request to another webservice or do some logging) not giving a command to
a client I thought.

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top