RoyZeng / odata4j

Automatically exported from code.google.com/p/odata4j
0 stars 0 forks source link

oData Service consume in Android #268

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I have created a oData WCF Service and hosted in IIS 7 in my Windows 7. Then I 
have consumed that service in my Android application. I can get entity and 
insert entity . But I can not update or delete entity. I am getting below error 
-

java.io.IOException:No authentication challenges found

I have used delete code like below -

 ODataConsumer c = ODataJerseyConsumer.create(oDataServiceUrl);
                    try
                    {

    c.deleteEntity("EmployeeInfo", Integer.parseInt(params[0])).execute();

}
catch
{
}

Original issue reported on code.google.com by cse.s...@gmail.com on 2 Sep 2013 at 5:44

Attachments:

GoogleCodeExporter commented 9 years ago
Please reply to me in "prasenjit.saha@hcl.com" also

Original comment by cse.s...@gmail.com on 2 Sep 2013 at 5:47