BlackBerry Forums Support Community

BlackBerry Forums Support Community (http://www.blackberryforums.com/)
-   Developer Forum (http://www.blackberryforums.com/developer-forum/)
-   -   Problem with .NET Web Services (http://www.blackberryforums.com/developer-forum/145027-problem-net-web-services.html)

aliciaccs 08-13-2008 11:25 AM

Problem with .NET Web Services
 
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>

aliciaccs 08-13-2008 11:25 AM

I'm using Blackberry JDE 4.5

ptys 08-26-2008 06:38 PM

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.


All times are GMT -5. The time now is 08:48 AM.

Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.