Questions tagged [ksoap]

kSOAP is a SOAP web service client library for constrained Java environments such as Applets or J2ME applications.

297 questions
3
votes
1 answer

android: kSOAP how to get list of country from an string returned by kSOAP response

My kSOAP web service return the xml into this format how can I fetch country_name from this anyType{country=anyType{country_name=Egypt; }; country=anyType{country_name=Pakistan; }; country=anyType{country_name=United Kingdom; }; …
Umer Abid
  • 397
  • 1
  • 14
2
votes
1 answer

Ksoap backward result

I have ksop request. what i knead to produce is asdfdsafdsfasdfdsa
user1072357
2
votes
2 answers

Generation of complex SOAP Envelope in accordance with OASIS WS Security specification using KSOAP2?

I am new to Android Development. I need to consume a .NET web service which is designed in accordance with OASIS Web Services Security specification. I am using KSOAP2 latest API to generate SOAP envelope. I need to send SOAP request strictly in…
2
votes
0 answers

Access to sharepoint ws

I used the code below public class SharepointListActivity extends Activity { private static final String SOAP_ACTION = "http://schemas.microsoft.com/sharepoint/soap/Login"; private static final String METHOD_NAME = "Login"; private static final…
Gorets
  • 2,434
  • 5
  • 27
  • 45
2
votes
3 answers

How to use JSON for inserting records into SQL database

Let's say I store a list of names , for eg: "abc","bcd","gdf"... in an array of Strings. I have an Android app that displays each of those values along with a checkbox. I need to convert my String array into a JSON String so that I can store it in a…
Parth Doshi
  • 4,200
  • 15
  • 79
  • 129
2
votes
3 answers

Ksoap set property type

when adding a property to an soap object can't specify it's type .... I need integer but it always sets it to "d:string" 1312191347 here is the way I add the proprety: SoapObject _client = new…
BurunduK
  • 293
  • 1
  • 3
  • 17
2
votes
4 answers

android -How to pass double value to service using ksoap

In My application i want to pass the double value to the web service using ksoap but i am getting the NPE. In the code "exit_distance" is double value. can any body find the error in that and send the sample example code here //valus required for…
naresh
  • 155
  • 2
  • 6
  • 12
2
votes
1 answer

Login with Android using Ksoap

I am trying to make a login for an android application using kSoap. Here is my code: @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); this.login = (Button)…
user702537
  • 21
  • 2
2
votes
1 answer

Using KSOAP with Android. Problems with custom namespace

Here's my big trouble. I'm trying to invoke a specific ws with this request: Here's my Java code used in an Android project: First, is it possible to print out the XML generated by this request? Anyway, the result returned by my request is always a…
ilsologheo00
  • 57
  • 1
  • 7
2
votes
0 answers

Generate Swift API from WSDL

hi i am new swift programmer , in android for wcf web service I use ksoap2.jar and it's work fine but in swift I can't find anything ((some sites is that generate wcf but one site is objective c and other site get all of my method void)) How can I…
2
votes
2 answers

Xmlparsing using Ksoap

I am doing xmlparsing by using ksoap2. I had added ksoap2.jar file in my library.And done this coding import java.io.IOException; import java.util.Vector; import javax.microedition.midlet.*; import javax.microedition.lcdui.*; import…
shweta
  • 1,120
  • 1
  • 11
  • 25
2
votes
0 answers

'java.lang.String org.ksoap2.serialization.SoapPrimitive.toString()' on a null object

When calling SOAP (wsdl) web service from my app, i faced java.lang.NullPointerException error. these both are java class NTLMTransport.java JCIFSEngine.java Any help would be greatly appreciated Here is my code public class…
Ashish Tikarye
  • 850
  • 8
  • 11
2
votes
1 answer

Web Service + Soap + Android

I'm developing a WS using KSOAP, I tested it using SoapUI and it worked well. When I try to use it on my android code I get the exception below. I have checked all my code but still can't find the error When I try to debbug I get the exception on…
Blanco
  • 135
  • 1
  • 4
2
votes
2 answers

Android ksoap2 object reference null exception

Here is my class which is calling the SOAP. I'm getting the following error and I don't understand why. ava.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String org.ksoap2.serialization.SoapPrimitive.toString()' on a null…
JL1
  • 309
  • 2
  • 18
2
votes
1 answer

ksoap services accessing by maximum user and it crashes or not?

I want to clear my doubt.am using ksoap services and it work successfully.but if multiple user accessing at a time for example 1000+ user are accessing then it will crashes or not.in three tier architecture if 1 of the layer crashes by server load…
Mayuri
  • 489
  • 3
  • 11
1 2
3
19 20