Managing 3 apps

  • Thread starter Thread starter Diego F.
  • Start date Start date
D

Diego F.

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.
 
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.
 
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.
 
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/d...html/cpconbuildingaspnetwebservicesbasics.asp


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Diego F. said:
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]" <[email protected]> escribió
en el mensaje news:[email protected]...
 
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
 
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 said:
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/d...html/cpconbuildingaspnetwebservicesbasics.asp


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Diego F. said:
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]" <[email protected]> escribió
en el mensaje news:[email protected]...
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.
 
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]
- (e-mail address removed)

Diego F. said:
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]" <[email protected]> escribió
en el mensaje news:[email protected]...
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/d...html/cpconbuildingaspnetwebservicesbasics.asp
--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Diego F. said:
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]" <[email protected]> escribió
en el mensaje 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.
 

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

Back
Top