PC Review


Reply
Thread Tools Rate Thread

Contacting a Pocket PC from a server

 
 
LJ
Guest
Posts: n/a
 
      14th Sep 2004
Hi,

I'm stuck developing an application where a a client application running on
a PDA needs to be updated by a server. This client application can easily
pull information from the server using a webservice running on the server.
But how can the server push information to the client Pocket PC without
resorting to polling techniques on the client.


Thanks, LJ


 
Reply With Quote
 
 
 
 
Paul G. Tobey [eMVP]
Guest
Posts: n/a
 
      14th Sep 2004
The client will have to have some sort of a connection (server), endpoint
open. You can do that with sockets, you might run an FTP or HTTP server on
the device, etc.

Paul T.

"LJ" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi,
>
> I'm stuck developing an application where a a client application running
> on a PDA needs to be updated by a server. This client application can
> easily pull information from the server using a webservice running on the
> server. But how can the server push information to the client Pocket PC
> without resorting to polling techniques on the client.
>
>
> Thanks, LJ
>



 
Reply With Quote
 
LJ
Guest
Posts: n/a
 
      14th Sep 2004
Hi Paul,

Thanks for responding.
As far as I know there is no way to run a Webservice on the Pocket PC itself
using the Compact Framework without coding all the plumbing myself and that
seems like a daunting task. The app has to go through a tightly secured
(wireless) network that is firewalled at several places so I would love to
be able do two-way initiated communication using port 80 using technolgies
like SOAP and XML. Has anyone come up with something that is able to do this
or will I have to create my own protocols in order to do so?

Thanks for responding,

LJ

"Paul G. Tobey [eMVP]" <ptobey no spam AT no instrument no spam DOT com>
wrote in message news:eyQ%(E-Mail Removed)...
> The client will have to have some sort of a connection (server), endpoint
> open. You can do that with sockets, you might run an FTP or HTTP server
> on the device, etc.
>
> Paul T.
>
> "LJ" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> Hi,
>>
>> I'm stuck developing an application where a a client application running
>> on a PDA needs to be updated by a server. This client application can
>> easily pull information from the server using a webservice running on the
>> server. But how can the server push information to the client Pocket PC
>> without resorting to polling techniques on the client.
>>
>>
>> Thanks, LJ
>>

>
>



 
Reply With Quote
 
Paul G. Tobey [eMVP]
Guest
Posts: n/a
 
      14th Sep 2004
Not with released pieces, no. You didn't say anything about running a Web
service. It's not a daunting task, generally. You simply have total
control over the 'protocol' for the communications. You could say that the
client just opens the socket, sends an XML file, and disconnects. Not very
difficult. You could be listening on port 80, if you wanted to. You'd have
to process HTTP requests from the other end, of course.

Paul T.

"LJ" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> Hi Paul,
>
> Thanks for responding.
> As far as I know there is no way to run a Webservice on the Pocket PC
> itself using the Compact Framework without coding all the plumbing myself
> and that seems like a daunting task. The app has to go through a tightly
> secured (wireless) network that is firewalled at several places so I would
> love to be able do two-way initiated communication using port 80 using
> technolgies like SOAP and XML. Has anyone come up with something that is
> able to do this or will I have to create my own protocols in order to do
> so?
>
> Thanks for responding,
>
> LJ
>
> "Paul G. Tobey [eMVP]" <ptobey no spam AT no instrument no spam DOT com>
> wrote in message news:eyQ%(E-Mail Removed)...
>> The client will have to have some sort of a connection (server), endpoint
>> open. You can do that with sockets, you might run an FTP or HTTP server
>> on the device, etc.
>>
>> Paul T.
>>
>> "LJ" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>>> Hi,
>>>
>>> I'm stuck developing an application where a a client application running
>>> on a PDA needs to be updated by a server. This client application can
>>> easily pull information from the server using a webservice running on
>>> the server. But how can the server push information to the client Pocket
>>> PC without resorting to polling techniques on the client.
>>>
>>>
>>> Thanks, LJ
>>>

>>
>>

>
>



 
Reply With Quote
 
LJ
Guest
Posts: n/a
 
      14th Sep 2004
I was hoping that MS had already done the tedious work for me. Processing
the HTTP requests is probably not that difficult (maybe a bit slow when done
in the CF), it is the security stuff hat bothers me most.

Thanks for your reply,

LJ


"Paul G. Tobey [eMVP]" <ptobey no spam AT no instrument no spam DOT com>
wrote in message news:(E-Mail Removed)...
> Not with released pieces, no. You didn't say anything about running a Web
> service. It's not a daunting task, generally. You simply have total
> control over the 'protocol' for the communications. You could say that
> the client just opens the socket, sends an XML file, and disconnects. Not
> very difficult. You could be listening on port 80, if you wanted to.
> You'd have to process HTTP requests from the other end, of course.
>
> Paul T.
>
> "LJ" <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
>> Hi Paul,
>>
>> Thanks for responding.
>> As far as I know there is no way to run a Webservice on the Pocket PC
>> itself using the Compact Framework without coding all the plumbing myself
>> and that seems like a daunting task. The app has to go through a tightly
>> secured (wireless) network that is firewalled at several places so I
>> would love to be able do two-way initiated communication using port 80
>> using technolgies like SOAP and XML. Has anyone come up with something
>> that is able to do this or will I have to create my own protocols in
>> order to do so?
>>
>> Thanks for responding,
>>
>> LJ
>>
>> "Paul G. Tobey [eMVP]" <ptobey no spam AT no instrument no spam DOT com>
>> wrote in message news:eyQ%(E-Mail Removed)...
>>> The client will have to have some sort of a connection (server),
>>> endpoint open. You can do that with sockets, you might run an FTP or
>>> HTTP server on the device, etc.
>>>
>>> Paul T.
>>>
>>> "LJ" <(E-Mail Removed)> wrote in message
>>> news:(E-Mail Removed)...
>>>> Hi,
>>>>
>>>> I'm stuck developing an application where a a client application
>>>> running on a PDA needs to be updated by a server. This client
>>>> application can easily pull information from the server using a
>>>> webservice running on the server. But how can the server push
>>>> information to the client Pocket PC without resorting to polling
>>>> techniques on the client.
>>>>
>>>>
>>>> Thanks, LJ
>>>>
>>>
>>>

>>
>>

>
>



 
Reply With Quote
 
Paul G. Tobey [eMVP]
Guest
Posts: n/a
 
      14th Sep 2004
You're on the server end. Why would you have to deal with security? You're
just sitting there waiting for something to happen. If the desktop machine
can't get a packet to you, that's its problem. On the desktop side, you
have a lot more code sitting under you to handle that stuff...

Paul T.

"LJ" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I was hoping that MS had already done the tedious work for me. Processing
>the HTTP requests is probably not that difficult (maybe a bit slow when
>done in the CF), it is the security stuff hat bothers me most.
>
> Thanks for your reply,
>
> LJ
>
>
> "Paul G. Tobey [eMVP]" <ptobey no spam AT no instrument no spam DOT com>
> wrote in message news:(E-Mail Removed)...
>> Not with released pieces, no. You didn't say anything about running a
>> Web service. It's not a daunting task, generally. You simply have total
>> control over the 'protocol' for the communications. You could say that
>> the client just opens the socket, sends an XML file, and disconnects.
>> Not very difficult. You could be listening on port 80, if you wanted to.
>> You'd have to process HTTP requests from the other end, of course.
>>
>> Paul T.
>>
>> "LJ" <(E-Mail Removed)> wrote in message
>> news:%(E-Mail Removed)...
>>> Hi Paul,
>>>
>>> Thanks for responding.
>>> As far as I know there is no way to run a Webservice on the Pocket PC
>>> itself using the Compact Framework without coding all the plumbing
>>> myself and that seems like a daunting task. The app has to go through a
>>> tightly secured (wireless) network that is firewalled at several places
>>> so I would love to be able do two-way initiated communication using port
>>> 80 using technolgies like SOAP and XML. Has anyone come up with
>>> something that is able to do this or will I have to create my own
>>> protocols in order to do so?
>>>
>>> Thanks for responding,
>>>
>>> LJ
>>>
>>> "Paul G. Tobey [eMVP]" <ptobey no spam AT no instrument no spam DOT com>
>>> wrote in message news:eyQ%(E-Mail Removed)...
>>>> The client will have to have some sort of a connection (server),
>>>> endpoint open. You can do that with sockets, you might run an FTP or
>>>> HTTP server on the device, etc.
>>>>
>>>> Paul T.
>>>>
>>>> "LJ" <(E-Mail Removed)> wrote in message
>>>> news:(E-Mail Removed)...
>>>>> Hi,
>>>>>
>>>>> I'm stuck developing an application where a a client application
>>>>> running on a PDA needs to be updated by a server. This client
>>>>> application can easily pull information from the server using a
>>>>> webservice running on the server. But how can the server push
>>>>> information to the client Pocket PC without resorting to polling
>>>>> techniques on the client.
>>>>>
>>>>>
>>>>> Thanks, LJ
>>>>>
>>>>
>>>>
>>>
>>>

>>
>>

>
>



 
Reply With Quote
 
LJ
Guest
Posts: n/a
 
      15th Sep 2004
Unfortunately not. I am responsible for programming both ends, the server
and the Pocket PC. Both these ends can be contacted by the other so security
will definitely be an issue.

Thanks LJ


"Paul G. Tobey [eMVP]" <ptobey no spam AT no instrument no spam DOT com>
wrote in message news:(E-Mail Removed)...
> You're on the server end. Why would you have to deal with security?
> You're just sitting there waiting for something to happen. If the desktop
> machine can't get a packet to you, that's its problem. On the desktop
> side, you have a lot more code sitting under you to handle that stuff...
>
> Paul T.
>
> "LJ" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>>I was hoping that MS had already done the tedious work for me. Processing
>>the HTTP requests is probably not that difficult (maybe a bit slow when
>>done in the CF), it is the security stuff hat bothers me most.
>>
>> Thanks for your reply,
>>
>> LJ
>>
>>
>> "Paul G. Tobey [eMVP]" <ptobey no spam AT no instrument no spam DOT com>
>> wrote in message news:(E-Mail Removed)...
>>> Not with released pieces, no. You didn't say anything about running a
>>> Web service. It's not a daunting task, generally. You simply have
>>> total control over the 'protocol' for the communications. You could say
>>> that the client just opens the socket, sends an XML file, and
>>> disconnects. Not very difficult. You could be listening on port 80, if
>>> you wanted to. You'd have to process HTTP requests from the other end,
>>> of course.
>>>
>>> Paul T.
>>>
>>> "LJ" <(E-Mail Removed)> wrote in message
>>> news:%(E-Mail Removed)...
>>>> Hi Paul,
>>>>
>>>> Thanks for responding.
>>>> As far as I know there is no way to run a Webservice on the Pocket PC
>>>> itself using the Compact Framework without coding all the plumbing
>>>> myself and that seems like a daunting task. The app has to go through a
>>>> tightly secured (wireless) network that is firewalled at several places
>>>> so I would love to be able do two-way initiated communication using
>>>> port 80 using technolgies like SOAP and XML. Has anyone come up with
>>>> something that is able to do this or will I have to create my own
>>>> protocols in order to do so?
>>>>
>>>> Thanks for responding,
>>>>
>>>> LJ
>>>>
>>>> "Paul G. Tobey [eMVP]" <ptobey no spam AT no instrument no spam DOT
>>>> com> wrote in message news:eyQ%(E-Mail Removed)...
>>>>> The client will have to have some sort of a connection (server),
>>>>> endpoint open. You can do that with sockets, you might run an FTP or
>>>>> HTTP server on the device, etc.
>>>>>
>>>>> Paul T.
>>>>>
>>>>> "LJ" <(E-Mail Removed)> wrote in message
>>>>> news:(E-Mail Removed)...
>>>>>> Hi,
>>>>>>
>>>>>> I'm stuck developing an application where a a client application
>>>>>> running on a PDA needs to be updated by a server. This client
>>>>>> application can easily pull information from the server using a
>>>>>> webservice running on the server. But how can the server push
>>>>>> information to the client Pocket PC without resorting to polling
>>>>>> techniques on the client.
>>>>>>
>>>>>>
>>>>>> Thanks, LJ
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>

>>
>>

>
>



 
Reply With Quote
 
Tarundeep Singh Kalra
Guest
Posts: n/a
 
      15th Sep 2004
Think of the problem from other dimension.
You can not it from server side becuase of lot of security issuues as
diccussed from previuos mails.

BUT , you can always poll @ server at certain time frames whether the
updated version is there or not.

also, why dont you take a look @ Click Once provided in VS2005 (.NET 2.0).

but yes you cannot push from server unless you have your own listener
socket.

--
Regards
Tarundeep Singh Kalra

www_dot_tarunsadhana_dot_com.

www.tarunsadhana.com
tarun_at_removeAT_tarunsadhana_dot_com.remove_dots
"LJ" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi,
>
> I'm stuck developing an application where a a client application running
> on a PDA needs to be updated by a server. This client application can
> easily pull information from the server using a webservice running on the
> server. But how can the server push information to the client Pocket PC
> without resorting to polling techniques on the client.
>
>
> Thanks, LJ
>



 
Reply With Quote
 
Paul G. Tobey [eMVP]
Guest
Posts: n/a
 
      15th Sep 2004
Fine, but your question was: How do I use the Pocket PC as the server and
have the desktop machine go around and update PPC devices. In that case,
you don't care about security on the PPC side, as you don't have to do any
security negotiations from that end. Presumably, in the other case, (you
said that the PPC can, "easily pull information from the server using a
webservice"), you've already got it done...

Paul T.

"LJ" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Unfortunately not. I am responsible for programming both ends, the server
> and the Pocket PC. Both these ends can be contacted by the other so
> security will definitely be an issue.
>
> Thanks LJ
>
>
> "Paul G. Tobey [eMVP]" <ptobey no spam AT no instrument no spam DOT com>
> wrote in message news:(E-Mail Removed)...
>> You're on the server end. Why would you have to deal with security?
>> You're just sitting there waiting for something to happen. If the
>> desktop machine can't get a packet to you, that's its problem. On the
>> desktop side, you have a lot more code sitting under you to handle that
>> stuff...
>>
>> Paul T.
>>
>> "LJ" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>>>I was hoping that MS had already done the tedious work for me. Processing
>>>the HTTP requests is probably not that difficult (maybe a bit slow when
>>>done in the CF), it is the security stuff hat bothers me most.
>>>
>>> Thanks for your reply,
>>>
>>> LJ
>>>
>>>
>>> "Paul G. Tobey [eMVP]" <ptobey no spam AT no instrument no spam DOT com>
>>> wrote in message news:(E-Mail Removed)...
>>>> Not with released pieces, no. You didn't say anything about running a
>>>> Web service. It's not a daunting task, generally. You simply have
>>>> total control over the 'protocol' for the communications. You could
>>>> say that the client just opens the socket, sends an XML file, and
>>>> disconnects. Not very difficult. You could be listening on port 80, if
>>>> you wanted to. You'd have to process HTTP requests from the other end,
>>>> of course.
>>>>
>>>> Paul T.
>>>>
>>>> "LJ" <(E-Mail Removed)> wrote in message
>>>> news:%(E-Mail Removed)...
>>>>> Hi Paul,
>>>>>
>>>>> Thanks for responding.
>>>>> As far as I know there is no way to run a Webservice on the Pocket PC
>>>>> itself using the Compact Framework without coding all the plumbing
>>>>> myself and that seems like a daunting task. The app has to go through
>>>>> a tightly secured (wireless) network that is firewalled at several
>>>>> places so I would love to be able do two-way initiated communication
>>>>> using port 80 using technolgies like SOAP and XML. Has anyone come up
>>>>> with something that is able to do this or will I have to create my own
>>>>> protocols in order to do so?
>>>>>
>>>>> Thanks for responding,
>>>>>
>>>>> LJ
>>>>>
>>>>> "Paul G. Tobey [eMVP]" <ptobey no spam AT no instrument no spam DOT
>>>>> com> wrote in message news:eyQ%(E-Mail Removed)...
>>>>>> The client will have to have some sort of a connection (server),
>>>>>> endpoint open. You can do that with sockets, you might run an FTP or
>>>>>> HTTP server on the device, etc.
>>>>>>
>>>>>> Paul T.
>>>>>>
>>>>>> "LJ" <(E-Mail Removed)> wrote in message
>>>>>> news:(E-Mail Removed)...
>>>>>>> Hi,
>>>>>>>
>>>>>>> I'm stuck developing an application where a a client application
>>>>>>> running on a PDA needs to be updated by a server. This client
>>>>>>> application can easily pull information from the server using a
>>>>>>> webservice running on the server. But how can the server push
>>>>>>> information to the client Pocket PC without resorting to polling
>>>>>>> techniques on the client.
>>>>>>>
>>>>>>>
>>>>>>> Thanks, LJ
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>

>>
>>

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
contacting the server for information Kristy Walker Microsoft Word Document Management 29 30th May 2010 05:46 PM
contacting the server for information outlook 2007 gvallada Microsoft Outlook Discussion 1 4th Jun 2009 09:40 AM
Why is it continuously contacting server Stephanie Microsoft Outlook 5 19th Oct 2008 12:50 AM
sfu nfs client contacting port 80 on nfs server =?Utf-8?B?amJlaHJlbmQ=?= Microsoft Windows 2000 File System 3 22nd Mar 2004 09:57 PM
Contacting IIS Server Keith Norris Microsoft Windows 2000 0 29th Aug 2003 03:36 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:03 PM.