BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 07-07-2008, 05:08 PM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Jun 2008
Model: 8310
PIN: N/A
Carrier: Developper
Posts: 43
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default JSR172 : WS wich return an Array.

Please Login to Remove!

Hi,

I have a Web Service wich return an Array of a complexType. It works great when i test it with soapUI but, when i want to implement this web services on my Blackberry App and using the J2ME Web Services Client (Stub generator) of Netbeans or WTK, i can't. there is an error saying thaht the WSDL is not compliant with JSR172.

Any idea to return a Array Of a Complex Type ?

using kSoap ?
Offline  
Old 07-10-2008, 03:03 PM   #2 (permalink)
Thumbs Must Hurt
 
Join Date: May 2008
Model: 8700
PIN: N/A
Carrier: Telcel
Posts: 69
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

There's is some limitation as how far the webservices can synch with a mobile device, as you had stated, complex type and datasets.

My recomendation, as I don't know if there is some solution, is to turn those complex types to something a mobile device can understand.

If you really need the use the Complex Type Array, KSOAP2 is you best option to this. This one can handle complex type pretty well.

I also tried to use JSR-172 to deploy webservices on a Blackberry withouth using MDS Services, still, each time I tried to run, a NoClassDefExecption was thrown
Offline  




Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.