• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

Implementing server on mobile  RSS feed

 
Ranch Hand
Posts: 170
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would like to create a server on mobile device the steps might be as follows:
1. Listen to incomming request
2. parse the request and extract SOAP message
3. invoke the required wev service and execute it
4. wrap the results
5. send the response
The problem is how to implement those steps?Can anyone help e please?
 
Rancher
Posts: 42975
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What kind of device would this be? I think that most mobile devices (certainly most cell phones, PDAs etc.) are not capable of receiving incoming TCP/IP connections from arbitrary clients.
 
feda alshahwan
Ranch Hand
Posts: 170
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The device is smartphonePDA
 
Ulf Dittmer
Rancher
Posts: 42975
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Then this is most likely not possible, unless the client runs as part of the service provider's software.
 
feda alshahwan
Ranch Hand
Posts: 170
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How it can be possible and a researcher has proved the that it is possible check the following paper from IEEE"Hosting Web Services on Resource Constrained Devices"
 
Ulf Dittmer
Rancher
Posts: 42975
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The difficulty is not in hosting a web service on a portable device (PDAs and the like are fully programmable these days, and have sufficient memory for that); the difficulty is in accessing it from an arbitrary client.
 
feda alshahwan
Ranch Hand
Posts: 170
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok I need help in hosting those web services on mobile device. How to create a server on mobile device that accepts SOAP messages, Parse them and invoke the appropriate web service?
 
Bartender
Posts: 19731
92
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Ulf Dittmer wrote:The difficulty is not in hosting a web service on a portable device (PDAs and the like are fully programmable these days, and have sufficient memory for that); the difficulty is in accessing it from an arbitrary client.



To be precise, http://www.mousetech.com started out life as someone's desktop computer. It's my primary web server, although absolutely antique by today's standards.

My Cell phone has a CPU that's at least as powerful as that computer, and it has 3x the RAM. But it doesn't have a public IP address.
 
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Heck, I've run a web server on PICs.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!