BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 07-07-2008, 06: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, 04: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  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





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