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

Lot of 2 Vertical IP Phones 7504-00 with 7500-00 Xcelerator VoIP Gateway
$30.0
Lot of 2 Vertical IP Phones 7504-00 with 7500-00 Xcelerator VoIP Gateway pictureCisco 7940 Series Unified VOIP IP Phone System for Business Office
$0.99
Cisco 7940 Series Unified VOIP IP Phone System for Business Office  pictureOne lot of 14 CISCO Systems 7912 Series CP-7912G-A V01 VOIP IP Gray Phones WORKS
$159.99
One lot of 14 CISCO Systems 7912 Series CP-7912G-A V01 VOIP IP Gray Phones WORKS pictureAllworx 9204 VOIP Phone and AC
$45.0
Allworx 9204 VOIP Phone and AC pictureMitel IP-5330e VoIP Display Phone 50006476 W/Cordless Headset 50005712 56008569A
$375.0
Mitel IP-5330e VoIP Display Phone 50006476 W/Cordless Headset 50005712 56008569A picture






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