eslamabdalgwadmohamed / ksoap2-android

Automatically exported from code.google.com/p/ksoap2-android
0 stars 0 forks source link

SSL transport.getConnection() is allways NULL #125

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Tried the SSL example from Wiki:

http://code.google.com/p/ksoap2-android/wiki/CodingTipsAndTricks

2. Got trouble with this peace of code: 

((HttpsServiceConnectionSE)transport.getConnection()).setSSLSocketFactory(getSSL
SocketFactory());

-> transport.getConnection() is allways NULL

3. Than found this thread but no listed issue, fix or a possible workaround 

https://groups.google.com/forum/#!msg/ksoap2-android/Ae5mLYZkq3E/eRq8VeSkBVgJ

What version of the product are you using? On what operating system?
- using 2.6.5

Original issue reported on code.google.com by stellbri...@gmail.com on 21 Jun 2012 at 2:19

GoogleCodeExporter commented 8 years ago
Sorry,

don't know how but didn't saw this yesterday:

- improved access to service connection from transport classes
    - see https://github.com/mosabua/ksoap2-android/pull/22
    - contributed by https://github.com/domenukk
    - changed method name! 

Original comment by stellbri...@gmail.com on 22 Jun 2012 at 6:38

GoogleCodeExporter commented 8 years ago
So is this working for you now? 

Original comment by mosa...@gmail.com on 13 Sep 2012 at 5:16

GoogleCodeExporter commented 8 years ago
Can't tell you if it works with the current Version but with the snapshot from 
round about the date of my first post it works flawlessly.

Original comment by stellbri...@gmail.com on 17 Sep 2012 at 11:41

GoogleCodeExporter commented 8 years ago

Original comment by mosa...@gmail.com on 17 Sep 2012 at 4:38