Questions tagged [ksoap2]

A lightweight and efficient SOAP engine suitable for J2ME or constrained java devices.

1195 questions
4
votes
1 answer

How to access method from two classes which do not share an interface?

I am creating a java library that will access web services, but the library will be called in different platforms, so we are using ksoap2 and ksoap2-android to generate helper classes for the different platforms. The problem is that we then have…
Mike Hedman
  • 1,391
  • 1
  • 11
  • 30
4
votes
0 answers

How to sign SOAP Message used ksoap2 library whit certificate x509 on Android app?

How I can sign my SOAP Message (for example UserToken in Header) used ksoap2 library for SOAP message and certificate x509 on Android app? I can send this message:
TeMaH
  • 41
  • 1
4
votes
1 answer

How to parse Complex response with use of ksoap2 library in android

Hi all i am parsing following type of response with use of Ksoap2 library but not getting success to get result my request is like this:
user1414160
4
votes
4 answers

KSoap2 SoapObject Object Reference not set to an instance

I think this is a simple problem that others may be able to provide the missing link to. I have a Workflow wcf service that my .NET clients can communicate with properly. I have turned on tracing under the appfabric and can watch service calls…
GPGVM
  • 5,515
  • 10
  • 56
  • 97
4
votes
1 answer

Android SOAP IOException "BufferedInputStream is closed"

I am developing an Android application using SOAP webservices. When the response of the request is too long it gives me an IOException on line: androidHttpTransport.call(SOAP_ACTION, envelope); My code: try { SoapObject request = new…
Marta Rodriguez
  • 1,944
  • 2
  • 16
  • 30
4
votes
1 answer

Android kSOAP2 SSL self-signed certificates "Security Requirements not met - No Security header in message"

there is a problem connecting to the SSL WebServices Apache Tomcat, Java SE client connects fine, but the Android client does not want to connect and displays one of the following errors: 1. "Security Requirements not met - No Security header in…
Igor Grishkov
  • 83
  • 1
  • 8
4
votes
1 answer

How to pass object from android to soap web service?

I need to pass an object from android to a soap web service, but I get an error that the driver object is null. How can I pass an object to the soap web service without getting this error? Here is the object:
user1496151
4
votes
3 answers

Changing the layout of a SOAP envelope with Ksoap2 for android

I'm working on a project to connect an Android powered device to a .NET wcf server. The problem I'm having is with the layout of the SOAP envelope. When I'm using soapUI to send a request, the request is handled properly. However, when I use Ksoap2…
4
votes
3 answers

How to call a .NET web service from Blackberry Simulator?

I have to call a .NET web service (http://192.168.1.14/CG/authentication.asmx) from the Blackberry Simulator. Already i have done it in Android with KSOAP2, but i have no idea about how to do this in Blackberry. Can i use KSOAP2 in Blackberry? If i…
Rajapandian
  • 9,257
  • 24
  • 74
  • 86
4
votes
1 answer

Android, AsyncTask with kSoap2

I'm coding an app that primarily uses data gotten from a web service, and I want to use AsyncTask to run the SOAP calls in the background... I'm fairly new to Android(being an iOS programmer), so I'm a bit new at this... Now, I have a login screen,…
user969043
  • 756
  • 2
  • 13
  • 34
4
votes
1 answer

how to authenticate SAP web service with ksoap2

I have to connect a SAP web service. Here is my code but it warns: org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope (position:START_TAG @1:7 in java.io.InputStreamReader@40e3fe98) Here…
GK Soft
  • 103
  • 2
  • 12
4
votes
2 answers

Android KSOAP2 request to PHP SOAP server

I am trying to create a SOAP client in my android app. I have already tested the server with php SOAP client, and it has been working. But in my android app I am still getting exceptions. Can anyone help me whats wrong and how to fix it?…
zdarsky.peter
  • 6,188
  • 9
  • 39
  • 60
3
votes
1 answer

Ksoap2 Error after Updating Android SDK and ADT

I have a problem. When I updated Android SDK tool to version 17 and the ADT to 17 I can't use ksoap2 any more. I start the app and get this error: 03-25 20:13:49.995: E/AndroidRuntime(555): FATAL EXCEPTION: main 03-25 20:13:49.995:…
AaBoy
  • 53
  • 5
3
votes
1 answer

Ksoap2 getPropertySafely return anyType{}

I use ksoap2 to communicate with webservice. but when websrvice give response like follow, ksoap2 's method getPropertySafely will return "anyType{}", My expect is return "" here is the xml response: java code: value =…
Hunk Deng
  • 61
  • 3
3
votes
2 answers

Authentication in KSOAP2 request to .NET webservice in Android

I am trying to access a secure .NET SOAP webservice in an Android app, using the KSOAP2 library. I have checked for other answers on Stack Overflow, but so far none of them have helped me. A username and password are required for authentication.…
breadbin
  • 584
  • 1
  • 11
  • 19