Hi I am new to android development. I have created a soap webservices and created a android application to get username and password as shown below:
Firstscreen.xml:
<?xml version="1.0" encoding="utf-8"?>
<TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:stretchColumns="1" >
<TableRow
android:gravity="center"
android:paddingTop="45dp" >
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:hint="@string/hint"
android:text="@string/username" />
<!-- Text Editor -->
<EditText
android:id="@+id/enterusername"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:inputType="text" />
</TableRow>
<TableRow>
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:hint="@string/hint"
android:text="@string/password" />
<!-- Text Editor -->
<EditText
android:id="@+id/entertextpassword"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:inputType="textPassword" />
</TableRow>
<TableRow>
<Button
android:id="@+id/login"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_span="2"
android:clickable="true"
android:gravity="center"
android:text="@string/login" >
</Button>
</TableRow>
</TableLayout>
So, I will get two fields(username and password) from user. I want to post or send the data to a SOAP webservice which has
url: "http://localhost:8100/ws/hello?wsdl"
and Qname: "http://Common.Hospital/", "HelloWorldImplService".
Can anybody help me to get resolved my problem. Thanks in advance.