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

  • Home
  • SEARCH
  • 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 873743
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T10:59:23+00:00 2026-05-15T10:59:23+00:00

I am trying to consume a .net web service, and get the following error

  • 0

I am trying to consume a .net web service, and get the following error when I run it(debug) from my phone

java.lang.NoClassDefFoundError: javax.microedition.io.Connector

I get the error when I make the call to the transport object

ht.call(SOAP_ACTION, soapEnvelope);

while in the eclipse ide, the (context sensitive model) does not show this in the object model when i try to add it i only see javax.microedition.khronos.* , no javax.microedition.io, which confuses me more.

When I try to debug this in the emulator, I only get a VerifyError

        private static final String SOAP_ACTION = "http://ikonicsoft.com/CheckTrial";
private static final String METHOD_NAME = "CheckTrial";
private static final String NAMESPACE = "http://ikonicsoft.com";
private static final String URL = "http://ikonicsoft.com/WebService.asmx";

     SoapObject request = new SoapObject(NAMESPACE,METHOD_NAME);
    request.addProperty("deviceid", deviceid);

    SoapSerializationEnvelope soapEnvelope = new SoapSerializationEnvelope(SoapEnvelope.VER11);
    soapEnvelope.dotNet = true;
    soapEnvelope.setOutputSoapObject(request);

    HttpTransport ht = new HttpTransport(URL);
    Boolean bValid = false;
    try{
        ht.call(SOAP_ACTION, soapEnvelope);
        Boolean result = (Boolean) soapEnvelope.getResponse(); 

        if((Boolean)result){
            bValid = true;
        }else{
            bValid = false;
        }

    }catch(Exception e){
        e.printStackTrace();
        bValid = false;

    }

let me know if you need more info

thanks in advance

patrick

  • 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-15T10:59:24+00:00Added an answer on May 15, 2026 at 10:59 am

    Ok, it helps to download and install the correct ksoap2 package. I found the correct package for android development at:

    ksoap2-android-assembly-2.4-jar-with-dependencies.jar

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

Sidebar

Related Questions

I have to consume a .NET hosted web service from a Java application. Interoperability
I'm trying to consume a web service with WS-Security done in Java, from my
Im trying to consume a web service using the below WSDL from a .NET
I'm trying to consume a Java based SOAP web service from VBA code in
I'm getting XSS errors when trying to consume a .NET web service and I'm
I'm trying to consume an ASP.NET Webservice from a Java application. The java app
Im trying to consume a Java web-service, that uses a certificate. I could generate
I'm trying to consume a .Net Web Service using perl and SOAP Lite. When
I'm trying to consume the following web service http://ipinfodb.com/ip_location_api.php this web service returns an
I'm trying to consume a web service created in .NET which needs SOAP authentication.

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.