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  




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