BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 08-13-2008, 11:25 AM   #1
aliciaccs
New Member
 
Join Date: Apr 2008
Model: 8310
PIN: N/A
Carrier: sdsd
Posts: 2
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
aliciaccs
New Member
 
Join Date: Apr 2008
Model: 8310
PIN: N/A
Carrier: sdsd
Posts: 2
Default

I'm using Blackberry JDE 4.5
Offline  
Old 08-26-2008, 06:38 PM   #3
ptys
Knows Where the Search Button Is
 
Join Date: Jul 2008
Model: none
PIN: N/A
Carrier: none
Posts: 26
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



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


128K RAM - APPLE - ORIGINAL APPLE prototype BOARD picture

128K RAM - APPLE - ORIGINAL APPLE prototype BOARD

$408.75



APPLE 630-0895-B  VRAM 128K X 8 BOARD CARD VINTAGE picture

APPLE 630-0895-B VRAM 128K X 8 BOARD CARD VINTAGE

$74.77



APPLE 820-0522-A 630-0895-B LITE VRAM 128K X 8 BOARD  picture

APPLE 820-0522-A 630-0895-B LITE VRAM 128K X 8 BOARD

$149.99







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