|
Re: java.lang.NoClassDefFoundError: javax/xml/rpc/ServiceException [message #22834 is a reply to message #22746] |
Sun, 16 November 2008 19:31 |
Gustavo de Paula Messages: 118 Registered: July 2009 |
Senior Member |
|
|
hi,
you should not included packages on the mtj that are not compliant with
cldc, such as j2ee.jar.
if you want to do web services with midlet, you should only use what is
available on jsr 172. sonyericsson has a tutorial that explain the steps
to do that on the phone side
https://developer.sonyericsson.com/getDocument.do?docId=8646 7
sony ericsson sdk is based on wtk so anything that it mention about their
sdk is also applicable to wtx
hope it works
:)
gustavo
Guadalupe wrote:
> Dear all,
> I am still trying to get a web service client running in a mobile device.
> I am trying to do it through the use of the Rational Software development
> tool, which is based on Eclipse, I installed Sun Wireless Toolkit 2.5.2
> for CDLC and MTJ 0.9.
> When I try to do it for Tomcat instead of WebSphere I do not have any
> problem at compilation time but when I try to execute the midlet (in which
> I only include the creation of the proxy), I get the following error in
> the midlet start method:
> java.lang.NoClassDefFoundError: javax/xml/rpc/ServiceExceptionI have
included de j2ee.jar which contains the class
> javax/xml/rpc/ServiceException in the building path, but I still got the
> same problem.
> Any suggestion to this?
> Thanks a lot again,
> Guadalupe
|
|
|
|
Re: java.lang.NoClassDefFoundError: javax/xml/rpc/ServiceException [message #568160 is a reply to message #22746] |
Sun, 16 November 2008 19:31 |
Gustavo de Paula Messages: 118 Registered: July 2009 |
Senior Member |
|
|
hi,
you should not included packages on the mtj that are not compliant with
cldc, such as j2ee.jar.
if you want to do web services with midlet, you should only use what is
available on jsr 172. sonyericsson has a tutorial that explain the steps
to do that on the phone side
https://developer.sonyericsson.com/getDocument.do?docId=8646 7
sony ericsson sdk is based on wtk so anything that it mention about their
sdk is also applicable to wtx
hope it works
:)
gustavo
Guadalupe wrote:
> Dear all,
> I am still trying to get a web service client running in a mobile device.
> I am trying to do it through the use of the Rational Software development
> tool, which is based on Eclipse, I installed Sun Wireless Toolkit 2.5.2
> for CDLC and MTJ 0.9.
> When I try to do it for Tomcat instead of WebSphere I do not have any
> problem at compilation time but when I try to execute the midlet (in which
> I only include the creation of the proxy), I get the following error in
> the midlet start method:
> java.lang.NoClassDefFoundError: javax/xml/rpc/ServiceExceptionI have
included de j2ee.jar which contains the class
> javax/xml/rpc/ServiceException in the building path, but I still got the
> same problem.
> Any suggestion to this?
> Thanks a lot again,
> Guadalupe
|
|
|
|
Powered by
FUDForum. Page generated in 0.03739 seconds