You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
my ksoap2 jar is this
ksoap2-android-assembly-3.1.0-jar-with-dependencies.jar
im trying to make a request to a server with https. Every thing works fine with
Android 4 and 4.1, but with android 3 and lower dosent work, i have have null
pointer ecxeption with the Call method
HttpsTransportSE androidHttpTransport = new
HttpsTransportSE(HOST,PORT,"miIusacell/services/miIusacellService",timeOut);
androidHttpTransport.setUrl("https://10.203.25.149:8080/mitest/services/miService");
((HttpsServiceConnectionSE) androidHttpTransport.getServiceConnection()).setSSLSocketFactory(getSSLSocketFactory());
Log.i("WSclient", "androidHttpTransport");
androidHttpTransport.debug = true;
_FakeX509TrustManager.allowAllSSL();
Log.d("WSclient", "HTTP before CALL");
try{
androidHttpTransport.call(SOAP_ACTION, envelope);//<--- HERE
}catch(Exception ee){
Log.d("WSclient", "catch CALL");
ee.printStackTrace();
}
03-27 13:24:15.606: D/WSclient(494): catch CALL
03-27 13:24:15.606: W/System.err(494): java.lang.NullPointerException
03-27 13:24:15.616: W/System.err(494): at
org.apache.harmony.luni.internal.net.www.protocol.http.HttpConnection$Address.ha
shCode(HttpConnection.java:296)
03-27 13:24:15.616: W/System.err(494): at
java.util.HashMap.get(HashMap.java:302)
03-27 13:24:15.616: W/System.err(494): at
org.apache.harmony.luni.internal.net.www.protocol.http.HttpConnectionPool.get(Ht
tpConnectionPool.java:73)
03-27 13:24:15.616: W/System.err(494): at
org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnectionImpl.get
HttpConnection(HttpURLConnectionImpl.java:292)
03-27 13:24:15.616: W/System.err(494): at
org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnectionImpl.mak
eConnection(HttpURLConnectionImpl.java:274)
03-27 13:24:15.616: W/System.err(494): at
org.apache.harmony.luni.internal.net.www.protocol.https.HttpsURLConnectionImpl$H
ttpsEngine.makeSslConnection(HttpsURLConnectionImpl.java:447)
03-27 13:24:15.616: W/System.err(494): at
org.apache.harmony.luni.internal.net.www.protocol.https.HttpsURLConnectionImpl$H
ttpsEngine.makeConnection(HttpsURLConnectionImpl.java:419)
03-27 13:24:15.616: W/System.err(494): at
org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnectionImpl.con
nect(HttpURLConnectionImpl.java:217)
03-27 13:24:15.616: W/System.err(494): at
org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnectionImpl.get
OutputStream(HttpURLConnectionImpl.java:624)
03-27 13:24:15.616: W/System.err(494): at
org.apache.harmony.luni.internal.net.www.protocol.https.HttpsURLConnectionImpl.g
etOutputStream(HttpsURLConnectionImpl.java:293)
03-27 13:24:15.616: W/System.err(494): at
org.ksoap2.transport.HttpsServiceConnectionSE.openOutputStream(HttpsServiceConne
ctionSE.java:123)
03-27 13:24:15.616: W/System.err(494): at
org.ksoap2.transport.HttpTransportSE.call(HttpTransportSE.java:185)
03-27 13:24:15.616: W/System.err(494): at
org.ksoap2.transport.HttpTransportSE.call(HttpTransportSE.java:118)
03-27 13:24:15.616: W/System.err(494): at
org.ksoap2.transport.HttpTransportSE.call(HttpTransportSE.java:113)
Original issue reported on code.google.com by [email protected] on 27 Mar 2014 at 7:22
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 27 Mar 2014 at 7:22The text was updated successfully, but these errors were encountered: