Thank you so much for your reply.
I have looked over the Wiki at http://wiki.apache.org/ws/FrontPage/WsFx
but I am afraid I couldn't find the way.
As I understand, in the package, WSEncryptBody is related to message
encryptions.
Now I understand how can I encrypt whole body using WSEncryptBody.build(),
but I cannot find a way to encrypt a specific element.
(For example, if body consists of:
<soapenv:Body>
<ns1:arg0> arg1 </ns1:arg0>
<ns1:arg1> arg2 </ns1:arg1>
</soapenv:Body>
I am trying to encrypt only arg2.)
Does WSEncryptPart help it? but how can I use this class?
is there any example?
Sorry for this silly question.
- Wook
On 12/23/05, Dittmann, Werner <[EMAIL PROTECTED]> wrote:
> That's exactly what WSS4J can do for you. Pls
> have a look at the WS-FX/WSS4J Wiki.
>
> Regards,
> Werner
>
> > -----Ursprüngliche Nachricht-----
> > Von: Wook Shin [mailto:[EMAIL PROTECTED]
> > Gesendet: Freitag, 23. Dezember 2005 09:20
> > An: [email protected]
> > Betreff: newbie question with SOAP encryption
> >
> > Hi,
> >
> > I'm trying to encrypt a part of SOAP body. I found an
> > encryption example at
> > http://www.devx.com/Java/Article/28816/0/page/2
> > but I still don't have an idea how can I encrypt a part of BODY.
> >
> > Should I use another package? or can I do that with WSS4J?
> > Is there any example?
> >
> > Thank you.
> > Have happy holidays.
> >
> > - Wook Shin
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
--
Wook Shin
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]