|
Re: Web services and J2ME: msg#00229java.sun.kvm
You're encountering the classic tradeoff: more generalized features leads to larger code. I bet kSOAP supports more than what you need. If you can't change anything on the server, your best bet would be to write your own custom code for invoking the customer's web service -- you should be able to save some space that way. Otherwise, the server needs to get involved. You didn't mention what platform the customer is using, but it sounds like they're not running inside a servlet container since you mentioned having to install Tomcat in their environment. A Java servlet would be trivial to write as an interface to between the MIDlet and the web service. If that's not an option, though, you should consider writing a server extension appropriate for their platform. This may require some work on your part to learn it, but it should be hard. Basically you just need to be able to parse a POST request and then invoke a web service. There would likely be helper routines for invoking the web service, so really you just need to figure out how to send the data you need across the wire. A simple text-based format might be all you need, but I can't say without knowing exact details. Anyhow, don't shy away from doing it just because it's not Java-based. Eric =========================================================================== To unsubscribe, send email to listserv@xxxxxxxxxxxx and include in the body of the message "signoff KVM-INTEREST". For general help, send email to listserv@xxxxxxxxxxxx and include in the body of the message "help".
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Web services and J2ME, Nathanial Freitas |
|---|---|
| Next by Date: | Re: IPv6 in J2ME, Darryl L. Pierce |
| Previous by Thread: | Re: Web services and J2ME, Andrea Fasce [nondove] |
| Next by Thread: | Re: Web services and J2ME, Daniel Blaukopf |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |