Questions tagged [ksoap]

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

297 questions
0
votes
1 answer

Android access webservice with SOAP

I am making currency converter with real time data,using ksoap to access webservice. However the response which is come from webservice is org.ksoap2.SoapFault.But this answers is not throwing as a exception. This answer comes to my text area what…
Tunç Doğan
  • 73
  • 1
  • 2
  • 8
0
votes
3 answers

Web Service Client using KSoap2 - Doesn't respond or throw errors

Guys I am new to android programming, I tried to send data to a Web Service using KSOAP2. But I am not able to send values or get data. When in debugging mode it doesn't show errors. I am using android 4.1 emulator. But I cant find any result or…
Crazy Programmer
  • 105
  • 3
  • 19
0
votes
1 answer

Newer phones not working on Broadband conncetion

So i'm trying to collect some data from webservice using ksoap. It works fine on older phones, and on newer when i have wifi connection. When i change to broadband from mobile provider it returns error: java.net.SocketException: Socket is…
gabrjan
  • 3,080
  • 9
  • 40
  • 69
0
votes
1 answer

ComplexTypes using KSOAP

I'm trying to use a webservice, where I need to work with ComplexTypes. This is the output from the Service: MS4wMDE6MTYxHTEuMDAyOjAwHTEuMDAzOjEfMx4yHzAeNB8xHjQfMh0xLjAw As you can see there is a…
Tobias Moe Thorstensen
  • 8,861
  • 16
  • 75
  • 143
0
votes
1 answer

Get string from KSoap Response

My question is somewhat similar to Get boolean from SoapObject (kSOAP2), so, the thing is my soap response is something like anyType{ResCode=100; TransID=123456; Signature=abc123def456; OutputParams=anyType{params=anyType{useruid=a-e23; status=1;…
acvon
  • 161
  • 3
  • 6
  • 21
0
votes
1 answer

Parsing XML in Android application using Ksoap2

I have a web service which returns an XML file like this: 12 2 AABBBCCCAAA 0 In…
GVillani82
  • 17,196
  • 30
  • 105
  • 172
0
votes
1 answer

how to set parameters of webmethod in android

I had created webservice using jaxws in myeclipse5.1.1GA and I can call this webservice method in eclipse indigo64 bit. Problem is that when I can set parameters of webmethod which is in webservice using soap object's setparameter() method but it…
user1508234
  • 7
  • 1
  • 5
0
votes
1 answer

Android: how to create ksoap2 request?

I try to understand how use ksoap on Android. I have executed this ksoap request:
Winte Winte
  • 753
  • 5
  • 11
  • 24
0
votes
1 answer

SoapFault-Server was unable to process request when using ksoap to connect to the CrmDiscoveryService on Android

I am using ksoap to connect to CrmDiscoveryService on Android, here comes the problem: SoapFault - faultcode: 'soap:server' faultstring: 'Server was unable to process request.' faultactor: 'null' detail: org.kxml2.kdom.Node@4061bd00 //here is…
0
votes
1 answer

android ksoap error in httptransportse.call();

Please any one help me with this bug... Here is ma Java code: public class MainActivity extends Activity implements Serializable { private static final String Url = "http://c.knotbiz.com/knotbizjob.asmx"; private static final String…
0
votes
1 answer

KSOAP get XML response

I use KSOAP to access a webservice for my application. I use a SoapObject to build the request and I got an strange response (in this case strange means not XML). I'm new with KSOAP and I need to add some changes into an existing project built on…
Zelter Ady
  • 6,266
  • 12
  • 48
  • 75
0
votes
1 answer

How to store base64 strings (image) to .Net server from android

Can someone help me figure this out? I am trying to upload an image in base64 string format to a .Net webservices (web server) using ksoap on android. I was able to upload the file successfully when i click the submit button on the android app but…
dejobo
  • 113
  • 8
0
votes
1 answer

java.lang.RuntimeException: Cannot serialize: [] ----KSoap android

I want to access wcf webservice as below code: void farmCreate(String userName, String authToken) { String resultData = null; Hashtable responseHashTable = new Hashtable(); try { FarmClass…
0
votes
1 answer

I'm tring to access a web service from Android which has a layout similiar to the codes blocks below:

For the moment I'm tring ksoap2 but would like to use whatever the standard method is in the industry. I can access the 'Simple sample' (below) and write the values such as 'Frank' to the log using ksoap2 no problem, but the Complex Sample (below)…
0
votes
2 answers

java.net.UnknowHostException with ksoap2

I m doing my first steps with KSoap on Android (I m porting an iOS app to Android) I get an exception while calling the WS 06-12 15:20:29.430: W/System.err(11912): java.net.UnknownHostException: www.mywebsite.com I m pretty sure host is accessible…
Nico AD
  • 1,657
  • 4
  • 31
  • 51
1 2 3
19
20