I've just figured out that there are just 3 classes in wss4j that depend on the old axis libraries. The rampart configuration I'm using (symmetric key encoding) didn't use those classes, so I saw no ClassNotFound exceptions.
cheers, md > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 10, 2007 10:01 AM > To: [email protected] > Subject: RE: wss4j and axis2? > > > Thanks Pietro, > > Yes, I know, I am using Rampart. Rampart includes the wss4j > jar file. For example, > org.apache.rampart.handler.WSDoAllHander > extends > org.apache.ws.security.handler.WSHandler > > Now, if you look at some of the wss4j classes, for example > > org.apache.ws.axis.security.WSDoAllSender > > you'll see: > > import org.apache.axis.AxisFault; > import org.apache.axis.Message; > import org.apache.axis.MessageContext; > import org.apache.axis.SOAPPart; > > I'm starting to suspect that the code I'm using in Rampart is > using wss4j classes that _don't_ depend on axis1. For example, > > org.apache.ws.security.handler.WSHandler > > doesn't use the axis library. > > Regards, > md > > > > -----Original Message----- > > From: Pietro Romanazzi [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, July 10, 2007 3:58 AM > > To: [email protected] > > Subject: Re: wss4j and axis2? > > > > > > Hi Michael, > > For Axis 2 use Rampart instead of wss4j. Rampart is made from > > wss4j. > > Regards, > > Pietro > > > Hi, > > > > > > I've been digging around the source code of wss4j, 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: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > __________ Informazione NOD32 2385 (20070709) __________ > > > > > > Questo messaggio รจ stato controllato dal Sistema Antivirus NOD32 > > > http://www.nod32.it > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > 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] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
