Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7975799
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T08:44:39+00:00 2026-06-04T08:44:39+00:00

I am consuming web service using the method SOAP.I have to create an edit

  • 0

I am consuming web service using the method SOAP.I have to create an edit text box and a button on android eclipse,which should be similar to this webservice
Here i wanna to display some text in android eclipse by consuming web service ie.The edittextbox should get input from the user and print exactly what the above webservice is going to display.
I have tried but its not working.Can anyone let me know ideas or some sample code if you have.

Thanks for your Precious Time!..

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T08:44:41+00:00Added an answer on June 4, 2026 at 8:44 am

    Manick, Specify your question what you want to do? you have a edittext and a button and webservice data. When you type in edittext and click on button no of webservice data should be listed as per user inputs. OR anything else. Try this

    Ok Let’s see!

    First you have to download KSOAP Library for your project from here a lightweight and efficient SOAP client library for the Android platform. Add this library to your project. Following code will help you –

    private Button button1;
    private EditText editText1;
    
    public void onClick(Bundle b){
        ........//type your other code here
    
        editText1 = (EditText) findViewById(R.id.editText1);        
        button1 = (EditText) findViewById(R.id.button1);
        button.setOnClickListener(this);
    
        ........//type your other code here
    }
    
    @Override
    public void onClick(){
        SoapObject soapResponseObject = getSOAPResponse(editText1.getText());
        String result= soapResponseObject.getProperty(0).toString();
        //use result to into your code to your own way
        Toast.makeText(getApplicationContext(), result, Toast.LENGTH_SHORT).show();
    }
    
    //getSOAPResponse() method returns SOAP Response 
    public SoapObject getSOAPResponse(String search){
        SoapObject soapObject = new SoapObject("http://www.webservicex.net", "GetBibleWordsbyKeyWord");
        soapObject.addProperty("BibleWords", search);
        SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER12);
        envelope.dotNet = true;
        envelope.setOutputSoapObject(soapObject);
        HttpTransportSE androidHttpTransport = new HttpTransportSE("http://www.webservicex.net/BibleWebservice.asmx?");
        try {
        androidHttpTransport.call("http://www.webserviceX.NET/GetBibleWordsbyKeyWord", envelope);//call the eb service Method
        } catch (Exception e) {
            e.printStackTrace();
        }
        return (SoapObject) envelope.response();
    }
    

    Hope this will help you. Fun!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am consuming an external C# Web Service method which returns a simple calculation
I have a WCF web service using wsHttpBinding that I am consuming from a
I am consuming a SOAP web service using php5's soap extension. The service' wsdl
I'm consuming a web service from an Android device using HTTP(s) with SSL. A
I'm consuming a web service using a stand-alone VBScript. The web service returns to
I have a web service that is protected by requiring the consuming third party
I have a problem with consuming a third-party web service in .NET C#. It
I have two WCF clients consuming a 3rd party web service. These two clients
I am having difficulty in consuming the reCaptcha Web Service using C#/.Net 3.5. Although
We have a web application providing a service using a simple REST interface (GET/POST

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.