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 6352759
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T22:17:01+00:00 2026-05-24T22:17:01+00:00

I am using a webservice. I have used HTTP GET for all the functionality.

  • 0

I am using a webservice. I have used HTTP GET for all the functionality. But this functionality need to send a long XML which is getting problem fo query length to much long. I know that service also support SOAP 1.1 , 1.2
But I have never ever used SOAP I am confused how to do this. I google and found some examples.
I am trying to use Example for me. Please I am trying to convert by this Page

http://200.26.174.211/WsServices/WsServices.asmx?op=PagoFactura

This is the HTTP GET URL I am using and want to replace it with SOAP

HTTP GET

GET /WsServices/WsServices.asmx/PagoFactura?AppUsuario=string&AppPassword=string&Usuario=string&Password=string&monto=string&cantidadFacturas=string&IdEmpresaServicio=string&IdUsuarioEmpresaServicio=string&IdCuenta=string&cvv=String&xmlFacturas=string HTTP/1.1
Host: 200.26.174.211
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

To this

POST /WsServices/WsServices.asmx HTTP/1.1
Host: 200.26.174.211
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/PagoFactura"

<?xml version="1.0" encoding="utf-8"?>
 <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Body>
<PagoFactura xmlns="http://tempuri.org/">
  <AppUsuario>string</AppUsuario>
  <AppPassword>string</AppPassword>
  <Usuario>string</Usuario>
  <Password>string</Password>
  <monto>decimal</monto>
  <cantidadFacturas>int</cantidadFacturas>
  <IdEmpresaServicio>int</IdEmpresaServicio>
  <IdUsuarioEmpresaServicio>int</IdUsuarioEmpresaServicio>
  <IdCuenta>int</IdCuenta>
  <cvv>string</cvv>
  <xmlFacturas>string</xmlFacturas>
</PagoFactura>
  </soap:Body>
 </soap:Envelope>

This is the Android code found in example. I am confused how do I put the above into android code. Please help me about XMLNS and Method name

private static final String SOAP_ACTION = "myMethod";
private static final String METHOD_NAME = "myMethod";
private static final String NAMESPACE = "http://mynamespace.com/";
private static final String URL = "http://myserver.com/bean";

void test() {
try {
    SoapObject request = new SoapObject(NAMESPACE, METHOD_NAME);
    request.addProperty("prop1", "myprop");

    SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER11);
    envelope.setOutputSoapObject(request);
    HttpTransportSE androidHttpTransport = new HttpTransportSE(URL);
    androidHttpTransport.call(SOAP_ACTION, envelope);

    Object result = envelope.getResponse();

    //handle result here

    myExampleHandler.getResults();
} catch (Exception e) {
    e.printStackTrace();
}
}
  • 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-05-24T22:17:03+00:00Added an answer on May 24, 2026 at 10:17 pm

    Here is a nice video tutorial for dealing with webservice using k-soap:

    Example

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

Sidebar

Related Questions

I have this web service : using System.Web.Services; namespace Contracts { [WebService(Namespace = http://tempuri.org/)]
I have a webservice programmed in coldfusion which I'm attempting to consume using c#.net.
I have written a webservice using the PHP SOAP classes. It has functions to
I have developed a web app using a webservice. Everything works fine in the
We have some really old code that calls WebServices using behaviours (webservice.htc), and we
I have created one application in flex that is accessing the Java webservice using
Anyone have idea how to pass value from iPhone application to the REST-Webservice using
I am communicating with a partner's webservice using proxy classes they've provided. I have
I have a webservice and client in c#/dotnet and I am using EnableDecompression to
This is a pretty odd situation I have here. I have used a piece

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.