Hi Beacon, it would probably be the best if you could give as a link to the service you are trying to use. We could at least look into the website to see if you are not missing something, because this just doesn't look like XML at all afaik.
Best regards, Filip Havlicek 2010/8/2 beacon <[email protected]> > Hi Filip, > > It doesn't seem to be the case, as the web service does not give me > any option it just sends XML response whatever it is. > > On Jul 31, 9:29 am, Filip Havlicek <[email protected]> wrote: > > Hi, > > > > just a quick thought about that - some web services have a request > property > > to define in what format you want the result. Are you sure this isn't > your > > case? > > > > Best regards, > > Filip Havlicek > > > > 2010/7/31 beacon <[email protected]> > > > > > Hello Frank, > > > > > This is what I am doing on the client side > > > > > SoapObject request = new SoapObject(NAMESPACE, METHOD_NAME); > > > request.addProperty("token",WebPage.token); > > > SoapSerializationEnvelope envelope = new > > > SoapSerializationEnvelope(SoapEnvelope.VER11); > > > envelope.dotNet = true; > > > envelope.setOutputSoapObject(request); > > > HttpTransportSE androidHttpTransport = new HttpTransportSE(URL); > > > androidHttpTransport.setXmlVersionTag("<?xml version=\"1.0\" encoding= > > > \"UTF-8\"?>"); > > > androidHttpTransport.call(SOAP_ACTION, envelope); > > > SoapObject result = (SoapObject) envelope.bodyIn; > > > String strResult = result.toString(); > > > > > I am getting all the fields that I am supposed to get, but I am not > > > getting it in the XML format.That's my problem. > > > > > On Jul 30, 7:05 pm, Frank Weiss <[email protected]> wrote: > > > > I don't recognize what data format that is, but I would guess that > > > > your code has an error or is not sending the right HTTP headers. What > > > > client side code are you using? > > > > > -- > > > 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]<android-developers%[email protected]> > <android-developers%[email protected]<android-developers%[email protected]> > > > > > For more options, visit this group at > > >http://groups.google.com/group/android-developers?hl=en > > -- > 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]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- 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

