473,378 Members | 1,721 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

web service(pass events)

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
Nov 20 '05 #1
1 942
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
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?

Nov 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: jose | last post by:
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: <...
3
by: R A | last post by:
Hi I have created a windows service. I need the service to monitor some file status for any changes in the file size. How can I have the service execute the monitor function lets say every 10...
7
by: Mike | last post by:
I want to create a windows service that will monitor another window service. what i need for the service to do is, if a service is stopped I need it to start the service back up example: ...
4
by: Groundskeeper | last post by:
I can't seem to get a custom UnhandledException handler working for a Windows Service I'm writing in VB.NET. I've read the MSDN and tried various different placements of the AddHandler call, to no...
1
by: Turbo | last post by:
I need to be able to update the content on the client machine when a web service event is fired or an asynchronous callback routine is executed. For example, I open a page that will display a...
1
by: vul | last post by:
I created Windows Service in VB.Net with the name MSFaxListener. It should listen Windows Fax Service events and update SQL Server database when fax job changes it's status. In order to do that in...
0
by: Steven Livingstone | last post by:
Anyone done any work or know of much work in WSE on web service events such as the WS-Events spec? steven :: http://stevenR2.com
2
by: r norman | last post by:
Please excuse the cross-posting. This question was raised in microsoft.public.dotnet.general but hasn't been answered so I am trying where I can. There are two of us who have the same problem...
0
by: Rotsey | last post by:
Hi, I am developing a webservice with VS2005 on XP Pro Using IIS as my sever. When I instantiate my service from say a win forms app, does a Session get created for each instantiaion of the...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.