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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
> --
> www.ruchith.org
> www.wso2.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




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

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to