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 Michael Schwarz <sc...@commsult.de> on 2002/04/02 09:39:05 UTC

axis and cryptography ?

Hello! (sorry for the bad english)

I have a question concerning the transmission of the client request. the
client uses the stub, created by wsdl2java (from axis).
I need to en-, decrypt the serialized objects (method paramters) of the
SOAPPart, befor the Request is transmitted ( Call.invoke( ... ) ).

any idea ?

Black


Re: axis and cryptography ?

Posted by Michael Schwarz <sc...@commsult.de>.
Do you have a code example ?

----- Original Message -----
From: "Matt Baldree" <ma...@smallleap.com>
To: <ax...@xml.apache.org>
Sent: Tuesday, April 02, 2002 2:33 PM
Subject: Re: axis and cryptography ?


> What we did was override the client side deployment descriptor file to
> define a global handler that signs the request. I don't recommend
modifying
> the stubs since you have to remember to modify them every time.
>
> -Matt
>
> ----- Original Message -----
> From: "Mark Volkmann" <vo...@charter.net>
> To: <ax...@xml.apache.org>
> Sent: Tuesday, April 02, 2002 5:31 AM
> Subject: Re: axis and cryptography ?
>
>
> > I see two options.
> > 1) modify the generated stub to do this
> > 2) use an Axis engine on the client-side with a request handler that
> > encrypts and a response handler that decrypts (I've never used
client-side
> > handlers before, only read about them.)
> >
> > ----- Original Message -----
> > From: "Michael Schwarz" <sc...@commsult.de>
> > To: <ax...@xml.apache.org>
> > Sent: Tuesday, April 02, 2002 1:39 AM
> > Subject: axis and cryptography ?
> >
> >
> > > Hello! (sorry for the bad english)
> > >
> > > I have a question concerning the transmission of the client request.
the
> > > client uses the stub, created by wsdl2java (from axis).
> > > I need to en-, decrypt the serialized objects (method paramters) of
the
> > > SOAPPart, befor the Request is transmitted ( Call.invoke( ... ) ).
> > >
> > > any idea ?
> > >
> > > Black
> > >
> > >
> >
> >
> >
>
>


Re: axis and cryptography ?

Posted by Matt Baldree <ma...@smallleap.com>.
What we did was override the client side deployment descriptor file to
define a global handler that signs the request. I don't recommend modifying
the stubs since you have to remember to modify them every time.

-Matt

----- Original Message -----
From: "Mark Volkmann" <vo...@charter.net>
To: <ax...@xml.apache.org>
Sent: Tuesday, April 02, 2002 5:31 AM
Subject: Re: axis and cryptography ?


> I see two options.
> 1) modify the generated stub to do this
> 2) use an Axis engine on the client-side with a request handler that
> encrypts and a response handler that decrypts (I've never used client-side
> handlers before, only read about them.)
>
> ----- Original Message -----
> From: "Michael Schwarz" <sc...@commsult.de>
> To: <ax...@xml.apache.org>
> Sent: Tuesday, April 02, 2002 1:39 AM
> Subject: axis and cryptography ?
>
>
> > Hello! (sorry for the bad english)
> >
> > I have a question concerning the transmission of the client request. the
> > client uses the stub, created by wsdl2java (from axis).
> > I need to en-, decrypt the serialized objects (method paramters) of the
> > SOAPPart, befor the Request is transmitted ( Call.invoke( ... ) ).
> >
> > any idea ?
> >
> > Black
> >
> >
>
>
>



Re: axis and cryptography ?

Posted by Michael Schwarz <sc...@commsult.de>.
The  parameters I want to encrypt are serialized in the
Call.invoke(<parameters>) method. But this method send's the Request at the
same time. Futher i dont want to change the client stub.

But, thank. I will check your second option.

----- Original Message -----
From: "Mark Volkmann" <vo...@charter.net>
To: <ax...@xml.apache.org>
Sent: Tuesday, April 02, 2002 1:31 PM
Subject: Re: axis and cryptography ?


> I see two options.
> 1) modify the generated stub to do this
> 2) use an Axis engine on the client-side with a request handler that
> encrypts and a response handler that decrypts (I've never used client-side
> handlers before, only read about them.)
>
> ----- Original Message -----
> From: "Michael Schwarz" <sc...@commsult.de>
> To: <ax...@xml.apache.org>
> Sent: Tuesday, April 02, 2002 1:39 AM
> Subject: axis and cryptography ?
>
>
> > Hello! (sorry for the bad english)
> >
> > I have a question concerning the transmission of the client request. the
> > client uses the stub, created by wsdl2java (from axis).
> > I need to en-, decrypt the serialized objects (method paramters) of the
> > SOAPPart, befor the Request is transmitted ( Call.invoke( ... ) ).
> >
> > any idea ?
> >
> > Black
> >
> >
>


Re: axis and cryptography ?

Posted by Mark Volkmann <vo...@charter.net>.
I see two options.
1) modify the generated stub to do this
2) use an Axis engine on the client-side with a request handler that
encrypts and a response handler that decrypts (I've never used client-side
handlers before, only read about them.)

----- Original Message -----
From: "Michael Schwarz" <sc...@commsult.de>
To: <ax...@xml.apache.org>
Sent: Tuesday, April 02, 2002 1:39 AM
Subject: axis and cryptography ?


> Hello! (sorry for the bad english)
>
> I have a question concerning the transmission of the client request. the
> client uses the stub, created by wsdl2java (from axis).
> I need to en-, decrypt the serialized objects (method paramters) of the
> SOAPPart, befor the Request is transmitted ( Call.invoke( ... ) ).
>
> any idea ?
>
> Black
>
>