axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ruchith Fernando" <ruchith.ferna...@gmail.com>
Subject Re: [Axis2] [rampart] Using WS-Security with a SAAJ client?
Date Wed, 10 Jan 2007 06:32:13 GMT
Hi Ulf,

You should be able to specify the axis2.xml file and the repo using
the following system properties in the client side:

axis2.xml
axis2.repo

Now you can simply set these properties in the SAAJ client and use the
axis2 modules.

Thanks,
Ruchith

---------- Forwarded message ----------
From: Ruchith Fernando <ruchith.fernando@gmail.com>
Date: Jan 9, 2007 1:52 PM
Subject: Re: [Axis2] [rampart] Using WS-Security with a SAAJ client?
To: axis-user@ws.apache.org


Ah ... good point !!! :-)

IMHO there's no provision to set a custom config context :-( ... and
... you MUST configure rampart to be able to work on the messages.

Also this raises the question as to how to engage modules with the
Axis2 SAAJ API?

Axis2 devs, what do you folks think?

Thanks,
Ruchith

On 1/9/07, Ulf Dittmer <ulf@ulfdittmer.com> wrote:
> That's great.
>
> How would I specify that the axis2.xml file should be used? In an
> Axis client I'd have something like
>
> ConfigurationContext ctx =
> ConfigurationContextFactory.createConfigurationContextFromFileSystem
> (...);
>
> How to do that with a SAAJ client?
>
> Thanks,
> Ulf
>
>
> On 09.01.2007, at 04:38, Ruchith Fernando wrote:
>
> > Hi Ulf,
> >
> > If you configured your client side *only* with an axis2.xml file of
> > the client then, you should be able simply use the same file with the
> > SAAJ client with no code changes.
> >
> > Thanks,
> > Ruchith
> >
> > On 1/9/07, Ulf Dittmer <ulf@ulfdittmer.com> wrote:
> >> Hello everybody-
> >>
> >> I have no problem using WS-Security with an Axis client (i.e. one
> >> that uses the org.apache.axis2 and org.apache.axiom classes), But how
> >> would I go about securing a SAAJ client? It explicitly uses just the
> >> javax.xml.* classes, and I would like to keep it that way. Is there a
> >> way to apply WS-Security without any code changes?
> >>
> >> Thanks in advance for any hints.
> >>
> >> Cheers,
> >> Ulf
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> >> For additional commands, e-mail: axis-user-help@ws.apache.org
> >>
> >>
> >
> >
> > --
> > www.ruchith.org
> > www.wso2.org
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


--
www.ruchith.org
www.wso2.org


-- 
www.ruchith.org
www.wso2.org

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message