Generally, webservices(which hanlde HTML and XML both) need to be
instructed what should be the content type, by specifying a Content-
Type header in your requests.

Content-Type - application/xml

But again, clarify this with your webservice guy.

On May 17, 11:28 pm, Prayag Pathak <[email protected]> wrote:
> I thought that there may be some parameter to be specify the content
> of Response as XML.
>
> On May 17, 2:23 pm, Prayag Pathak <[email protected]> wrote:
>
>
>
>
>
>
>
> > Thanks TreKing.
>
> > I'll do that.
>
> > Regards,
>
> > Prayag
>
> > On May 17, 2:19 pm, TreKing <[email protected]> wrote:
>
> > > On Tue, May 17, 2011 at 1:08 PM, Prayag Pathak 
> > > <[email protected]>wrote:
>
> > > > Kindly guide me if there is any way to specify that the content of the
> > > > response of web service expected is XML.
>
> > > Ask the owners of the web service. This has nothing to do with Android.
>
> > > ---------------------------------------------------------------------------­­----------------------
> > > TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
> > > transit tracking app for Android-powered devices- Hide quoted text -
>
> > - Show quoted text -

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

Reply via email to