KSoap2 SSL Https Webservice

by SeedZero » Sat, 14 Mar 2009 02:09:39 GMT


Sponsored Links
 I'm using KSoap2 J2SE to call on my Webservice and it works fine when
I do a normal http call but when I trying to make it secure by doing a
https call I get a InvocationException when I run debug mode which I
don't know why I'm getting it or what to do about it.  I was reading
on older forums before and they said J2SE should be able to run SSL
and all I need to do is add the "s" on the URL for HttpTransportSE.
At first I though there was a problem with the certificate like a lot
of the other forums mentioned but I'm not getting the same exceptions
as them so I'm sure this is something else.  Anyone have any ideas
what the problem is?

--~--~---------~--~----~------------~-------~--~----~



KSoap2 SSL Https Webservice

by SeedZero » Sat, 14 Mar 2009 02:11:43 GMT


 I'm using KSoap2 J2SE to call on my Webservice and it works fine when
I do a normal http call but when I trying to make it secure by doing a
https call I get a InvocationException when I run debug mode which I
don't know why I'm getting it or what to do about it.  I was reading
on older forums before and they said J2SE should be able to run SSL
and all I need to do is add the "s" on the URL for HttpTransportSE.
At first I though there was a problem with the certificate like a lot
of the other forums mentioned but I'm not getting the same exceptions
as them so I'm sure this is something else.  Anyone have any ideas
what the problem is?

--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. Linking PreCompiled Shared Object/Executable with Android RILD

Hello,

Is there any possible way, to link a precompiled shared object (*.so)
with rild. so that it can be opened using dlopen, its function can be
accessed using dlsym and finally these functions can be called using
some thread. Just like it is being done in case of reference-ril but
the only difference is that i am building my module as a separate
entitiy and after that i am trying to link its shared object with rild
while reference-ril module is built within Android.

At the moment i am trying to use following lines at the top of
Android.mk in rild folder.
include $(CLEAR_VARS)
LOCAL_PREBUILT_LIBS := my_module.so
include $(BUILD_MULTI_PREBUILT)

I have placed my_module.so in hardware/ril/rild and i can see in the
make log that it is being installed and automatically copied into out/
target/generic/system/lib/my_module.so

but when i call the following
mymodulepath = "system/lib/my_module.so"
dlopen(mymodulepath, RTLD_NOW)

it fails to open this shared object and i get the following error
using dlerror()
Cannot load library: link_image[2033]: failed to link my_module.so

Its very very urgent and i am very much new to this thing. So please
help me out guys.

Looking forward to your response and thanking in advance.

Warm Regards,
Junaid.

-- 

2. making Toast like notification?

Hello,

I have been looking into this for a while and havn't found a method to
do this, so any help will be appreciated...

I'm trying to create a custom version of the Toast notification while
keeping a similar functionality but customizing it, I have tried the
following;

Tried extending Toast and just overriding the functions I need to re
implement but thats pretty much impossible since it uses a private
class called TN that I don't access to and then the bigger problem is
the lack of access of the low level system manager it uses
ITransientNotification, WindowManagerImp, INotificationManager(one of
the big ones uses since this is queues each Toast)... anyway hit a
dead wall with that so I tried using the AlertDialog.Builder creating
a custom dialog then tried to get the windows attributes during
OnPrepareDialog/OnCreateDialog and play around with the window flags
such as LayoutParams.FLAG_NOT_TOUCHABLE and it kinda of worked but no
at the same time because the AlertDialog relies on creating a new
activity which from my understand is another dead wall since there
can't be an activity running on top of another activity at the same
time.(right? please correct me if im wrong?)

So now I'm really stuck if anyone has any ideas I would really
appreciate it thanks

-- 

3. Small, Normal, Large and xlarge. How to handle application?

4. Captured image FileNotFound

5. How to read file from assets dir?

6. Edit Bitmap Channels?

7. Hepinuyer