BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 07-07-2008, 05:08 PM   #1
greg_orille
Knows Where the Search Button Is
 
Join Date: Jun 2008
Model: 8310
PIN: N/A
Carrier: Developper
Posts: 43
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
CJLopez
Thumbs Must Hurt
 
Join Date: May 2008
Model: 8700
PIN: N/A
Carrier: Telcel
Posts: 69
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



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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


Fluke Networks Versiv Modular Mainframe AS IS picture

Fluke Networks Versiv Modular Mainframe AS IS

$1500.00



Chroma 6312 DC Electronic Load Mainframe  picture

Chroma 6312 DC Electronic Load Mainframe

$239.96



Agilent HP Keysight 16902B Modular Logic Analysis System Mainframe picture

Agilent HP Keysight 16902B Modular Logic Analysis System Mainframe

$1469.24



SHC SYSTEM 6 MAINFRAME + Mixed Modules 6-562,6-201,6-402. picture

SHC SYSTEM 6 MAINFRAME + Mixed Modules 6-562,6-201,6-402.

$99.99



USED 100%Tested NI PXI-1033 Mainframe Offers pxi 1033  picture

USED 100%Tested NI PXI-1033 Mainframe Offers pxi 1033

$780.90



National Instruments NI PXI-1044 Chassis 14-Slot PXI Mainframe 189105E-01 Rev 01 picture

National Instruments NI PXI-1044 Chassis 14-Slot PXI Mainframe 189105E-01 Rev 01

$199.99







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