the following code will help you
private static final String NAMESPACE="xyz"; private static final String URL ="http://"; //ur webservices url private static final String HelloWorld_SOAP_ACTION =""; //specifies the action private static final String METHOD_NAME1 ="xzz"; //specify the method name what u r calling SoapObject request = new SoapObject(NAMESPACE, METHOD_NAME1); String xmlString = "<table1><name>jhone</name></table1>"; request.addProperty("methodName","XYZ"); request.addProperty("xmlParam", xmlString ); SoapSerializationEnvelope envelope =new SoapSerializationEnvelope(SoapEnvelope.VER11); envelope.dotNet = true; envelope.setOutputSoapObject(request); HttpTransportSE androidHttpTransport = new HttpTransportSE(URL); try { androidHttpTransport.call(HelloWorld_SOAP_ACTION, envelope); envelope.getResponse(); } catch(Exception e) { Log.v("Add",e.toString()); } i am using this code this is worked for me fine On Wed, Mar 10, 2010 at 11:10 AM, Guddu <swapnil4khed...@gmail.com> wrote: > Hi friends, I have one .NET (WSDL) webservice, & I want to invoke that > web service from my android application to get some data from dat > webservice. Can anybody please help me out? > > Thanks & regards. > > Swapnilkumar. > > -- > 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