Thursday, March 15, 2012

Re: [android-developers] error in service call

Off the cuff, your quantityAndItemID parameter is not URL-encoded.

On Thu, Mar 15, 2012 at 2:52 AM, Mulsaniya Bhadresh
<bhadresh.haker@gmail.com> wrote:
> 03-15 06:48:27.386: W/System.err(458): java.lang.IllegalStateException:
> Target host must not be null, or set in parameters. scheme=null, host=null,
> path=http://192.168.1.4:55106/Waiter_json.aspx?MethodName=InsertOrderForTable&InstanceId=1&CustomerId=1&TableID=7&quantityAndItemID=[{"comment":"abc","id":1,"Quantity":5}]
>
>
>
>
> hello i got this type of error when my service is call ....i don't know what
> is the problem.
>
> can anybody help me what is the problem here?
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscribe@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android App Developer Books: http://commonsware.com/books

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment