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. Regarding Porting Guide

Dear all,
I want to port android on a new board.
I am new to android porting.
  Please some one help me how to go ahead with this.
existing documentations are already obsolete.
Please help.

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

2. my mediacontrooler problem,I need some help..

hi folks,

i have a mediacontroller with mediaplayer,
i have some questions:


1. the mediacontroller can't update the progressive bar automatilly

2. when i enter in the program,it will play my music but the
mediacontroller can't into "play mode" simultaneously("stop mode" is
default)
(that means i need click play button that in the play mode)

3. if i want to implement prev/next function,how can i write for this
function,i just know must to setup the
mediacontroller.setPrevNextListeners
(View.OnClickListener next, View.OnClickListener prev),but don't know
how to use it.


can somebody give me some advise?
thanks!


my code of mediacontroller is bellow:
===============================================
 /* MediaPlayerControl */
  private MediaController.MediaPlayerControl player_interface=new
  MediaController.MediaPlayerControl()
  {


        public int getBufferPercentage() {
                return buffer_percent;
        }


        public int getCurrentPosition() {
                return mMediaPlayer1.getCurrentPosition();
        }


        public int getDuration() {
                return mMediaPlayer1.getDuration();
        }


        public boolean isPlaying() {
                return PlayState;
        }


        public void pause() {
                if(mMediaPlayer1!=null)
                {
                        mMediaPlayer1.pause();
                }
                PlayState=false;
        }


        public void seekTo(int pos) {
                if(mMediaPlayer1!=null)
                {
                        mMediaPlayer1.seekTo(pos);
                }
        }


        public void start() {
                if(mMediaPlayer1!=null)
                {
                        mMediaPlayer1.start();
                }
                PlayState=true;
        }


}; /* end of MediaPlayerControl */


==============================================

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

3. Node extention guide?

4. PreferencesActivity and setResult(RESULT_OK,result)

5. onRestart() being called after onDestroy()

6. Calibration with the environment may improve the readings ?!

7. Pointer Location tool