Hello.

You must provide a web service with document/literal style if you want to
use it from j2me clients. Unfortunately, this is not the default working
mode in axis. So, when you build your web service, eiter from java or
directly in the wsdl, change the 'style' to "document" or "wrapped", and the
'use' to "literal"...

I've built some tests, and it works fine with the SUN's WTK...

Regards.

--
Ephemeris Lappis

>>> -----Original Message-----
>>> From: Jonathan J. Vargas R. [mailto:[EMAIL PROTECTED]
>>> Sent: Friday, July 29, 2005 1:57 AM
>>> To: [email protected]
>>> Subject: Axis and J2ME
>>>
>>>
>>> i am trying to access a web service through the APIs included in J2ME,
>>> but while i am generating a stub from the utilities included in
>>> Ktoolbar, the utility fails, it complains that the wsdl operation is
>>> not set with the correct style/use attribute, it says it can handle
>>> Literal and Document operations only, so i wonder how could i
>>> configure my axis webservice so that it could handle Document or
>>> Literal styles, and then make the Stub generator in Ktoolbar work fine
>>> with the service's wsdl.
>>>
>>> thanks.
>>>
>>> --
>>> Jonathan J. Vargas Rodriguez
>>> [EMAIL PROTECTED]
>>> "Conservar el silencio interior cuando vuelo en la tormenta me es
>>> mejor, porque asi ya no soy otra gota de la tempestad"

Reply via email to