You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "Feng Xie (fxie)" <fx...@cisco.com> on 2005/08/15 16:20:17 UTC

How to add SSL/TLS compabiity into Axis Client

 

Hi, 

I have been using a simple Axis Client over HTTP, which directly calls
the auto generated client side stubs ( assuming the web service is
called Foo, one the it's operation is called Foo_Operation1 )

FooIF_Service service = new FooIF_ServiceLocator( );
Foo port = service.getFoo();
port.FooOperation1( );

My question, what should I do to add SSL/TLS capability into the above
steps ?

Thanks in advance,
Feng


Re: How to add SSL/TLS compabiity into Axis Client

Posted by csj <jo...@clarkson.edu>.
Change the endpoint to https after the server is properly configured.

..Chris

On Mon, 15 Aug 2005, Feng Xie (fxie) wrote:

>
>
> Hi,
>
> I have been using a simple Axis Client over HTTP, which directly calls
> the auto generated client side stubs ( assuming the web service is
> called Foo, one the it's operation is called Foo_Operation1 )
>
> FooIF_Service service = new FooIF_ServiceLocator( );
> Foo port = service.getFoo();
> port.FooOperation1( );
>
> My question, what should I do to add SSL/TLS capability into the above
> steps ?
>
> Thanks in advance,
> Feng
>
>

--
Chris Johnson
johnsocs@clarkson.edu

Re: How to add SSL/TLS compabiity into Axis Client

Posted by Jesse Sightler <js...@gmail.com>.
service.getFoo("https://www.yourservice.com/yourservice"); ?


On 8/15/05, Feng Xie (fxie) <fx...@cisco.com> wrote:
> 
> 
> 
> Hi,
> 
> I have been using a simple Axis Client over HTTP, which directly calls
> the auto generated client side stubs ( assuming the web service is
> called Foo, one the it's operation is called Foo_Operation1 )
> 
> FooIF_Service service = new FooIF_ServiceLocator( );
> Foo port = service.getFoo();
> port.FooOperation1( );
> 
> My question, what should I do to add SSL/TLS capability into the above
> steps ?
> 
> Thanks in advance,
> Feng
> 
>