Hi Martin,
Thanks for the response. I have found out what the problem was.
The data part of the HTTP POST was not correctly encoded and that's why the
ApplServer got confused.
So, in short, problem was solved.
Cheers,
Arthur
On Wed, Sep 7, 2011 at 5:47 PM, Martin Matula <martin.matula_at_oracle.com>wrote:
> Hi Arthur,
> How does your resource look like?
> Can you share the code of the resource method and the message (at least the
> full headers)?
>
> Martin
>
> On Sep 6, 2011, at 10:19 PM, Arthur Yeo <artyyeo_at_gmail.com> wrote:
>
> Hi,
>
> I have a Jersey appServer that is responding to an iPhone app that's
> posting HTTP POST.
> At the server code end, I can see that the POST is coming in and I did
> receive it.
> However, none of the FormParams are filled even though I hard-coded them
> for testing purposes; i.e. they are all null.
>
> The front end is encoding the HTTP POST with this kind of format for
> FormParam ...
>
> *Content-Disposition: form-data; name="email"*
> *
> *
> *blah
> *
> *
> *
> *
> *
> Any obvious issues come to mind?
>
> Thanks!
>
> --
> Arthur Y.
> *
> *
>
>
--
Arthur Y.
*Don't ever forget Sept. 11 !!!*