Getting started

  1. In your android/java project create a new package folder (name of this folder should match the Package name of generated classes)

  2. Go to src subfolder of generated package and copy all files to your project (to newly created folder).

  3. In libs subfolder you will find all jars needed for generated classes. Copy all jars to your project and add references to them (every IDE has different way of adding refenreces to external jars)

  4. Add INTERNET permission to your AndroidManifest.xml file
    <uses-permission android:name="android.permission.INTERNET"/>

  5. Use the following code to connect to your webservice:
    svcTC2APISoap service = new svcTC2APISoap();
    service.MethodToInvoke(...);

Warning: I got compilation error: com.android.dex.DexException: Multiple dex files define Lorg/kobjects/...

This problem occures when you have many copies of ksoap2.jar added as dependencies in your project. For Premium account we add ExKsoap2.jar library which already has ksoap2.jar. Sometimes this causes conflicts. In this case should add ExKsoap2.jar only to your dependencies (without ksoap2.jar). If you added both ExKsoap2.jar and Ksoap.jar libs, then you can have this issue. To solve it, please remove Ksoap2.jar from dependencies.

Your main service classes

Other topics