Re: Urgent Question: Info push to PDA with Ksoap

Stefan Haustein <[email protected]> Fri, 31 Oct 2003 15:22:05 +0100
Newsgroups gmane.comp.java.enhydra.ksoap
Message-ID <[email protected]>
[email protected] wrote:

> I have Ksoap running on a PDA. I have Apache Axis on a PC. Both deviced are
> connecet with some network. I would like some Java code running on my PC to
> initiate sending a message to my PDA Ksoap. 
> 
> I know that it is technically not possible to run a SOAP Server on the PDA.

Actually, that depends on the PDA. If a ServerSocket is provided, it is possible 
to use it to implement a HTTP server working with kSoap.

> I know that it is possible to connect SOAP with Mail instead HTTP. Questions:
> Is this also possible with Ksoap? Does somebody tried that? Can I send a
> single package from the server to the client even though no server is running on
> the PDA? Perhaps somebody can provide me with an article, example (code,
> documantation) for that?

This should be technically feasible. You may want to take a look at Joerg 
Pleumann's MAIL4ME API for the SMTP/POP functionality...

In both cases, you would need to implement some "glue" code, taking over the 
functionality of the ksoap http transport classes...

Best,
Stefan