BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 08-13-2008, 11:25 AM   #1 (permalink)
New Member
 
Join Date: Apr 2008
Model: 8310
PIN: N/A
Carrier: sdsd
Posts: 2
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem with .NET Web Services

Please Login to Remove!

Hello everyone,
i have a big problem, i've tried to connect my app to a .NET web service but return a exception with this message:

Quote:
not nillable element of array type in response is missed.
I have no idea what's going on, any idea?


Quote:
<soap:Body>
<obtenerUsuarioResponse xmlns="">
<obtenerUsuarioResult>
<Id>string</Id>
<Nombre>string</Nombre>
<Apellido>string</Apellido>
<Ci>int</Ci>
<Estado>string</Estado>
<Tipo>string</Tipo>
<Login>string</Login>
<Telefono>string</Telefono>
</obtenerUsuarioResult>
</obtenerUsuarioResponse>
</soap:Body>
Offline  
Old 08-13-2008, 11:25 AM   #2 (permalink)
New Member
 
Join Date: Apr 2008
Model: 8310
PIN: N/A
Carrier: sdsd
Posts: 2
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'm using Blackberry JDE 4.5
Offline  
Old 08-26-2008, 06:38 PM   #3 (permalink)
Knows Where the Search Button Is
 
Join Date: Jul 2008
Model: none
PIN: N/A
Carrier: none
Posts: 26
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I've run into the same error. It turns out that there is a bug inside the soap parser BB is using. In my case the workaround was to make sure that there are no nil strings in complex types. So this would fail

<someType>
<boolValue>false</boolValue>
<intValue>0</intValue>
<strValue xsi:nil="1"/>
</someType>

But this worked

<someType>
<boolValue>false</boolValue>
<intValue>0</intValue>
<strValue></strValue>
</someType>

This seemed to work with OS 4.6. Download their beta JDE 4.6 and give it a try.

I spent some time with BB's support last week, and I got the feeling that they weren't going to fix this in their 4.3 and 4.5 releases. So you might be stuck with the workaround (if it works for you) until 4.6.
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

Waters WAS081060 2487 Alliance Detector CPU PCB HPLC GC MS
$595.0
Waters WAS081060 2487 Alliance Detector CPU PCB HPLC GC MS pictureNew ADC Dryer CPU Board #137075
$249.0
New ADC Dryer CPU Board #137075 pictureTektronix Oscilloscope CPU Board for TDS-744A 671-3182-02
$199.99
Tektronix Oscilloscope CPU Board for TDS-744A 671-3182-02  pictureNEW AT&T MC5D1 1367B Sandwich Circuit Board / Card / Module w/ Gold CPU's
$40.0
NEW AT&T MC5D1 1367B Sandwich Circuit Board / Card / Module w/ Gold CPU's  pictureINTEL IBM CIRCUIT BOARD / CARD WITH A80188 CPU PROCESSOR - RARE CHIPS
$25.0
INTEL IBM CIRCUIT BOARD / CARD WITH  A80188 CPU PROCESSOR - RARE CHIPS  picture






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