IllegalArgumentException: Illegal character in query
<pre><code> protected void onPreExecute()
                {
                    super.onPreExecute();               
                    progressDialog = ProgressDialog.show(getActivity(),"Fetching", "Fetching Contacts", true, false);
                }

                @Override


                protected ArrayList&lt;String&gt; doInBackground(Void... params) {

                // TODO Auto-generated method stub

                ODataConsumer c = ODataJerseyConsumer.create("http://mythreeg.dyndns.org:8088/WcfService_Officetail/WcfDataService.svc/VW_CONTACTS()/?$filter=mobile ne null");

                List&lt;OEntity&gt; listEntities = c.getEntities("VW_CONTACTS").execute().toList();

                System.out.println("Size - " + listEntities.size());



                    for (OEntity entity : listEntities) {

                        categories.add((String) entity.getProperty("contact_name").getValue() + (String) entity.getProperty("mobile").getValue());

                    }
</code></pre>

<p>Error:</p>

<pre><code>    02-15 13:26:26.260: E/AndroidRuntime(330): Caused by: java.lang.IllegalArgumentException: Illegal character in query at index 102:
     http://mythreeg.dyndns.org:8088/WcfService_Officetail/WcfDataService.svc/VW_CONTACTS()/?$filter=mobile ne null/$metadata
</code></pre>
