Android WCF client whit wshttpbindig and usernametoken

63 views
Skip to first unread message

Sergio Celaya

unread,
May 29, 2012, 8:59:31 AM5/29/12
to ksoap2-android
Hello,
im trying to deploy an android client for a WCF WS-Security whit
usernametoke.
Do you have some example of this situation?
I m deploying a client using KeepAliveHttpsTransportSE but i had
problems whit the server certificate. I read about this problem, and i
implement a class _FakeX509TrustManager that permits do not verifi the
certificates.
When i done that the exception that the program throw was that the
host didnt bean verificated.
Do you hace any solution?

thanks in advance

Manfred Moser

unread,
May 29, 2012, 6:44:04 PM5/29/12
to ksoap2-...@googlegroups.com
If that exception is thrown you are using the trustmanager wrongly.
There a couple of snippets around on the internet on stackoverflow and
some of the linked blog posts on the wiki .. I dont have any links or
code at hand but you will find all you need there.

manfred
Reply all
Reply to author
Forward
0 new messages