Home > Uncategorized > Step by Step Method to Access Webservice from Android

Step by Step Method to Access Webservice from Android

how to call the Webservices from the Android application.

System Requirements

The sections below describe the system and software requirements for developing Android applications using the Android SDK.
Supported Operating Systems

* Windows XP (32-bit) or Vista (32- or 64-bit)
* Mac OS X 10.5.8 or later (x86 only)
* Linux (tested on Linux Ubuntu Hardy Heron)

Supported Development Environments
Eclipse IDE

* Eclipse 3.4 (Ganymede) or 3.5 (Galileo)

Caution: There are known issues with the ADT plugin running with Eclipse 3.6. Please stay on 3.5 until further notice.

* Eclipse JDT plugin (included in most Eclipse IDE packages)
* If you need to install or update Eclipse, you can download it from http://www.eclipse.org/downloads/.

Several types of Eclipse packages are available for each platform. For developing Android applications, we recommend that you install one of these packages:
* Eclipse IDE for Java EE Developers
* Eclipse IDE for Java Developers
* Eclipse for RCP/Plug-in Developers
* Eclipse Classic (versions 3.5.1 and higher)
* JDK 5 or JDK 6 (JRE alone is not sufficient)
* Android Development Tools plugin (optional)
* Not compatible with Gnu Compiler for Java (gcj)
Hardware Requirements

The Android SDK requires disk storage for all of the components that you choose to install. The table below provides a rough idea of the disk-space requirements to expect, based on the components that you plan to use.
Install the ADT Plugin for Eclipse
Configuring the ADT Plugin
Creating an Android Project


<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace=http://service.com
xmlns:impl="http://service.com" xmlns:intf=http://service.com
<!--WSDL created by Apache Axis version: 1.4
Built on Apr 22, 2006 (06:55:48 PDT)-->
<schema elementFormDefault="qualified"
targetNamespace="http://service.com" xmlns="http://www.w3.org/2001/XMLSchema">
<element name="message">
<element name="messageResponse">
<element name="messageReturn" type="xsd:string"/>

<wsdl:message name="messageResponse">
<wsdl:part element="impl:messageResponse" name="parameters">
<wsdl:message name="messageRequest">
<wsdl:part element="impl:message" name="parameters">
<wsdl:portType name="ServiceImpl">
<wsdl:operation name="message">
<wsdl:input message="impl:messageRequest" name="messageRequest">
<wsdl:output message="impl:messageResponse" name="messageResponse">
<wsdl:binding name="ServiceImplSoapBinding" type="impl:ServiceImpl">
<wsdlsoap:binding style="document"
<wsdl:operation name="message">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="messageRequest">
<wsdlsoap:body use="literal"/>
<wsdl:output name="messageResponse">
<wsdlsoap:body use="literal"/>
<wsdl:service name="ServiceImplService">
<wsdl:port binding="impl:ServiceImplSoapBinding" name="ServiceImpl">
<wsdlsoap:address location=

Categories: Uncategorized
  1. August 10, 2011 at 12:41 pm

    How to create a wsdl file in eclipse IDE?I saw no option as such.

  2. Woot
    December 11, 2011 at 12:04 am


  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: