Hi Filip, Thanks for your reply. Sure I could give that. This is the what I am trying to access.
private static final String NAMESPACE = "http://tempuri.org/"; private static final String METHOD_NAME = "GetProfileDataXML"; private static final String URL = "http://mobileexchange.ctisinc.com/ CTISGDataService.svc"; private static final String SOAP_ACTION = "http://tempuri.org/ ICTISGDataService/GetProfileDataXML"; With regards, Beacon On Aug 2, 11:07 am, Filip Havlicek <havlicek.fi...@gmail.com> wrote: > 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 <indiantalkiedhi...@gmail.com> > > > 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 <havlicek.fi...@gmail.com> 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 <indiantalkiedhi...@gmail.com> > > > > > 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 <fewe...@gmail.com> 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 > > android-developers@googlegroups.com > > > > To unsubscribe from this group, send email to > > > > android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com> > > <android-developers%2bunsubscr...@googlegroups.com<android-developers%252bunsubscr...@googlegroups.com> > > > > > 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 android-developers@googlegroups.com > > To unsubscribe from this group, send email to > > android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com> > > 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en