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 Mi...@servicecanada.gc.ca on 2007/07/09 23:09:50 UTC

wss4j and axis2?

Hi,

I've been digging around the source code of wss4j (the WS-Security library used by Rampart), and there's something very fundamental I don't understand.

As far as I know, I've got the most recent versions of these (axis2 1.2, wss4j 1.5.2). The strange thing is, wss4j seems to use the older axis 1 libraries, with package names like org.apache.axis.*, whereas axis2 has package names like org.apache.axis2.*.

I would expect to get a lot of ClassNotFound exceptions, but it seems to work fine. Is there some strange trickery going on, or am I just confused?

Thanks
Michael Davis

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


RE: wss4j and axis2?

Posted by Mi...@servicecanada.gc.ca.
Thanks Paul,

Yes, the wss4j code does contain 
org.apache.ws.axis* 
packages, but three classes in wss4j depend on 
org.apache.axis.*
classes.

I just realized that only 3 classes in wss4j depend on the old axis, and the code I was running through Rampart didn't use those classes, which is why I didn't get the error.

cheers,
md
 

> -----Original Message-----
> From: Paul Fremantle [mailto:pzfreo@gmail.com]
> Sent: Monday, July 09, 2007 7:05 PM
> To: axis-user@ws.apache.org
> Subject: Re: wss4j and axis2?
> 
> 
> Michael
> 
> WSS4J really contains the security handling code, based on a DOM view
> of the SOAP messages. Rampart contains the bridging logic from the
> Axis2 module/handler model to that code. And something called DOOM
> (DOM over Axiom) provides the DOM interface to the Axis2 messages.
> 
> Paul
> 
> PS the code in wss4j is org.apache.ws.axis.* which is actually
> something different to org.apache.axis.* AFAIK
> 
> On 7/9/07, Michael.Davis@servicecanada.gc.ca
> <Mi...@servicecanada.gc.ca> wrote:
> > Hi,
> >
> > I've been digging around the source code of wss4j (the 
> WS-Security library used by Rampart), and there's something 
> very fundamental I don't understand.
> >
> > As far as I know, I've got the most recent versions of 
> these (axis2 1.2, wss4j 1.5.2). The strange thing is, wss4j 
> seems to use the older axis 1 libraries, with package names 
> like org.apache.axis.*, whereas axis2 has package names like 
> org.apache.axis2.*.
> >
> > I would expect to get a lot of ClassNotFound exceptions, 
> but it seems to work fine. Is there some strange trickery 
> going on, or am I just confused?
> >
> > Thanks
> > Michael Davis
> >
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
> 
> 
> -- 
> Paul Fremantle
> Co-Founder and VP of Technical Sales, WSO2
> OASIS WS-RX TC Co-chair
> 
> blog: http://pzf.fremantle.org
> paul@wso2.com
> 
> "Oxygenating the Web Service Platform", www.wso2.com
> 
> ---------------------------------------------------------------------
> 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


Re: wss4j and axis2?

Posted by Paul Fremantle <pz...@gmail.com>.
Michael

WSS4J really contains the security handling code, based on a DOM view
of the SOAP messages. Rampart contains the bridging logic from the
Axis2 module/handler model to that code. And something called DOOM
(DOM over Axiom) provides the DOM interface to the Axis2 messages.

Paul

PS the code in wss4j is org.apache.ws.axis.* which is actually
something different to org.apache.axis.* AFAIK

On 7/9/07, Michael.Davis@servicecanada.gc.ca
<Mi...@servicecanada.gc.ca> wrote:
> Hi,
>
> I've been digging around the source code of wss4j (the WS-Security library used by Rampart), and there's something very fundamental I don't understand.
>
> As far as I know, I've got the most recent versions of these (axis2 1.2, wss4j 1.5.2). The strange thing is, wss4j seems to use the older axis 1 libraries, with package names like org.apache.axis.*, whereas axis2 has package names like org.apache.axis2.*.
>
> I would expect to get a lot of ClassNotFound exceptions, but it seems to work fine. Is there some strange trickery going on, or am I just confused?
>
> Thanks
> Michael Davis
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


-- 
Paul Fremantle
Co-Founder and VP of Technical Sales, WSO2
OASIS WS-RX TC Co-chair

blog: http://pzf.fremantle.org
paul@wso2.com

"Oxygenating the Web Service Platform", www.wso2.com

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