473,396 Members | 1,968 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,396 software developers and data experts.

Managing 3 apps

Hi. I need 3 applications working at the same time. The first one is a
Pocket PC application, the second is a web service and the third one isn't
done yet. This third app is only to receive messages (maybe a Windows Forms
application or even an ASP.NET one...)

The question is how to send messages to the third application. It should be
the web service when the Pocket PC calls a web method. How could I do that?
Remoting? I only need to send a string, so the easier method ;-)

Regards,

Diego F.
Nov 16 '05 #1
6 1171
Diego,

If it needs to be a web service, then you have only one choice. Doing
this is easy enough, you just have to adorn your method with the WebMethod
attribute, and then host your object in ASP.NET.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Diego F." <di*****@NOterra.es> wrote in message
news:OF**************@tk2msftngp13.phx.gbl...
Hi. I need 3 applications working at the same time. The first one is a
Pocket PC application, the second is a web service and the third one isn't
done yet. This third app is only to receive messages (maybe a Windows Forms application or even an ASP.NET one...)

The question is how to send messages to the third application. It should be the web service when the Pocket PC calls a web method. How could I do that? Remoting? I only need to send a string, so the easier method ;-)

Regards,

Diego F.

Nov 16 '05 #2
Can you explain a bit more? What do you mean by "adorn your method with the
WebMethod attribute"? Do you suggest doing the third app using ASP.NET?

Regards,

Diego F.

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> escribió
en el mensaje news:up*************@TK2MSFTNGP11.phx.gbl...
Diego,

If it needs to be a web service, then you have only one choice. Doing
this is easy enough, you just have to adorn your method with the WebMethod
attribute, and then host your object in ASP.NET.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

Nov 16 '05 #3
Diego,

Check out the section of the .NET framework documentation titled
"Building XML Web Services Using ASP.NET", located at (watch for line wrap):

http://msdn.microsoft.com/library/de...icesbasics.asp
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Diego F." <di*****@NOterra.es> wrote in message
news:Ob*************@TK2MSFTNGP11.phx.gbl...
Can you explain a bit more? What do you mean by "adorn your method with the WebMethod attribute"? Do you suggest doing the third app using ASP.NET?

Regards,

Diego F.

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> escribió en el mensaje news:up*************@TK2MSFTNGP11.phx.gbl...
Diego,

If it needs to be a web service, then you have only one choice. Doing this is easy enough, you just have to adorn your method with the WebMethod attribute, and then host your object in ASP.NET.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com


Nov 16 '05 #4
Hi Diego,

I have a "similar" deployment, only that I use a windows service instead of
a web service, the task for it is to act as an intermediary between the PPC
app and the other end ( ADP's inventory system) .it depends of the third
application how you communicate with it. My system use files to communicate
with ADP's system. when a new inventory file is exported from ADP I get it
(using a FileSystemWatcher) and makes it ready for the PPC app to comsume, a
similar thing happen with the PPC sends an order, I generate a file based on
ADP format and call an upload method.

If you have to design the third applicatio nyou can use a number of ways,
the simplest would be using a DB to store the messages sent from the ppc.
Hope this help

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Diego F." <di*****@NOterra.es> wrote in message
news:OF**************@tk2msftngp13.phx.gbl...
Hi. I need 3 applications working at the same time. The first one is a
Pocket PC application, the second is a web service and the third one isn't
done yet. This third app is only to receive messages (maybe a Windows Forms application or even an ASP.NET one...)

The question is how to send messages to the third application. It should be the web service when the Pocket PC calls a web method. How could I do that? Remoting? I only need to send a string, so the easier method ;-)

Regards,

Diego F.

Nov 16 '05 #5
Thanks, but I need to reformulate my question.

I have a web service that has to send messages to another application. This
application is not going to call a web method. What I need is a method to
mantain the application online and receive messages from my WS. I don't mind
how to do that application. It can be just a console application that shows
the messages, or a ASP.NET form, or anything that works as easy as possible
:-)

Regards,

Diego F.

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> escribió
en el mensaje news:ug**************@TK2MSFTNGP09.phx.gbl...
Diego,

Check out the section of the .NET framework documentation titled
"Building XML Web Services Using ASP.NET", located at (watch for line wrap):
http://msdn.microsoft.com/library/de...icesbasics.asp

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Diego F." <di*****@NOterra.es> wrote in message
news:Ob*************@TK2MSFTNGP11.phx.gbl...
Can you explain a bit more? What do you mean by "adorn your method with

the
WebMethod attribute"? Do you suggest doing the third app using ASP.NET?

Regards,

Diego F.

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com>

escribió
en el mensaje news:up*************@TK2MSFTNGP11.phx.gbl...
Diego,

If it needs to be a web service, then you have only one choice. Doing this is easy enough, you just have to adorn your method with the WebMethod attribute, and then host your object in ASP.NET.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com



Nov 16 '05 #6
Diego,

In this case, I think that you want to set up something using remoting,
and not use a web service. The reason for this is that you will probably
need elevated privledges of some kind in order to run your app. Personally,
I don't like the idea of elevating privledges in a web service (or ASP.NET
page), and would prefer to use a remoted object (in a service perhaps) to do
this instead.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Diego F." <di*****@NOterra.es> wrote in message
news:%2***************@TK2MSFTNGP10.phx.gbl...
Thanks, but I need to reformulate my question.

I have a web service that has to send messages to another application. This application is not going to call a web method. What I need is a method to
mantain the application online and receive messages from my WS. I don't mind how to do that application. It can be just a console application that shows the messages, or a ASP.NET form, or anything that works as easy as possible :-)

Regards,

Diego F.

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> escribió en el mensaje news:ug**************@TK2MSFTNGP09.phx.gbl...
Diego,

Check out the section of the .NET framework documentation titled
"Building XML Web Services Using ASP.NET", located at (watch for line

wrap):

http://msdn.microsoft.com/library/de...icesbasics.asp


--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Diego F." <di*****@NOterra.es> wrote in message
news:Ob*************@TK2MSFTNGP11.phx.gbl...
Can you explain a bit more? What do you mean by "adorn your method with
the
WebMethod attribute"? Do you suggest doing the third app using

ASP.NET?
Regards,

Diego F.

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com>

escribió
en el mensaje news:up*************@TK2MSFTNGP11.phx.gbl...
> Diego,
>
> If it needs to be a web service, then you have only one choice.

Doing
> this is easy enough, you just have to adorn your method with the

WebMethod
> attribute, and then host your object in ASP.NET.
>
> Hope this helps.
>
>
> --
> - Nicholas Paldino [.NET/C# MVP]
> - mv*@spam.guard.caspershouse.com
>



Nov 16 '05 #7

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

Similar topics

0
by: noam_a_jacobs | last post by:
Hi, I have a technical question for those smart cookies with update management experience. We use a product called EasyUpdate, from www.AutoUpdatePlus.com, to manage the updates of our app after...
0
by: Leythos | last post by:
I have decided to start learning MySQL, but I'm kind of a very old (long time) MS SQL programmer/designer. I'm use to using the GUI to interact with the database (Query Analyzer) and I like the...
3
by: Torsten Wiebesiek | last post by:
Hi, I am currently working on a computer vision system. At the moment I'm adding support for firewire cameras. Since there is only one firewire system on a computer, I have writen a firewire...
7
by: tgh003 | last post by:
I would be interested to hear how others are managing their javascript (.js) files from the original code vs the obfuscated version they publish to their site/webapp. I currently manage 2 files,...
11
by: Bijoy Naick | last post by:
Hello, I am writing an application which uses SQL Server as the database.. Some questions... 1. Just want to confirm that using SQLConnection is the best way connect the db.. 2. The...
15
by: David | last post by:
Hi, I have built a web application that will be a very high profile application. We had tested it, demonstrated it and shown that it all works. On a dress rehearsal run through, it failed...
1
by: Diego F. | last post by:
I use to show the error messages that I get in a try block. try { ... } catch (Exception ex) { ... (ex.Message); }
0
by: batista | last post by:
Hello all, Let me first explain my windows application.... I have a grid which is bound to a dataview of a dataset... Now this dataset is updated from a separate thread and therefore I've...
1
by: cowznofsky | last post by:
My assignment to create a web app that will be used to maintain some xml (which will be then be persisted as an xml column in a table). So I'm wondering if there are any sample apps around that...
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.