Hi,
Sorry but the problem persist. I had done every step you told me...
this is my code, i hope you can help me....

************** Web Service ***************

<WebService(Namespace:="http://minombre.com/";)> _
<WebServiceBinding(ConformsTo:=WsiProfiles.BasicProfile1_1)>
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Public Class Service
    Inherits System.Web.Services.WebService
    <WebMethod()> _
    Public Function HelloWorld(ByVal nombre As String) As String
        Return nombre & "FIN"
    End Function
End Class


***************** Android Code *********************

                        SoapObject request = new SoapObject(NAMESPACE,
METHOD_NAME);

                        request.addProperty("nombre","XYZ");
                        SoapSerializationEnvelope envelope = new
SoapSerializationEnvelope(SoapEnvelope.VER11);
                        envelope.dotNet = true;
                        envelope.setOutputSoapObject(request);

                        try{
                                HttpTransportSE androidHttpTransport = new
HttpTransportSE(URL);
                                androidHttpTransport.setXmlVersionTag("<?xml 
version=
\"1.0\" encoding=\"UTF-8\"?>");
                                androidHttpTransport.call(SOAP_ACTION, 
envelope);
                                SoapPrimitive result =
(SoapPrimitive)envelope.getResponse();
                                lblResult.setText(result.toString());
                        }catch(Exception e){
                                lblResult.setText("Error Found : " 
+e.getClass().getName()
+":"+e.getMessage());
                        }

The parameters received by the web service are always null... I
activated the option in Internet Explorer, but nothing happens...

-- 
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