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  
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

New 1964 MASSEY FERGUSON Model 135 Tractor Wall Clock 10" Round Restored Vintage
$28.95
New 1964 MASSEY FERGUSON Model 135 Tractor Wall Clock 10Capacitor Polyester 0.022uf x 400v lot 25 pieces VINTAGE SIEMENS
$7.0
Capacitor Polyester  0.022uf x 400v lot 25 pieces  VINTAGE SIEMENS picturePolyester 0,027uf x250v lot 50 pieces Tropical Fish VINTAGE PHILIPS
$7.99
Polyester 0,027uf x250v lot 50 pieces Tropical Fish VINTAGE PHILIPS picture2SA101 NATIONAL LOT 12 TRANSISTOR Original Made in JapaN VINTAGE
$9.99
2SA101 NATIONAL LOT 12 TRANSISTOR Original  Made in JapaN VINTAGE picture 1N60 Germanium Diode VINTAGE LOT OF 15 Pcs made in Japan
$7.9
 1N60 Germanium Diode  VINTAGE LOT OF 15 Pcs made in Japan picture






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