You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Demetris G <de...@ece.neu.edu> on 2009/06/24 21:38:29 UTC
Axis WS on mobile devices
Hi all,
I asked this question before (twice) but I didn't get a single
response, interestingly enough.
I am assuming by now that there is no mobile version of Axis/Axis2 and
all the stories I hear
about people getting Web services to work on mobiles is a fiction ...
Has anyone managed to run Web Services (servers primarily) on mobile
devices (either
CDC, CLDC, scripting, Web Runtime etc.)? I will appreciate any feedback
on something
like this.
Thanks very much
Re: Axis WS on mobile devices
Posted by Demetris G <de...@ece.neu.edu>.
Hi Dennis,
finally a good response - I appreciate it.
I concur with you on the J2ME compatibility issues, in fact I did
experience that first hand in
my current implementations. I am looking into JiBX now, I knew a few
things about it but not
at the level that I can comfortably say that this could be a good
solution for what I am after.
But from what you are saying below, this is a very promising direction
and it would be good
to give it a shot. This is open-source code right?
Thanks
Dennis Sosnoski wrote:
> Hi Demetris,
>
> Part of the problem is that J2ME compatibility is not the easiest
> thing to determine - it's not like you can just set a compiler option
> and have any compatibility problems reported during the build.
>
> JiBX used to work on mobile devices, though I think the J2ME
> compatibility for the runtime has been lost over the last year or two.
> If you'd like to give it a try, I'll look into fixing whatever needs
> to be changed (some uses of ArrayList and HashMap, from what I
> remember, along with some java.sql class references). You could then
> use the JiBX/WS web services support for your J2ME platform:
> http://jibx.sourceforge.net/jibxws/
>
> JiBX/WS is significantly faster than Axis2 when used for plain text
> web services, and if we decided to implement XBIS and TCP/IP support
> for J2ME as well it'd be several times faster.
>
> - Dennis
>
> Dennis M. Sosnoski
> XML and Web Services in Java
> Training and Consulting
> http://www.sosnoski.com - http://www.sosnoski.co.nz
> Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117
>
>
>
> Demetris G wrote:
>>
>> Hi all,
>>
>> I asked this question before (twice) but I didn't get a single
>> response, interestingly enough.
>> I am assuming by now that there is no mobile version of Axis/Axis2
>> and all the stories I hear
>> about people getting Web services to work on mobiles is a fiction ...
>> Has anyone managed to run Web Services (servers primarily) on
>> mobile devices (either
>> CDC, CLDC, scripting, Web Runtime etc.)? I will appreciate any
>> feedback on something
>> like this.
>>
>> Thanks very much
>>
>
Re: Axis WS on mobile devices
Posted by Demetris G <de...@ece.neu.edu>.
One more note - I was able to get Axis 1.4 to run on a CDC device using
Jalimo and
Knopflerfish OSGi as the container but as expected it is fairly slow ...
So yes, such
options are out of the question.
Dennis Sosnoski wrote:
> Hi Demetris,
>
> Part of the problem is that J2ME compatibility is not the easiest
> thing to determine - it's not like you can just set a compiler option
> and have any compatibility problems reported during the build.
>
> JiBX used to work on mobile devices, though I think the J2ME
> compatibility for the runtime has been lost over the last year or two.
> If you'd like to give it a try, I'll look into fixing whatever needs
> to be changed (some uses of ArrayList and HashMap, from what I
> remember, along with some java.sql class references). You could then
> use the JiBX/WS web services support for your J2ME platform:
> http://jibx.sourceforge.net/jibxws/
>
> JiBX/WS is significantly faster than Axis2 when used for plain text
> web services, and if we decided to implement XBIS and TCP/IP support
> for J2ME as well it'd be several times faster.
>
> - Dennis
>
> Dennis M. Sosnoski
> XML and Web Services in Java
> Training and Consulting
> http://www.sosnoski.com - http://www.sosnoski.co.nz
> Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117
>
>
>
> Demetris G wrote:
>>
>> Hi all,
>>
>> I asked this question before (twice) but I didn't get a single
>> response, interestingly enough.
>> I am assuming by now that there is no mobile version of Axis/Axis2
>> and all the stories I hear
>> about people getting Web services to work on mobiles is a fiction ...
>> Has anyone managed to run Web Services (servers primarily) on
>> mobile devices (either
>> CDC, CLDC, scripting, Web Runtime etc.)? I will appreciate any
>> feedback on something
>> like this.
>>
>> Thanks very much
>>
>
Re: Axis WS on mobile devices
Posted by Demetris G <de...@ece.neu.edu>.
I was expecting so - thanks Dennis - so my best bet to "emulate" Axis
engines (server/client
behavior) on mobile devices is not kSOAPx ;)
Dennis Sosnoski wrote:
> Hi Demetris,
>
> I haven't worked with kSOAP/kSOAP2 myself, but from what I remember it
> provides very basic support for SOAP messaging. So no, I don't think
> it handles code generation. :-(
>
> - Dennis
>
>
> Demetris G wrote:
>>
>> Hi Dennis,
>>
>> in case you know while I am still looking for good tutorials on
>> this - is the kSOAP/kSOAP2 engine
>> along the lines of Axis? I mean, beyond the general implementation of
>> the specification, does it offer
>> tools to generate stubs from WSDL files etc? I don't seem to be able
>> to find even these basic
>> documentations on their web site.
>>
>> Thanks very much
>>
>> Dennis Sosnoski wrote:
>>> Hi Demetris,
>>>
>>> kXML is the parser you'd use with JiBX for J2ME support. From what I
>>> know of kSOAP/kSOAP2 I suspect they'd be considerably lower
>>> performance than JiBX/WS, but if you're not anticipating a high
>>> message volume that shouldn't really matter. They'd probably also be
>>> more memory-intensive, though, and that might be more of an issue.
>>> Bottom line is probably that you should give them a try and see if
>>> they meet your needs.
>>>
>>> And yes, JiBX is open source with a BSD-style license.
>>>
>>> - Dennis
>>>
>>
>
Re: Axis WS on mobile devices
Posted by Dennis Sosnoski <dm...@sosnoski.com>.
Hi Demetris,
I haven't worked with kSOAP/kSOAP2 myself, but from what I remember it
provides very basic support for SOAP messaging. So no, I don't think it
handles code generation. :-(
- Dennis
Demetris G wrote:
>
> Hi Dennis,
>
> in case you know while I am still looking for good tutorials on
> this - is the kSOAP/kSOAP2 engine
> along the lines of Axis? I mean, beyond the general implementation of
> the specification, does it offer
> tools to generate stubs from WSDL files etc? I don't seem to be able
> to find even these basic
> documentations on their web site.
>
> Thanks very much
>
> Dennis Sosnoski wrote:
>> Hi Demetris,
>>
>> kXML is the parser you'd use with JiBX for J2ME support. From what I
>> know of kSOAP/kSOAP2 I suspect they'd be considerably lower
>> performance than JiBX/WS, but if you're not anticipating a high
>> message volume that shouldn't really matter. They'd probably also be
>> more memory-intensive, though, and that might be more of an issue.
>> Bottom line is probably that you should give them a try and see if
>> they meet your needs.
>>
>> And yes, JiBX is open source with a BSD-style license.
>>
>> - Dennis
>>
>
Re: Axis WS on mobile devices
Posted by Demetris G <de...@ece.neu.edu>.
Hi Dennis,
in case you know while I am still looking for good tutorials on this
- is the kSOAP/kSOAP2 engine
along the lines of Axis? I mean, beyond the general implementation of
the specification, does it offer
tools to generate stubs from WSDL files etc? I don't seem to be able to
find even these basic
documentations on their web site.
Thanks very much
Dennis Sosnoski wrote:
> Hi Demetris,
>
> kXML is the parser you'd use with JiBX for J2ME support. From what I
> know of kSOAP/kSOAP2 I suspect they'd be considerably lower
> performance than JiBX/WS, but if you're not anticipating a high
> message volume that shouldn't really matter. They'd probably also be
> more memory-intensive, though, and that might be more of an issue.
> Bottom line is probably that you should give them a try and see if
> they meet your needs.
>
> And yes, JiBX is open source with a BSD-style license.
>
> - Dennis
>
Re: Axis WS on mobile devices
Posted by Demetris G <de...@ece.neu.edu>.
Thanks Dennis - I will give them a shot and see what I can use from
them. I appreciate all the help so far.
Dennis Sosnoski wrote:
> Hi Demetris,
>
> kXML is the parser you'd use with JiBX for J2ME support. From what I
> know of kSOAP/kSOAP2 I suspect they'd be considerably lower
> performance than JiBX/WS, but if you're not anticipating a high
> message volume that shouldn't really matter. They'd probably also be
> more memory-intensive, though, and that might be more of an issue.
> Bottom line is probably that you should give them a try and see if
> they meet your needs.
>
> And yes, JiBX is open source with a BSD-style license.
>
> - Dennis
>
Re: Axis WS on mobile devices
Posted by Dennis Sosnoski <dm...@sosnoski.com>.
Hi Demetris,
kXML is the parser you'd use with JiBX for J2ME support. From what I
know of kSOAP/kSOAP2 I suspect they'd be considerably lower performance
than JiBX/WS, but if you're not anticipating a high message volume that
shouldn't really matter. They'd probably also be more memory-intensive,
though, and that might be more of an issue. Bottom line is probably that
you should give them a try and see if they meet your needs.
And yes, JiBX is open source with a BSD-style license.
- Dennis
--
Dennis M. Sosnoski
Java XML and Web Services
Axis2 Training and Consulting
http://www.sosnoski.com - http://www.sosnoski.co.nz
Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117
Demetris G wrote:
>
> Dennis - sorry for the multiple postings - do you have any experience
> with kSOAP/kSOAP2 and
> do you think that could also be a viable solution for hosting WS on
> J2ME devices?
>
> Thanks
>
> Dennis Sosnoski wrote:
>> Hi Demetris,
>>
>> Part of the problem is that J2ME compatibility is not the easiest
>> thing to determine - it's not like you can just set a compiler option
>> and have any compatibility problems reported during the build.
>>
>> JiBX used to work on mobile devices, though I think the J2ME
>> compatibility for the runtime has been lost over the last year or
>> two. If you'd like to give it a try, I'll look into fixing whatever
>> needs to be changed (some uses of ArrayList and HashMap, from what I
>> remember, along with some java.sql class references). You could then
>> use the JiBX/WS web services support for your J2ME platform:
>> http://jibx.sourceforge.net/jibxws/
>>
>> JiBX/WS is significantly faster than Axis2 when used for plain text
>> web services, and if we decided to implement XBIS and TCP/IP support
>> for J2ME as well it'd be several times faster.
>>
>> - Dennis
>>
>> Dennis M. Sosnoski
>> XML and Web Services in Java
>> Training and Consulting
>> http://www.sosnoski.com - http://www.sosnoski.co.nz
>> Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117
>>
>>
>>
>> Demetris G wrote:
>>>
>>> Hi all,
>>>
>>> I asked this question before (twice) but I didn't get a single
>>> response, interestingly enough.
>>> I am assuming by now that there is no mobile version of Axis/Axis2
>>> and all the stories I hear
>>> about people getting Web services to work on mobiles is a fiction ...
>>> Has anyone managed to run Web Services (servers primarily) on
>>> mobile devices (either
>>> CDC, CLDC, scripting, Web Runtime etc.)? I will appreciate any
>>> feedback on something
>>> like this.
>>>
>>> Thanks very much
>>>
>>
Re: Axis WS on mobile devices
Posted by Demetris G <de...@ece.neu.edu>.
Dennis - sorry for the multiple postings - do you have any experience
with kSOAP/kSOAP2 and
do you think that could also be a viable solution for hosting WS on J2ME
devices?
Thanks
Dennis Sosnoski wrote:
> Hi Demetris,
>
> Part of the problem is that J2ME compatibility is not the easiest
> thing to determine - it's not like you can just set a compiler option
> and have any compatibility problems reported during the build.
>
> JiBX used to work on mobile devices, though I think the J2ME
> compatibility for the runtime has been lost over the last year or two.
> If you'd like to give it a try, I'll look into fixing whatever needs
> to be changed (some uses of ArrayList and HashMap, from what I
> remember, along with some java.sql class references). You could then
> use the JiBX/WS web services support for your J2ME platform:
> http://jibx.sourceforge.net/jibxws/
>
> JiBX/WS is significantly faster than Axis2 when used for plain text
> web services, and if we decided to implement XBIS and TCP/IP support
> for J2ME as well it'd be several times faster.
>
> - Dennis
>
> Dennis M. Sosnoski
> XML and Web Services in Java
> Training and Consulting
> http://www.sosnoski.com - http://www.sosnoski.co.nz
> Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117
>
>
>
> Demetris G wrote:
>>
>> Hi all,
>>
>> I asked this question before (twice) but I didn't get a single
>> response, interestingly enough.
>> I am assuming by now that there is no mobile version of Axis/Axis2
>> and all the stories I hear
>> about people getting Web services to work on mobiles is a fiction ...
>> Has anyone managed to run Web Services (servers primarily) on
>> mobile devices (either
>> CDC, CLDC, scripting, Web Runtime etc.)? I will appreciate any
>> feedback on something
>> like this.
>>
>> Thanks very much
>>
>
Re: Axis WS on mobile devices
Posted by Dennis Sosnoski <dm...@sosnoski.com>.
Hi Demetris,
Part of the problem is that J2ME compatibility is not the easiest thing
to determine - it's not like you can just set a compiler option and have
any compatibility problems reported during the build.
JiBX used to work on mobile devices, though I think the J2ME
compatibility for the runtime has been lost over the last year or two.
If you'd like to give it a try, I'll look into fixing whatever needs to
be changed (some uses of ArrayList and HashMap, from what I remember,
along with some java.sql class references). You could then use the
JiBX/WS web services support for your J2ME platform:
http://jibx.sourceforge.net/jibxws/
JiBX/WS is significantly faster than Axis2 when used for plain text web
services, and if we decided to implement XBIS and TCP/IP support for
J2ME as well it'd be several times faster.
- Dennis
Dennis M. Sosnoski
XML and Web Services in Java
Training and Consulting
http://www.sosnoski.com - http://www.sosnoski.co.nz
Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117
Demetris G wrote:
>
> Hi all,
>
> I asked this question before (twice) but I didn't get a single
> response, interestingly enough.
> I am assuming by now that there is no mobile version of Axis/Axis2 and
> all the stories I hear
> about people getting Web services to work on mobiles is a fiction ...
> Has anyone managed to run Web Services (servers primarily) on
> mobile devices (either
> CDC, CLDC, scripting, Web Runtime etc.)? I will appreciate any
> feedback on something
> like this.
>
> Thanks very much
>