FYI, Here's the build log using latest CVS:

C:\APACHE\ws-fx\wss4j>ant test
Buildfile: build.xml

init:
     [echo] -------------------------------------------------------------------
     [echo] -------------- Apache-WS-Security-J v1.0.Beta [2004]
----------------
     [echo] -------------------------------------------------------------------
     [echo] Building with Apache Ant version 1.6.2 compiled on July 16 2004
     [echo] using build file C:\APACHE\ws-fx\wss4j\build.xml
     [echo] Java 1.4.2_05 located at C:\JDK14\jre
     [echo] -------------------------------------------------------------------
     [echo] --- Property values ---
     [echo] 
sun.boot.class.path=C:\JDK14\jre\lib\rt.jar;C:\JDK14\jre\lib\i18n.jar;C:\JDK14\jre\lib\sunrsasign.jar;C:\JDK14\jre\lib\jsse.jar;C:\JDK14\jre\lib
     [echo] classpath.test:
C:\APACHE\ws-fx\wss4j\build\classes;C:\APACHE\ws-fx\wss4j\build\wss4j.jar;C:\APACHE\ws-fx\wss4j\lib\addressing.jar;C:\APACHE\ws-
om3-xercesImpl-2_6_2.jar;C:\APACHE\ws-fx\wss4j\endorsed\dom3-xml-apis-2_6_2.jar;C:\ANT\lib\ant-launcher.jar;C:\XMLSPY2004\XMLSpyInterface.jar;C:\ANT\lib\ant
-starteam.jar;C:\ANT\lib\ant-stylebook.jar;C:\ANT\lib\ant-swing.jar;C:\ANT\lib\ant-trax.jar;C:\ANT\lib\ant-vaj.jar;C:\ANT\lib\ant-weblogic.jar;C:\ANT\lib\an


prepare:
    [mkdir] Created dir: C:\APACHE\ws-fx\wss4j\build
    [mkdir] Created dir: C:\APACHE\ws-fx\wss4j\build\test-reports
     [echo] --- Flags (Note: If the {property name} is displayed,
     [echo]            then the component is not present)
     [echo] jdk14.present=true
     [echo] jdk15.present=${jdk15.present}
     [echo] bc.present=true

prepare-src:
    [mkdir] Created dir: C:\APACHE\ws-fx\wss4j\build\classes

compile.library:
    [javac] Compiling 150 source files to C:\APACHE\ws-fx\wss4j\build\classes
     [copy] Copying 14 files to C:\APACHE\ws-fx\wss4j\build\classes

compile.samples:
    [javac] Compiling 7 source files to C:\APACHE\ws-fx\wss4j\build\classes
     [copy] Copying 4 files to C:\APACHE\ws-fx\wss4j\build\classes

compile.interops:
Trying to override old definition of task axis-wsdl2java
Trying to override old definition of task axis-admin
Trying to override old definition of task axis-java2wsdl

compile:
    [mkdir] Created dir: C:\APACHE\ws-fx\wss4j\build\work
[axis-wsdl2java] - Unable to find required classes
(javax.activation.DataHandler and javax.mail.internet.MimeMultipart).
Attachment support is disabled.
[axis-wsdl2java] WSDL2Java C:\APACHE\ws-fx\wss4j\interop/../interop/ping.wsdl
     [copy] Copying 2 files to
C:\APACHE\ws-fx\wss4j\build\work\org\apache\ws\axis\oasis\ping
     [copy] Copying 15 files to
C:\APACHE\ws-fx\wss4j\build\work\org\apache\ws\axis\oasis
    [javac] Compiling 20 source files to C:\APACHE\ws-fx\wss4j\build\classes
Trying to override old definition of task axis-wsdl2java
Trying to override old definition of task axis-admin
Trying to override old definition of task axis-java2wsdl

compile:
[axis-wsdl2java] - Unable to find required classes
(javax.activation.DataHandler and javax.mail.internet.MimeMultipart).
Attachment support is disabled.
[axis-wsdl2java] WSDL2Java
C:\APACHE\ws-fx\wss4j\test\secconv\scenarios/../../../test/secconv/scenarios/ping.wsdl
     [copy] Copying 2 files to
C:\APACHE\ws-fx\wss4j\build\work\secconv\scenarios\ping\impl
     [copy] Copying 3 files to
C:\APACHE\ws-fx\wss4j\build\work\secconv\scenarios\ping
    [javac] Compiling 8 source files to C:\APACHE\ws-fx\wss4j\build\classes

compile.tests:
    [javac] Compiling 44 source files to C:\APACHE\ws-fx\wss4j\build\classes
     [copy] Copying 1 file to C:\APACHE\ws-fx\wss4j\build\classes

compile:

unitTests:
    [junit] Running components.PackageTests
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.081 sec
    [junit] Running secconv.components.PackageTests
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 3.635 sec
    [junit] Running wssec.PackageTests
    [junit] Tests run: 23, Failures: 0, Errors: 0, Time elapsed: 7.221 sec

systemTests:

start-functional-test-http-server:
     [echo] Starting http server.

init:
Trying to override old definition of task axis-wsdl2java
Trying to override old definition of task axis-admin
Trying to override old definition of task axis-java2wsdl
Trying to override old definition of task runaxisfunctionaltests
     [echo] -------------------------------------------------------------------
     [echo] -------------- Apache-WS-Security-J v1.0.Beta [2004]
----------------
     [echo] -------------------------------------------------------------------
     [echo] Building with Apache Ant version 1.6.2 compiled on July 16 2004
     [echo] using build file C:\APACHE\ws-fx\wss4j\build.xml
     [echo] Java 1.4.2_05 located at C:\JDK14\jre
     [echo] -------------------------------------------------------------------
     [echo] --- Property values ---
     [echo] 
sun.boot.class.path=C:\JDK14\jre\lib\rt.jar;C:\JDK14\jre\lib\i18n.jar;C:\JDK14\jre\lib\sunrsasign.jar;C:\JDK14\jre\lib\jsse.jar;C:\JDK14\jre\lib
     [echo] classpath.test:
C:\APACHE\ws-fx\wss4j\build\classes;C:\APACHE\ws-fx\wss4j\build\wss4j.jar;C:\APACHE\ws-fx\wss4j\lib\addressing.jar;C:\APACHE\ws-
om3-xercesImpl-2_6_2.jar;C:\APACHE\ws-fx\wss4j\endorsed\dom3-xml-apis-2_6_2.jar;C:\ANT\lib\ant-launcher.jar;C:\XMLSPY2004\XMLSpyInterface.jar;C:\ANT\lib\ant
-starteam.jar;C:\ANT\lib\ant-stylebook.jar;C:\ANT\lib\ant-swing.jar;C:\ANT\lib\ant-trax.jar;C:\ANT\lib\ant-vaj.jar;C:\ANT\lib\ant-weblogic.jar;C:\ANT\lib\an


interopTests:
     [echo] Running system tests - BEGIN...
     [copy] Copying 24 files to C:\APACHE\ws-fx\wss4j\build\keys
     [copy] Copying 1 file to C:\APACHE\ws-fx\wss4j\build\interop
     [java] <?xml version="1.0" encoding="UTF-8"?>
     [java] <Admin>Done processing</Admin>
     [java] Processing file
C:\APACHE\ws-fx\wss4j\build\work\org\apache\ws\axis\oasis\ping\deploy.wsdd
     [java] Processing file
C:\APACHE\ws-fx\wss4j\build\work\secconv\scenarios\ping\impl\deploy.wsdd
     [java] <Admin>Done processing</Admin>
     [java] <Admin>Done processing</Admin>
    [junit] Running interop.PackageTests
     [java] Number of results: 1
     [java] Chris
     [java] Number of results: 1
     [java] Chris
     [java] Number of results: 1
     [java] Chris
     [java] Chris
     [java] Number of results: 1
     [java] CN=WSSTest1, O=Microsoft, L=Redmond, ST=WA, C=US
     [java] Number of results: 1
     [java] CN=WSSTest1, O=Microsoft, L=Redmond, ST=WA, C=US
     [java] Number of results: 1
     [java] CN=WSSTest1, O=Microsoft, L=Redmond, ST=WA, C=US
     [java] CN=WSSTest1, O=Microsoft, L=Redmond, ST=WA, C=US
     [java] Number of results: 1
     [java] CN=WSSTest1, O=Microsoft, L=Redmond, ST=WA, C=US
     [java] Number of results: 1
     [java] CN=WSSTest1, O=Microsoft, L=Redmond, ST=WA, C=US
     [java] Number of results: 1
     [java] Number of results: 1
     [java] CN=dims
     [java] Number of results: 1
     [java] CN=dims
    [junit] Tests run: 13, Failures: 0, Errors: 0, Time elapsed: 16.984 sec
     [java] <?xml version="1.0" encoding="UTF-8"?>
     [java] <Admin>Done processing</Admin>
    [junit] Running interop.TestJAXRPCHandler
     [java] Number of results: 1
     [java] CN=WSSTest1, O=Microsoft, L=Redmond, ST=WA, C=US
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 5.538 sec
     [java] Processing file
C:\APACHE\ws-fx\wss4j\build\work\org\apache\ws\axis\oasis\ping\undeploy.wsdd
     [java] Processing file
C:\APACHE\ws-fx\wss4j\build\work\secconv\scenarios\ping\impl\undeploy.wsdd
     [java] <Admin>Done processing</Admin>
     [java] <Admin>Done processing</Admin>
     [echo] Running system tests - END...

stop-functional-test-http-server:
     [echo] Stopping http server.
     [java] <Admin> quitting.</Admin>
[runaxisfunctionaltests] RunAxisFunctionalTestsTask.callStop
successfully sent quit message.

test:

BUILD SUCCESSFUL
Total time: 1 minute 17 seconds
     [java] Java Result: 1
C:\APACHE\ws-fx\wss4j>



On Fri, 29 Oct 2004 22:07:05 +0000, Ben Anderson
<[EMAIL PROTECTED]> wrote:
> is wss4j even usable at this point?  I downloaded the source
> yesterday, but it wouldn't build.
> 
> On Fri, 29 Oct 2004 13:04:34 -0400, Greg Michalopoulos
> <[EMAIL PROTECTED]> wrote:
> > Check out wss4j from Apache (http://ws.apache.org/ws-fx/wss4j/).  This is an
> > implementation of the WS-Security spec.  Documentation is a little weak at
> > this point in time, but I was about to use the UsernameToken in the SOAP
> > header and a password callback class to authenticate a user making a
> > request.  The spec outlines ways to encrypt and sign SOAP messages as well.
> >
> > Greg
> >
> >
> >
> > -----Original Message-----
> > From: Wagle, Shriniwas [mailto:[EMAIL PROTECTED]
> > Sent: Friday, October 29, 2004 10:23 AM
> > To: [EMAIL PROTECTED]
> > Subject: RE: adding security to webservices in axis
> >
> > We implemented security at the transport level using SSL with
> > client-authentication.
> > The good thing about this is the web services code does not have to deal
> > with security related aspects at all.  It works well, and in a predictable
> > manner.
> > We had a binary level of security - either a client can invoke the web
> > service or not.  We didn't have tiered security or diff levels of
> > authorization.  Having to deal with that will complicate this solution.
> >
> > The negative aspect is the overhead in managing all the certs and keys
> > floating around and ensuring the security policy is well understood and
> > adhered to.
> >
> > The latest JAX RPC comes with message level security.  You might want to
> > explore that but I believe the standardization in that area is not yet
> > complete.  So not sure about the level of interoperability needs on your
> > project and the impact of using something non-standard.
> >
> > -----Original Message-----
> > From: Marco Mistroni [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, October 28, 2004 4:43 AM
> > To: [EMAIL PROTECTED]
> > Subject: adding security to webservices in axis
> >
> > Hello all,
> >         I have a question for axis mailing list..
> > I would like to add security to my axis webservice, and I am looking For
> > tips..
> > What I want to avoid is to going and modify the web.xml in tomcat for adding
> > Users....
> > I am sure that there is at least someone on this list which came across This
> > problem...
> >
> > Any hints will be appreciated...
> >
> > Thanks in advance and regards
> >         marco
> >
> >
> 


-- 
Davanum Srinivas - http://webservices.apache.org/~dims/

Reply via email to