Re: Ksoap: Can kSOAP do this?
[email protected] Thu, 18 Sep 2003 10:11:44 +0200
| Newsgroups | gmane.comp.java.enhydra.ksoap |
|---|---|
| Message-ID | <[email protected]> |
I'm not sure I understood 100% of what you want to do, but it sounds like possible. Ideally, you could use the kSoap servlet to respond to soap requests ... unfortunately this implies running a servlet engine, which might be a bit "too much" on an iPaq :-) You can, indeed, directly listen to a ServerSocket, get connections, use kSoap to read the soap request and post the soap response on the same socket. The only problem I see is the transport layer. Best would be to use Soap/HTTP. If you listen directly on a ServerSocket, either you parse the HTTP headers yourself and leave the payload to ksoap, or you just do run Soap over plain sockets. Thanks to the extreme flexibility of kSoap, both options are possible. Hope it helps, Sebastien. ----- Original Message ----- From: "KHOURY Shérine (Dr&T)" <[email protected]> To: <[email protected]> Sent: Thursday, September 18, 2003 9:26 AM Subject: Ksoap: Can kSOAP do this? > Hello guys, > I am new to both SOAP and kSOAP. > I'm working on a new project and need your advice to know if kSOAP will be > the answer to my problems. > In a wireless network, iPAQs configured with Linux and JVM1.3 (J2SE) keep > their users' personnal information. Therefore, each iPAQ should be ready to > be queried at any time about that information, and send the corresponding > SOAP responses. > Is it possible to solve this problem by creating a ServerSocket on each > iPAQ, that listens to a certain port number for SOAP requests and responds > accordingly? > Thanks for your help > _______________________________________________ > Ksoap mailing list > [email protected] > http://www.enhydra.org/mailman/listinfo.cgi/ksoap > >