From kimberly77@example.net Tue Mar 01 13:33:55 2005 Return-Path: <kimberly77@example.net> Delivered-To: kimberly77@example.net Received: (qmail 6970 invoked from network); 1 Mar 2005 13:33:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Mar 2005 13:33:54 -0000 Received: (qmail 68553 invoked by uid 500); 1 Mar 2005 13:33:54 -0000 Delivered-To: kimberly77@example.net Received: (qmail 68494 invoked by uid 500); 1 Mar 2005 13:33:53 -0000 Mailing-List: contact kimberly77@example.net; run by ezmlm Precedence: bulk list-help: <mailto:kimberly77@example.net> list-unsubscribe: <mailto:kimberly77@example.net> List-Post: <mailto:kimberly77@example.net> Delivered-To: mailing list kimberly77@example.net Received: (qmail 68478 invoked by uid 99); 1 Mar 2005 13:33:53 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=HTML_50_60,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from harley.eseo.fr (HELO harley.eseo.fr) (83.161.120.155) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 01 Mar 2005 05:33:52 -0800 Received: from firewall (firewall.eseo.fr [83.161.120.155]) by harley.eseo.fr (Postfix) with SMTP id 7F9ED17B9 for <kimberly77@example.net>; Tue, 1 Mar 2005 14:33:49 +0100 (CET) Reply-To: <kimberly77@example.net> From: "Daniela CLARO" <kimberly77@example.net> To: <kimberly77@example.net> Subject: Newbie question about ws-security Date: Tue, 1 Mar 2005 14:33:46 +0100 Organization: ESEO MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0059_01C51E6B.ACF3F410" X-Mailer: Microsoft Office Outlook, Build 11.0.6353 x-mimeole: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcUeY0shsNrPFjmXSFOcwc46ES+hyg== X-ESAFE-STATUS:Mail clean X-ESAFE-DETAILS: Clean Message-Id: <kimberly77@example.net> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. ------=_NextPart_000_0059_01C51E6B.ACF3F410 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Hi, I want to know if I can download any package of wss4J that I can create a simple example. I am trying to find some package, some *.jar to download and try some implementation. Simple one, only to know how it works, or not. But I saw that it is under development, so i want to know if it is possible or not to download a package like that? Thank you Daniela ------=_NextPart_000_0059_01C51E6B.ACF3F410 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; charset=3Dus-asci= i"> <META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version 6.5.7036.0= "> <TITLE>Newbie question about ws-security</TITLE> </HEAD> <BODY> <!-- Converted from text/rtf format --> <P><FONT SIZE=3D2 FACE=3D"Arial">Hi, </FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">&nbsp;I want to know if I can download = any package of wss4J that I can create a simple example. I am trying to f= ind some package, some *.jar to download and try some implementation. Sim= ple one, only to know how it works, or not. </FONT></P> <P><FONT SIZE=3D2 FACE=3D"Arial">But I saw that it is under development, = so i want to know if it is possible or not to download a package like tha= t? </FONT> </P> <P><FONT SIZE=3D2 FACE=3D"Arial">Thank you</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">Daniela</FONT> </P> </BODY> </HTML> ------=_NextPart_000_0059_01C51E6B.ACF3F410-- From kimberly77@example.net Tue Mar 01 14:05:42 2005 Return-Path: <kimberly77@example.net> Delivered-To: kimberly77@example.net Received: (qmail 26859 invoked from network); 1 Mar 2005 14:05:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Mar 2005 14:05:42 -0000 Received: (qmail 25133 invoked by uid 500); 1 Mar 2005 14:05:41 -0000 Delivered-To: kimberly77@example.net Received: (qmail 25095 invoked by uid 500); 1 Mar 2005 14:05:40 -0000 Mailing-List: contact kimberly77@example.net; run by ezmlm Precedence: bulk list-help: <mailto:kimberly77@example.net> list-unsubscribe: <mailto:kimberly77@example.net> List-Post: <mailto:kimberly77@example.net> Delivered-To: mailing list kimberly77@example.net Received: (qmail 25081 invoked by uid 99); 1 Mar 2005 14:05:40 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from Unknown (HELO correo.bee.cl) (83.161.120.155) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 01 Mar 2005 06:05:39 -0800 Received: (qmail 6278 invoked by uid 204); 1 Mar 2005 11:05:25 -0300 Received: from kimberly77@example.net by zangano by uid 201 with qmail-scanner-1.16 (. spamassassin: 2.63. Clear:. Processed in 0.05983 secs); 01 Mar 2005 14:05:25 -0000 Received: from unknown (HELO NBKJMS) (kimberly77@example.net@83.161.120.155) by 83.161.120.155 with RC4-MD5 encrypted SMTP; 1 Mar 2005 11:05:25 -0300 From: "Jose M. Selman" <kimberly77@example.net> To: <kimberly77@example.net> Cc: <kimberly77@example.net> Subject: RE: Newbie question about ws-security Date: Tue, 1 Mar 2005 11:07:55 -0400 Message-ID: <kimberly77@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.6626 In-Reply-To: <kimberly77@example.net> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Importance: Normal X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Daniela: You can check out the source code from the cvs repository and create a a distribution. If you have maven installed it should be as easy as executing the to following commands: % maven scm:checkout-project -Dmaven.scm.method=3Dcvs -Dmaven.scm.cvs.module=3Dws-fx/wss4j/ -Dmaven.scm.cvs.root=3D:pserver:kimberly77@example.net:/home/cvspublic -Dmaven.scm.checkout.dir=3D. % maven dist The first command will download the source code from the CVS repository. = The second command (goal) will compile and build the distribution jar file = you are looking for. If you dont have maven installed go to http://maven.apache.org for downloading and installation instructions. Cheers,=20 Jos=E9 M. Selman -----Mensaje original----- De: Daniela CLARO [mailto:kimberly77@example.net]=20 Enviado el: Martes, 01 de Marzo de 2005 09:34 a.m. Para: kimberly77@example.net Asunto: Newbie question about ws-security Hi,=20 =A0I want to know if I can download any package of wss4J that I can = create a simple example. I am trying to find some package, some *.jar to download = and try some implementation. Simple one, only to know how it works, or not.=20 But I saw that it is under development, so i want to know if it is = possible or not to download a package like that?=20 Thank you=20 Daniela=20 From kimberly77@example.net Tue Mar 01 14:29:54 2005 Return-Path: <kimberly77@example.net> Delivered-To: kimberly77@example.net Received: (qmail 58494 invoked from network); 1 Mar 2005 14:29:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Mar 2005 14:29:54 -0000 Received: (qmail 93218 invoked by uid 500); 1 Mar 2005 14:29:53 -0000 Delivered-To: kimberly77@example.net Received: (qmail 93178 invoked by uid 500); 1 Mar 2005 14:29:53 -0000 Mailing-List: contact kimberly77@example.net; run by ezmlm Precedence: bulk list-help: <mailto:kimberly77@example.net> list-unsubscribe: <mailto:kimberly77@example.net> List-Post: <mailto:kimberly77@example.net> Delivered-To: mailing list kimberly77@example.net Received: (qmail 93162 invoked by uid 99); 1 Mar 2005 14:29:53 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 01 Mar 2005 06:29:51 -0800 Received: from ajax.apache.org (ajax.apache.org [83.161.120.155]) by ajax.apache.org (8.12.11/8.12.11) with ESMTP id j21ETmYn031455 for <kimberly77@example.net>; Tue, 1 Mar 2005 15:29:48 +0100 Message-ID: <kimberly77@example.net> Date: Tue, 1 Mar 2005 15:29:48 +0100 (CET) From: "Anshuk (JIRA)" <kimberly77@example.net> To: kimberly77@example.net Subject: [jira] Created: (WSFX-44) Implement wss4j (UserName Token) in websphere. Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Implement wss4j (UserName Token) in websphere. ---------------------------------------------- Key: WSFX-44 URL: http://issues.apache.org/jira/browse/WSFX-44 Project: WSFX Type: Bug Components: WSS4J Reporter: Anshuk I have a simple web service built in websphere v5.1. I have downloaded the wss4j.jar and included that in my project,so that I am able to access class files of wss4j. My objective is to secure the web service with username/password using wss4j apis in websphere???? Is it possible?If yes,then how?? Please let me know and give me the code as soon as possible. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira From kimberly77@example.net Tue Mar 01 15:02:58 2005 Return-Path: <kimberly77@example.net> Delivered-To: kimberly77@example.net Received: (qmail 78000 invoked from network); 1 Mar 2005 15:02:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Mar 2005 15:02:57 -0000 Received: (qmail 70216 invoked by uid 500); 1 Mar 2005 15:02:56 -0000 Delivered-To: kimberly77@example.net Received: (qmail 70150 invoked by uid 500); 1 Mar 2005 15:02:56 -0000 Mailing-List: contact kimberly77@example.net; run by ezmlm Precedence: bulk list-help: <mailto:kimberly77@example.net> list-unsubscribe: <mailto:kimberly77@example.net> List-Post: <mailto:kimberly77@example.net> Delivered-To: mailing list kimberly77@example.net Received: (qmail 70108 invoked by uid 99); 1 Mar 2005 15:02:56 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 01 Mar 2005 07:02:56 -0800 Received: from ajax.apache.org (ajax.apache.org [83.161.120.155]) by ajax.apache.org (8.12.11/8.12.11) with ESMTP id j21F2rYb000533 for <kimberly77@example.net>; Tue, 1 Mar 2005 16:02:53 +0100 Message-ID: <kimberly77@example.net> Date: Tue, 1 Mar 2005 16:02:53 +0100 (CET) From: "Davanum Srinivas (JIRA)" <kimberly77@example.net> To: kimberly77@example.net Subject: [jira] Resolved: (WSFX-44) Implement wss4j (UserName Token) in websphere. In-Reply-To: <kimberly77@example.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/WSFX-44?page=history ] Davanum Srinivas resolved WSFX-44: ---------------------------------- Resolution: Fixed Here's how to bootstrap a distribution for your use: http://wiki.apache.org/ws/FrontPage/WsFx > Implement wss4j (UserName Token) in websphere. > ---------------------------------------------- > > Key: WSFX-44 > URL: http://issues.apache.org/jira/browse/WSFX-44 > Project: WSFX > Type: Bug > Components: WSS4J > Reporter: Anshuk > > I have a simple web service built in websphere v5.1. > I have downloaded the wss4j.jar and included that in my project,so that I am able to access class files of wss4j. > My objective is to secure the web service with username/password using wss4j apis in websphere???? > Is it possible?If yes,then how?? > Please let me know and give me the code as soon as possible. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira From kimberly77@example.net Tue Mar 01 17:02:53 2005 Return-Path: <kimberly77@example.net> Delivered-To: kimberly77@example.net Received: (qmail 48169 invoked from network); 1 Mar 2005 17:02:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Mar 2005 17:02:53 -0000 Received: (qmail 51087 invoked by uid 500); 1 Mar 2005 17:02:52 -0000 Delivered-To: kimberly77@example.net Received: (qmail 51021 invoked by uid 500); 1 Mar 2005 17:02:51 -0000 Mailing-List: contact kimberly77@example.net; run by ezmlm Precedence: bulk list-help: <mailto:kimberly77@example.net> list-unsubscribe: <mailto:kimberly77@example.net> List-Post: <mailto:kimberly77@example.net> Delivered-To: mailing list kimberly77@example.net Received: (qmail 50940 invoked by uid 500); 1 Mar 2005 17:02:51 -0000 Delivered-To: kimberly77@example.net Received: (qmail 50829 invoked by uid 99); 1 Mar 2005 17:02:50 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 01 Mar 2005 09:02:49 -0800 Received: (qmail 48128 invoked by uid 1991); 1 Mar 2005 17:02:48 -0000 Date: 1 Mar 2005 17:02:48 -0000 Message-ID: <kimberly77@example.net> From: kimberly77@example.net To: kimberly77@example.net Subject: cvs commit: ws-fx/sandesha/test/org/apache/sandesha/storage TCClientStorageManager.java X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N chamikara 2005/03/01 09:02:48 Modified: sandesha/test/org/apache/sandesha/storage TCClientStorageManager.java Log: The test case was completed to test the functionalities of Client Storage Manager. Revision Changes Path 1.2 +113 -166 ws-fx/sandesha/test/org/apache/sandesha/storage/TCClientStorageManager.java Index: TCClientStorageManager.java =================================================================== RCS file: /home/cvs/ws-fx/sandesha/test/org/apache/sandesha/storage/TCClientStorageManager.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- TCClientStorageManager.java 28 Feb 2005 14:49:13 -0000 1.1 +++ TCClientStorageManager.java 1 Mar 2005 17:02:48 -0000 1.2 @@ -31,142 +31,112 @@ * @author Jaliya Ekanayaka */ public class TCClientStorageManager extends TestCase { - + + //tests functions related to outgoing messages. public void testOutGoingMessages() throws QueueException { - SandeshaQueue sq = SandeshaQueue.getInstance(); - ClientStorageManager csm = new ClientStorageManager(); - - long l = csm.getNextMessageNumber(Constants.CLIENT_DEFAULD_SEQUENCE_ID); - assertEquals(l, 1); - + + //setup and add 4 messages + long nextMsgNo = csm.getNextMessageNumber("seqid1"); + assertEquals(nextMsgNo, 1); RMMessageContext msg = new RMMessageContext(); msg.setMessageID("rmsg1"); - msg.setSequenceID(Constants.CLIENT_DEFAULD_SEQUENCE_ID); + msg.setSequenceID("seqid1"); + msg.setMsgNumber(nextMsgNo); - sq.createNewOutgoingSequence(Constants.CLIENT_DEFAULD_SEQUENCE_ID); - sq.addMessageToOutgoingSequence(Constants.CLIENT_DEFAULD_SEQUENCE_ID, - msg); - - l = csm.getNextMessageNumber(Constants.CLIENT_DEFAULD_SEQUENCE_ID); - assertEquals(l, 2); + sq.createNewOutgoingSequence("seqid1"); + sq.addMessageToOutgoingSequence("seqid1",msg); + nextMsgNo = csm.getNextMessageNumber("seqid1"); + assertEquals(nextMsgNo, 2); msg = new RMMessageContext(); msg.setMessageID("rmsg2"); - msg.setSequenceID(Constants.CLIENT_DEFAULD_SEQUENCE_ID); - - sq.addMessageToOutgoingSequence(Constants.CLIENT_DEFAULD_SEQUENCE_ID, - msg); + msg.setSequenceID("seqid1"); + msg.setMsgNumber(nextMsgNo); + sq.addMessageToOutgoingSequence("seqid1",msg); - l = csm.getNextMessageNumber(Constants.CLIENT_DEFAULD_SEQUENCE_ID); - assertEquals(l, 3); + nextMsgNo = csm.getNextMessageNumber("seqid1"); + assertEquals(nextMsgNo, 3); msg = new RMMessageContext(); msg.setMessageID("rmsg3"); - msg.setSequenceID(Constants.CLIENT_DEFAULD_SEQUENCE_ID); - - sq.addMessageToOutgoingSequence(Constants.CLIENT_DEFAULD_SEQUENCE_ID, - msg); - - l = csm.getNextMessageNumber(Constants.CLIENT_DEFAULD_SEQUENCE_ID); - assertEquals(l, 4); + msg.setSequenceID("seqid1"); + msg.setMsgNumber(nextMsgNo); + sq.addMessageToOutgoingSequence("seqid1",msg); + nextMsgNo = csm.getNextMessageNumber("seqid1"); + assertEquals(nextMsgNo, 4); + msg = new RMMessageContext(); msg.setMessageID("rmsg4"); - msg.setSequenceID(Constants.CLIENT_DEFAULD_SEQUENCE_ID); - - sq.addMessageToOutgoingSequence(Constants.CLIENT_DEFAULD_SEQUENCE_ID, - msg); - - //csm. - - //sq.displayOutgoingMap(); - - csm.setTemporaryOutSequence(Constants.CLIENT_DEFAULD_SEQUENCE_ID, - "temp1"); + msg.setSequenceID("seqid1"); + msg.setMsgNumber(nextMsgNo); + sq.addMessageToOutgoingSequence("seqid1",msg); + csm.setTemporaryOutSequence("seqid1","temp1"); RMMessageContext createSeqReq1 = new RMMessageContext(); - createSeqReq1 - .setMessageType(Constants.MSG_TYPE_CREATE_SEQUENCE_REQUEST); + createSeqReq1.setMessageType(Constants.MSG_TYPE_CREATE_SEQUENCE_REQUEST); createSeqReq1.setMessageID("temp1"); - - //RMMessageContext createSeqReq2 = new RMMessageContext(); - //createSeqReq2.setMessageType(Constants.MSG_TYPE_CREATE_SEQUENCE_REQUEST); - //createSeqReq2.setMessageID("temp2"); - - //sq.diaplayPriorityQueue(); - //csm.addCreateSequenceRequest(createSeqReq1); - //sq.diaplayPriorityQueue(); csm.addCreateSequenceRequest(createSeqReq1); - //sq.displayPriorityQueue(); RMMessageContext msg1; - ClientStorageManager ssm1 = new ClientStorageManager(); + ClientStorageManager csm1 = new ClientStorageManager(); - //sq.displayPriorityQueue(); - - //msg1 = ssm1.getNextMessageToSend(); - //assertEquals(msg1.getMessageID(),"temp1"); - - msg1 = ssm1.getNextMessageToSend(); + msg1 = csm1.getNextMessageToSend(); assertEquals(msg1.getMessageID(), "temp1"); - //sq.displayPriorityQueue(); - msg1 = ssm1.getNextMessageToSend(); - assertEquals(msg1, null); - msg1 = ssm1.getNextMessageToSend(); + msg1 = csm1.getNextMessageToSend(); + assertEquals(msg1, null); + msg1 = csm1.getNextMessageToSend(); assertEquals(msg1, null); RMMessageContext ack1 = new RMMessageContext(); ack1.setMessageID("msgack1"); csm.addAcknowledgement(ack1); - msg1 = ssm1.getNextMessageToSend(); + msg1 = csm1.getNextMessageToSend(); assertEquals(msg1.getMessageID(), "msgack1"); - msg1 = ssm1.getNextMessageToSend(); + msg1 = csm1.getNextMessageToSend(); assertEquals(msg1, null); RMMessageContext createSeq = new RMMessageContext(); createSeq.setMessageID("createSeqid1"); csm.addCreateSequenceResponse(createSeq); - + sq.displayPriorityQueue(); - csm.setApprovedOutSequence("temp1", "approved1"); - sq.displayPriorityQueue(); - msg1 = ssm1.getNextMessageToSend(); + msg1 = csm1.getNextMessageToSend(); assertEquals(msg1.getMessageID(), "createSeqid1"); - msg1 = ssm1.getNextMessageToSend(); - assertEquals(msg1.getSequenceID(), Constants.CLIENT_DEFAULD_SEQUENCE_ID); - assertEquals(msg1.getMessageID(), "rmsg2"); - - msg1 = ssm1.getNextMessageToSend(); - assertEquals(msg1.getSequenceID(), Constants.CLIENT_DEFAULD_SEQUENCE_ID); - assertEquals(msg1.getMessageID(), "rmsg4"); - - msg1 = ssm1.getNextMessageToSend(); - assertEquals(msg1.getSequenceID(), Constants.CLIENT_DEFAULD_SEQUENCE_ID); - assertEquals(msg1.getMessageID(), "rmsg1"); + msg1 = csm1.getNextMessageToSend(); + assertEquals(msg1.getSequenceID(), "approved1"); - msg1 = ssm1.getNextMessageToSend(); - assertEquals(msg1.getSequenceID(), Constants.CLIENT_DEFAULD_SEQUENCE_ID); - assertEquals(msg1.getMessageID(), "rmsg3"); + msg1 = csm1.getNextMessageToSend(); + assertEquals(msg1.getSequenceID(), "approved1"); + + msg1 = csm1.getNextMessageToSend(); + assertEquals(msg1.getSequenceID(), "approved1"); - msg1 = ssm1.getNextMessageToSend(); + msg1 = csm1.getNextMessageToSend(); + assertEquals(msg1.getSequenceID(), "approved1"); + + msg1 = csm1.getNextMessageToSend(); assertEquals(msg1, null); Date d1 = new Date(); long l1 = d1.getTime(); - for (int i = 0; i < 2000000000; i++) { - } + try{ + Thread.sleep(5000); + }catch(InterruptedException e){ + e.printStackTrace(); + } Date d2 = new Date(); long l2 = d2.getTime(); @@ -176,40 +146,28 @@ return; } - //msg1 = ssm1.getNextMessageToSend(); - //assertEquals(msg1.getMessageID(),"temp2"); - - //ssm1.setApprovedOutSequence("temp2","approved2"); - sq.displayPriorityQueue(); - msg1 = ssm1.getNextMessageToSend(); - assertEquals(msg1.getSequenceID(), Constants.CLIENT_DEFAULD_SEQUENCE_ID); - assertEquals(msg1.getMessageID(), "rmsg2"); - - msg1 = ssm1.getNextMessageToSend(); - assertEquals(msg1.getSequenceID(), Constants.CLIENT_DEFAULD_SEQUENCE_ID); - assertEquals(msg1.getMessageID(), "rmsg4"); - - msg1 = ssm1.getNextMessageToSend(); - assertEquals(msg1.getSequenceID(), Constants.CLIENT_DEFAULD_SEQUENCE_ID); - assertEquals(msg1.getMessageID(), "rmsg1"); - - msg1 = ssm1.getNextMessageToSend(); - assertEquals(msg1.getSequenceID(), Constants.CLIENT_DEFAULD_SEQUENCE_ID); - assertEquals(msg1.getMessageID(), "rmsg3"); - - msg1 = ssm1.getNextMessageToSend(); - //System.out.println(msg1.getMessageID()); + msg1 = csm1.getNextMessageToSend(); + assertEquals(msg1.getSequenceID(), "approved1"); + msg1 = csm1.getNextMessageToSend(); + assertEquals(msg1.getSequenceID(), "approved1"); + msg1 = csm1.getNextMessageToSend(); + assertEquals(msg1.getSequenceID(), "approved1"); + msg1 = csm1.getNextMessageToSend(); + assertEquals(msg1.getSequenceID(), "approved1"); + msg1 = csm1.getNextMessageToSend(); assertEquals(msg1, null); - //sq.displayResponseMap(); d1 = new Date(); l1 = d1.getTime(); - for (int i = 0; i < 2140000000; i++) { - } + try{ + Thread.sleep(5000); + }catch(InterruptedException e){ + e.printStackTrace(); + } d2 = new Date(); l2 = d2.getTime(); @@ -220,36 +178,31 @@ } //Old messages must come again + msg1 = csm1.getNextMessageToSend(); + assertEquals(msg1.getSequenceID(), "approved1"); - msg1 = ssm1.getNextMessageToSend(); - //System.out.println(msg1.getMessageID()); - assertEquals(msg1.getSequenceID(), Constants.CLIENT_DEFAULD_SEQUENCE_ID); - assertEquals(msg1.getMessageID(), "rmsg2"); - - msg1 = ssm1.getNextMessageToSend(); - assertEquals(msg1.getSequenceID(), Constants.CLIENT_DEFAULD_SEQUENCE_ID); - assertEquals(msg1.getMessageID(), "rmsg4"); - - msg1 = ssm1.getNextMessageToSend(); - assertEquals(msg1.getSequenceID(), Constants.CLIENT_DEFAULD_SEQUENCE_ID); - assertEquals(msg1.getMessageID(), "rmsg1"); + msg1 = csm1.getNextMessageToSend(); + assertEquals(msg1.getSequenceID(), "approved1"); - msg1 = ssm1.getNextMessageToSend(); - assertEquals(msg1.getSequenceID(), Constants.CLIENT_DEFAULD_SEQUENCE_ID); - assertEquals(msg1.getMessageID(), "rmsg3"); + msg1 = csm1.getNextMessageToSend(); + assertEquals(msg1.getSequenceID(), "approved1"); + + msg1 = csm1.getNextMessageToSend(); + assertEquals(msg1.getSequenceID(), "approved1"); - //sq.displayResponseMap(); - ssm1.setAcknowledged(Constants.CLIENT_DEFAULD_SEQUENCE_ID, 1); - ssm1.setAcknowledged(Constants.CLIENT_DEFAULD_SEQUENCE_ID, 2); - ssm1.setAcknowledged(Constants.CLIENT_DEFAULD_SEQUENCE_ID, 4); + csm1.setAcknowledged("approved1", 1); + csm1.setAcknowledged("approved1", 2); + csm1.setAcknowledged("approved1", 4); - //sq.displayResponseMap(); d1 = new Date(); l1 = d1.getTime(); - for (int i = 0; i < 2140000000; i++) { - } + try{ + Thread.sleep(5000); + }catch(InterruptedException e){ + e.printStackTrace(); + } d2 = new Date(); l2 = d2.getTime(); @@ -259,46 +212,40 @@ return; } - msg1 = ssm1.getNextMessageToSend(); - assertEquals(msg1.getSequenceID(), Constants.CLIENT_DEFAULD_SEQUENCE_ID); + msg1 = csm1.getNextMessageToSend(); + assertEquals(msg1.getSequenceID(), "approved1"); assertEquals(msg1.getMessageID(), "rmsg3"); - msg1 = ssm1.getNextMessageToSend(); + msg1 = csm1.getNextMessageToSend(); assertEquals(msg1, null); } - /* - * (non-Javadoc) - * - * @see junit.framework.TestCase#setUp() - */ + protected void setUp() throws Exception { - // TODO Auto-generated method stub - /* - * super.setUp(); - * - * SandeshaQueue sq = SandeshaQueue.getInstance(); - * - * sq.clear(true); - * - * sq.createNewIncomingSequence("test"); - * - * RMMessageContext msg1 = new RMMessageContext(); - * msg1.setMessageID("msgid1"); msg1.setSequenceID("test"); - * - * RMMessageContext msg2 = new RMMessageContext(); - * msg2.setMessageID("msgid2"); msg2.setSequenceID("test"); - * - * RMMessageContext msg3 = new RMMessageContext(); - * msg3.setMessageID("msgid3"); msg3.setSequenceID("test"); - * - * RMMessageContext msg4 = new RMMessageContext(); - * msg4.setMessageID("msgid4"); msg4.setSequenceID("test"); - * - * sq.addMessageToIncomingSequence("test", new Long(1), msg1); - * sq.addMessageToIncomingSequence("test", new Long(2), msg2); - * sq.addMessageToIncomingSequence("test", new Long(3), msg3); - * sq.addMessageToIncomingSequence("test", new Long(4), msg4); - */ + super.setUp(); + + SandeshaQueue sq = SandeshaQueue.getInstance(); + + sq.clear(true); + + sq.createNewIncomingSequence("test"); + + RMMessageContext msg1 = new RMMessageContext(); + msg1.setMessageID("msgid1"); msg1.setSequenceID("test"); + + RMMessageContext msg2 = new RMMessageContext(); + msg2.setMessageID("msgid2"); msg2.setSequenceID("test"); + + RMMessageContext msg3 = new RMMessageContext(); + msg3.setMessageID("msgid3"); msg3.setSequenceID("test"); + + RMMessageContext msg4 = new RMMessageContext(); + msg4.setMessageID("msgid4"); msg4.setSequenceID("test"); + + sq.addMessageToIncomingSequence("test", new Long(1), msg1); + sq.addMessageToIncomingSequence("test", new Long(2), msg2); + sq.addMessageToIncomingSequence("test", new Long(3), msg3); + sq.addMessageToIncomingSequence("test", new Long(4), msg4); + } } \ No newline at end of file From kimberly77@example.net Wed Mar 02 03:16:37 2005 Return-Path: <kimberly77@example.net> Delivered-To: kimberly77@example.net Received: (qmail 86671 invoked from network); 2 Mar 2005 03:16:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 2 Mar 2005 03:16:36 -0000 Received: (qmail 85282 invoked by uid 500); 2 Mar 2005 03:16:35 -0000 Delivered-To: kimberly77@example.net Received: (qmail 85233 invoked by uid 500); 2 Mar 2005 03:16:34 -0000 Mailing-List: contact kimberly77@example.net; run by ezmlm Precedence: bulk list-help: <mailto:kimberly77@example.net> list-unsubscribe: <mailto:kimberly77@example.net> List-Post: <mailto:kimberly77@example.net> Delivered-To: mailing list kimberly77@example.net Received: (qmail 85219 invoked by uid 500); 2 Mar 2005 03:16:34 -0000 Delivered-To: kimberly77@example.net Received: (qmail 85216 invoked by uid 99); 2 Mar 2005 03:16:34 -0000 X-ASF-Spam-Status: No, hits=-9.2 required=10.0 tests=ALL_TRUSTED,NORMAL_HTTP_TO_IP,NO_REAL_NAME,WEIRD_PORT X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 01 Mar 2005 19:16:32 -0800 Received: (qmail 86630 invoked by uid 1780); 2 Mar 2005 03:16:31 -0000 Date: 2 Mar 2005 03:16:31 -0000 Message-ID: <kimberly77@example.net> From: kimberly77@example.net To: kimberly77@example.net Subject: cvs commit: ws-fx/sandesha/src/org/apache/sandesha/ws/rm/handlers RMServerRequestHandler.java X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N jaliya 2005/03/01 19:16:31 Modified: sandesha/config sandesha.properties server-config.wsdd sandesha/interop DeployClient.bat DeployService.bat RunSimpleAxisServer.bat sandesha/interop/org/apache/sandesha/samples/interop AsyncPingClient.java EchoClient.java SyncPingClient.java sandesha maven.xml project.xml sandesha/src/org/apache/sandesha EnvelopeCreator.java RMInitiator.java sandesha/src/org/apache/sandesha/client RMSender.java sandesha/src/org/apache/sandesha/server/msgprocessors CompositeProcessor.java sandesha/src/org/apache/sandesha/storage/queue OutgoingSequence.java SandeshaQueue.java sandesha/src/org/apache/sandesha/util PropertyLoader.java RMMessageCreator.java sandesha/src/org/apache/sandesha/ws/rm/handlers RMServerRequestHandler.java Removed: sandesha build.xml Log: Updates for the interop samples Revision Changes Path 1.2 +2 -2 ws-fx/sandesha/config/sandesha.properties Index: sandesha.properties =================================================================== RCS file: /home/cvs/ws-fx/sandesha/config/sandesha.properties,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- sandesha.properties 28 Feb 2005 10:17:32 -0000 1.1 +++ sandesha.properties 2 Mar 2005 03:16:30 -0000 1.2 @@ -1,2 +1,2 @@ -CLIENT_LISTENER_PORT = 8080 -SIMPLE_AXIS_SERVER_PORT = 9090 +CLIENT_LISTENER_PORT = 9090 +SIMPLE_AXIS_SERVER_PORT = 8080 1.2 +57 -16 ws-fx/sandesha/config/server-config.wsdd Index: server-config.wsdd =================================================================== RCS file: /home/cvs/ws-fx/sandesha/config/server-config.wsdd,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- server-config.wsdd 28 Feb 2005 15:14:16 -0000 1.1 +++ server-config.wsdd 2 Mar 2005 03:16:30 -0000 1.2 @@ -1,16 +1,57 @@ -<deployment xmlns="http://xml.apache.org/axis/wsdd/" - xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"> - - <service name="RMService" provider="Handler"> - <requestFlow> - <handler type="java:org.apache.sandesha.ws.rm.handlers.RMServerRequestHandler"></handler> - <handler type="java:org.apache.axis.message.addressing.handler.AddressingHandler"></handler> - </requestFlow> - - <parameter name="handlerClass" value="org.apache.sandesha.ws.rm.providers.RMProvider"/> - <parameter name="className" value="org.apache.sandesha.client.RMService"/> - <parameter name="allowedMethods" value="*"/> - <parameter name="scope" value="request"/> - </service> - -</deployment> \ No newline at end of file +<?xml version="1.0" encoding="UTF-8"?> +<deployment xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"> + <globalConfiguration> + <parameter name="adminPassword" value="admin"/> + <parameter name="disablePrettyXML" value="true"/> + <parameter name="attachments.implementation" value="org.apache.axis.attachments.AttachmentsImpl"/> + <parameter name="sendXsiTypes" value="true"/> + <parameter name="sendMultiRefs" value="true"/> + <parameter name="sendXMLDeclaration" value="true"/> + <requestFlow> + <handler type="java:org.apache.axis.handlers.JWSHandler"> + <parameter name="scope" value="session"/> + </handler> + <handler type="java:org.apache.axis.handlers.JWSHandler"> + <parameter name="scope" value="request"/> + <parameter name="extension" value=".jwr"/> + </handler> + </requestFlow> + </globalConfiguration> + <handler name="LocalResponder" type="java:org.apache.axis.transport.local.LocalResponder"/> + <handler name="URLMapper" type="java:org.apache.axis.handlers.http.URLMapper"/> + <handler name="Authenticate" type="java:org.apache.axis.handlers.SimpleAuthenticationHandler"/> + <service name="AdminService" provider="java:MSG"> + <parameter name="allowedMethods" value="AdminService"/> + <parameter name="enableRemoteAdmin" value="false"/> + <parameter name="className" value="org.apache.axis.utils.Admin"/> + <namespace>http://xml.apache.org/axis/wsdd/</namespace> + </service> + <service name="Version" provider="java:RPC"> + <parameter name="allowedMethods" value="getVersion"/> + <parameter name="className" value="org.apache.axis.Version"/> + </service> + <service name="RMInteropService" provider="Handler"> + <requestFlow> + <handler type="java:org.apache.sandesha.ws.rm.handlers.RMServerRequestHandler"/> + <handler type="java:org.apache.axis.message.addressing.handler.AddressingHandler"/> + </requestFlow> + <parameter name="allowedMethods" value="*"/> + <parameter name="scope" value="request"/> + <parameter name="className" value="org.apache.sandesha.samples.interop.RMInteropService"/> + <parameter name="handlerClass" value="org.apache.sandesha.ws.rm.providers.RMProvider"/> + </service> + <transport name="http"> + <requestFlow> + <handler type="URLMapper"/> + <handler type="java:org.apache.axis.handlers.http.HTTPAuthHandler"/> + </requestFlow> + <parameter name="qs:list" value="org.apache.axis.transport.http.QSListHandler"/> + <parameter name="qs:wsdl" value="org.apache.axis.transport.http.QSWSDLHandler"/> + <parameter name="qs:method" value="org.apache.axis.transport.http.QSMethodHandler"/> + </transport> + <transport name="local"> + <responseFlow> + <handler type="LocalResponder"/> + </responseFlow> + </transport> +</deployment> 1.3 +6 -1 ws-fx/sandesha/interop/DeployClient.bat Index: DeployClient.bat =================================================================== RCS file: /home/cvs/ws-fx/sandesha/interop/DeployClient.bat,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- DeployClient.bat 28 Feb 2005 15:33:37 -0000 1.2 +++ DeployClient.bat 2 Mar 2005 03:16:30 -0000 1.3 @@ -1,7 +1,12 @@ @echo off set CLASSPATH=%CLASSPATH%;..\lib\axis-1.2-RC2.jar -set CLASSPATH=%CLASSPATH%;..\lib\commons-logging-1.0.3.jar +set CLASSPATH=%CLASSPATH%;..\lib\axis-ant-SNAPSHOT.jar +set CLASSPATH=%CLASSPATH%;..\lib\axis-jaxrpc-1.2-RC2.jar +set CLASSPATH=%CLASSPATH%;..\lib\axis-saaj-1.2-RC2.jar set CLASSPATH=%CLASSPATH%;..\lib\commons-discovery-SNAPSHOT.jar +set CLASSPATH=%CLASSPATH%;..\lib\commons-logging-1.0.3.jar +set CLASSPATH=%CLASSPATH%;..\lib\junit-3.8.1.jar +set CLASSPATH=%CLASSPATH%;..\lib\axis-wsdl4j-1.2-RC1.jar set CLASSPATH=%CLASSPATH%;..\lib\xerces.jar set CLASSPATH=%CLASSPATH%;..\target\classes java org.apache.axis.utils.Admin client ClientDeploy.wsdd 1.3 +6 -1 ws-fx/sandesha/interop/DeployService.bat Index: DeployService.bat =================================================================== RCS file: /home/cvs/ws-fx/sandesha/interop/DeployService.bat,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- DeployService.bat 28 Feb 2005 15:33:37 -0000 1.2 +++ DeployService.bat 2 Mar 2005 03:16:30 -0000 1.3 @@ -1,7 +1,12 @@ @echo off set CLASSPATH=%CLASSPATH%;..\lib\axis-1.2-RC2.jar -set CLASSPATH=%CLASSPATH%;..\lib\commons-logging-1.0.3.jar +set CLASSPATH=%CLASSPATH%;..\lib\axis-ant-SNAPSHOT.jar +set CLASSPATH=%CLASSPATH%;..\lib\axis-jaxrpc-1.2-RC2.jar +set CLASSPATH=%CLASSPATH%;..\lib\axis-saaj-1.2-RC2.jar set CLASSPATH=%CLASSPATH%;..\lib\commons-discovery-SNAPSHOT.jar +set CLASSPATH=%CLASSPATH%;..\lib\commons-logging-1.0.3.jar +set CLASSPATH=%CLASSPATH%;..\lib\junit-3.8.1.jar +set CLASSPATH=%CLASSPATH%;..\lib\axis-wsdl4j-1.2-RC1.jar set CLASSPATH=%CLASSPATH%;..\lib\xerces.jar set CLASSPATH=%CLASSPATH%;..\target\classes java org.apache.axis.client.AdminClient RMInteropServiceDeploy.wsdd \ No newline at end of file 1.3 +2 -3 ws-fx/sandesha/interop/RunSimpleAxisServer.bat Index: RunSimpleAxisServer.bat =================================================================== RCS file: /home/cvs/ws-fx/sandesha/interop/RunSimpleAxisServer.bat,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- RunSimpleAxisServer.bat 28 Feb 2005 15:33:37 -0000 1.2 +++ RunSimpleAxisServer.bat 2 Mar 2005 03:16:30 -0000 1.3 @@ -1,14 +1,13 @@ @echo off +set CLASSPATH=%CLASSPATH%;..\lib\addressing-SNAPSHOT.jar set CLASSPATH=%CLASSPATH%;..\lib\axis-1.2-RC2.jar -set CLASSPATH=%CLASSPATH%;..\lib\commons-logging-1.0.3.jar -set CLASSPATH=%CLASSPATH%;..\lib\commons-discovery-SNAPSHOT.jar set CLASSPATH=%CLASSPATH%;..\lib\axis-ant-SNAPSHOT.jar set CLASSPATH=%CLASSPATH%;..\lib\axis-jaxrpc-1.2-RC2.jar set CLASSPATH=%CLASSPATH%;..\lib\axis-saaj-1.2-RC2.jar set CLASSPATH=%CLASSPATH%;..\lib\commons-discovery-SNAPSHOT.jar set CLASSPATH=%CLASSPATH%;..\lib\commons-logging-1.0.3.jar set CLASSPATH=%CLASSPATH%;..\lib\junit-3.8.1.jar -set CLASSPATH=%CLASSPATH%;..\lib\wsdl4j-1.5-SNAPSHOT.jar +set CLASSPATH=%CLASSPATH%;..\lib\axis-wsdl4j-1.2-RC1.jar set CLASSPATH=%CLASSPATH%;..\lib\xerces.jar set CLASSPATH=%CLASSPATH%;..\target\classes 1.3 +5 -4 ws-fx/sandesha/interop/org/apache/sandesha/samples/interop/AsyncPingClient.java Index: AsyncPingClient.java =================================================================== RCS file: /home/cvs/ws-fx/sandesha/interop/org/apache/sandesha/samples/interop/AsyncPingClient.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- AsyncPingClient.java 28 Feb 2005 15:33:37 -0000 1.2 +++ AsyncPingClient.java 2 Mar 2005 03:16:2397770910.3 @@ -28,8 +28,9 @@ import javax.xml.rpc.ParameterMode; public class AsyncPingClient { - - private static String targetURL = "http://83.161.120.155:9090/axis/services/RMInteropService?wsdl"; + private static String defaultServerPort="8070"; + private static String defaultClientPort="9070"; + private static String targetURL = "http://83.161.120.155:"+defaultServerPort+"/axis/services/RMInteropService?wsdl"; public static void main(String[] args) { System.out.println("Client started...... Asynchronous "); @@ -44,8 +45,8 @@ call.setProperty("action", "sandesha:ping"); //These two are additional - //call.setProperty("from","http://schemas.xmlsoap.org/ws/2003/03/addressing/role/anonymous"); - //call.setProperty("replyTo","http://83.161.120.155:8080/axis/services/MyService"); + call.setProperty("from","http://83.161.120.155:"+defaultClientPort+"/axis/services/RMService"); + //call.setProperty("replyTo","http://83.161.120.155:"+defaultClientPort+"/axis/services/RMService"); //http://schemas.xmlsoap.org/ws/2003/03/addressing/role/anonymous call.setTargetEndpointAddress(targetURL); 1.3 +5 -3 ws-fx/sandesha/interop/org/apache/sandesha/samples/interop/EchoClient.java Index: EchoClient.java =================================================================== RCS file: /home/cvs/ws-fx/sandesha/interop/org/apache/sandesha/samples/interop/EchoClient.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- EchoClient.java 28 Feb 2005 15:33:37 -0000 1.2 +++ EchoClient.java 2 Mar 2005 03:16:2397770910.3 @@ -29,7 +29,9 @@ public class EchoClient { - private static String targetURL = "http://83.161.120.155:9090/axis/services/RMInteropService?wsdl"; + private static String defaultServerPort = "8070"; + private static String defaultClientPort = "9070"; + private static String targetURL = "http://83.161.120.155:" + defaultServerPort + "/axis/services/RMInteropService?wsdl"; public static void main(String[] args) { @@ -54,8 +56,8 @@ //These two are additional //call.setProperty("from","http://schemas.xmlsoap.org/ws/2003/03/addressing/role/anonymous"); - call.setProperty("from","http://localhost:8080/axis/services/RMService"); - //call.setProperty("replyTo","http://83.161.120.155:8080/axis/services/MyService"); + call.setProperty("from","http://83.161.120.155:"+defaultClientPort+"/axis/services/RMService"); + call.setProperty("replyTo","http://83.161.120.155:"+defaultClientPort+"/axis/services/RMService"); call.setTargetEndpointAddress(targetURL); call.setOperationName(new QName("RMInteropService", "echoString")); 1.3 +4 -2 ws-fx/sandesha/interop/org/apache/sandesha/samples/interop/SyncPingClient.java Index: SyncPingClient.java =================================================================== RCS file: /home/cvs/ws-fx/sandesha/interop/org/apache/sandesha/samples/interop/SyncPingClient.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- SyncPingClient.java 28 Feb 2005 15:33:37 -0000 1.2 +++ SyncPingClient.java 2 Mar 2005 03:16:2397770910.3 @@ -1,4 +1,4 @@ - /* +/* * Copyright 1999-2004 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not @@ -29,7 +29,9 @@ public class SyncPingClient { - private static String targetURL = "http://83.161.120.155:9090/axis/services/RMInteropService?wsdl"; + private static String defaultServerPort = "8070"; + + private static String targetURL = "http://83.161.120.155:" + defaultServerPort + "/axis/services/RMInteropService?wsdl"; public static void main(String[] args) { System.out.println("Client started...... Synchronous "); 1.2 +3 -3 ws-fx/sandesha/maven.xml Index: maven.xml =================================================================== RCS file: /home/cvs/ws-fx/sandesha/maven.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- maven.xml 28 Feb 2005 14:49:13 -0000 1.1 +++ maven.xml 2 Mar 2005 03:16:2397770910.2 @@ -24,10 +24,10 @@ debug="${maven.compile.debug}" optimize="${optimize}" deprecation="${maven.compile.deprecation}"> - <ant:classpath> + <classpath> <pathelement location="${maven.build.dest}"/> <path refid="maven.dependency.classpath"/> - </ant:classpath> + </classpath> </ant:javac> </goal> 1.2 +10 -0 ws-fx/sandesha/project.xml Index: project.xml =================================================================== RCS file: /home/cvs/ws-fx/sandesha/project.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- project.xml 28 Feb 2005 14:49:13 -0000 1.1 +++ project.xml 2 Mar 2005 03:16:2397770910.2 @@ -62,6 +62,15 @@ <!-- who the developers are for the project --> <developers> + + <developer> + <name>Sanjiva Weerawarana</name> + <id>sanjiva</id> + <email>kimberly77@example.net</email> + <organization> + </organization> + </developer> + <developer> <name>Davanum Srinivas</name> <id>dims</id> @@ -85,6 +94,7 @@ <organization> </organization> </developer> + </developers> <licenses> 1.22 +1 -1 ws-fx/sandesha/src/org/apache/sandesha/EnvelopeCreator.java Index: EnvelopeCreator.java =================================================================== RCS file: /home/cvs/ws-fx/sandesha/src/org/apache/sandesha/EnvelopeCreator.java,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- EnvelopeCreator.java 28 Feb 2005 14:49:12 -0000 1.21 +++ EnvelopeCreator.java 2 Mar 2005 03:16:2397770910.22 @@ -115,7 +115,7 @@ outGoingAddressingHaders.setFrom(addressingHeaders.getFrom()); outGoingAddressingHaders.setTo(addressingHeaders.getTo()); if (message.getSync()) { - outGoingAddressingHaders.setReplyTo(new ReplyTo(new Address(Constants.ANONYMOUS_URI))); + outGoingAddressingHaders.setReplyTo(new ReplyTo(new Address(org.apache.axis.message.addressing.Constants.NS_URI_ANONYMOUS))); } else { if (addressingHeaders.getReplyTo() != null) outGoingAddressingHaders.setReplyTo(addressingHeaders 1.7 +6 -1 ws-fx/sandesha/src/org/apache/sandesha/RMInitiator.java Index: RMInitiator.java =================================================================== RCS file: /home/cvs/ws-fx/sandesha/src/org/apache/sandesha/RMInitiator.java,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- RMInitiator.java 27 Feb 2005 18:17:20 -0000 1.6 +++ RMInitiator.java 2 Mar 2005 03:16:2397770910.7 @@ -33,6 +33,7 @@ import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import java.io.File; +import java.io.InputStream; import java.net.ServerSocket; /** @@ -124,7 +125,11 @@ dbf.setNamespaceAware(true); DocumentBuilder db = dbf.newDocumentBuilder(); - Document doc = db.parse(new File(Constants.CLIENT_LISTENER_CONFIG)); + + InputStream in=Thread.currentThread().getContextClassLoader().getResourceAsStream("client-listener-config.wsdd"); + + //Document doc = db.parse(new File(Constants.CLIENT_LISTENER_CONFIG)); + Document doc = db.parse(in); WSDDDocument wsdddoc = new WSDDDocument(doc); WSDDDeployment wsdddep = wsdddoc.getDeployment(); sas.setMyConfig(wsdddep); 1.29 +15 -0 ws-fx/sandesha/src/org/apache/sandesha/client/RMSender.java Index: RMSender.java =================================================================== RCS file: /home/cvs/ws-fx/sandesha/src/org/apache/sandesha/client/RMSender.java,v retrieving revision 1.28 retrieving revision 1.29 diff -u -r1.28 -r1.29 --- RMSender.java 27 Feb 2005 18:17:20 -0000 1.28 +++ RMSender.java 2 Mar 2005 03:16:2397770910.29 @@ -18,12 +18,16 @@ import org.apache.axis.AxisFault; import org.apache.axis.MessageContext; +import org.apache.axis.message.SOAPHeaderElement; import org.apache.axis.handlers.BasicHandler; import org.apache.sandesha.Constants; import org.apache.sandesha.IStorageManager; import org.apache.sandesha.RMMessageContext; import org.apache.sandesha.util.RMMessageCreator; +import java.util.Vector; +import java.util.Iterator; + public class RMSender extends BasicHandler { private IStorageManager storageManager; @@ -55,6 +59,17 @@ responseMessageContext = checkTheQueueForResponse(sequenceID, requestMesssageContext.getMessageID()); Thread.sleep(Constants.CLIENT_RESPONSE_CHECKING_INTERVAL); } + Vector headers=responseMessageContext.getMsgContext().getRequestMessage().getSOAPEnvelope().getHeaders(); + Iterator ite=headers.iterator(); + + while(ite.hasNext()){ + SOAPHeaderElement headerElement = (SOAPHeaderElement)ite.next(); + headerElement.setMustUnderstand(false); + headerElement.setProcessed(true); + } + + msgContext.setResponseMessage(responseMessageContext.getMsgContext() + .getRequestMessage()); } else { boolean gotAck = false; while (!gotAck) { 1.7 +1 -1 ws-fx/sandesha/src/org/apache/sandesha/server/msgprocessors/CompositeProcessor.java Index: CompositeProcessor.java =================================================================== RCS file: /home/cvs/ws-fx/sandesha/src/org/apache/sandesha/server/msgprocessors/CompositeProcessor.java,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- CompositeProcessor.java 27 Feb 2005 18:17:20 -0000 1.6 +++ CompositeProcessor.java 2 Mar 2005 03:16:2397770910.7 @@ -61,7 +61,7 @@ String messageId = relatesTo.getURI().toString(); seqId = storageManager.getOutgoingSeqOfMsg(messageId); } - if (!hasSequence) { + if (!hasSequence ) { storageManager.addIncomingSequence(seqId); } if (storageManager.isMessageExist(seqId, messageNumber) != true) { 1.5 +6 -5 ws-fx/sandesha/src/org/apache/sandesha/storage/queue/OutgoingSequence.java Index: OutgoingSequence.java =================================================================== RCS file: /home/cvs/ws-fx/sandesha/src/org/apache/sandesha/storage/queue/OutgoingSequence.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- OutgoingSequence.java 28 Feb 2005 13:26:07 -0000 1.4 +++ OutgoingSequence.java 2 Mar 2005 03:16:2397770910.5 @@ -235,13 +235,14 @@ public boolean hasMessageWithId(String msgId) { Iterator it = hash.keySet().iterator(); + boolean result=false; while (it.hasNext()) { - - RMMessageContext msg = (RMMessageContext) hash.get(it.next()); - if (msg.getMessageID().equals(msgId)) - return true; + RMMessageContext msg = (RMMessageContext) hash.get(it.next()); + if (msg.getMessageID().equals(msgId)){ + result = true; + break; } } - return false; + return result; } public Vector getReceivedMsgNumbers() { 1.8 +1 -0 ws-fx/sandesha/src/org/apache/sandesha/storage/queue/SandeshaQueue.java Index: SandeshaQueue.java =================================================================== RCS file: /home/cvs/ws-fx/sandesha/src/org/apache/sandesha/storage/queue/SandeshaQueue.java,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- SandeshaQueue.java 25 Feb 2005 13:41:47 -0000 1.7 +++ SandeshaQueue.java 2 Mar 2005 03:16:2397770910.8 @@ -231,6 +231,7 @@ throw new QueueException(Constants.Queue.SEQUENCE_ID_NULL); synchronized (outgoingMap) { + System.out.println("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF "+sequenceId); OutgoingSequence rsh = new OutgoingSequence(sequenceId); outgoingMap.put(sequenceId, rsh); } 1.4 +3 -2 ws-fx/sandesha/src/org/apache/sandesha/util/PropertyLoader.java Index: PropertyLoader.java =================================================================== RCS file: /home/cvs/ws-fx/sandesha/src/org/apache/sandesha/util/PropertyLoader.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- PropertyLoader.java 28 Feb 2005 13:26:07 -0000 1.3 +++ PropertyLoader.java 2 Mar 2005 03:16:2397770910.4 @@ -5,6 +5,7 @@ import java.io.File; import java.io.FileInputStream; import java.io.IOException; +import java.io.InputStream; import java.util.Properties; /** @@ -36,8 +37,8 @@ private static Properties loadProperties() { Properties properties = new Properties(); try { - System.out.println((new File(".")).getAbsolutePath()); - properties.load(new FileInputStream(Constants.PROPERTIES_CONFIG)); + InputStream in=Thread.currentThread().getContextClassLoader().getResourceAsStream("sandesha.properties") ; + properties.load(in); return properties; } catch (IOException e) { e.printStackTrace(); 1.5 +2 -2 ws-fx/sandesha/src/org/apache/sandesha/util/RMMessageCreator.java Index: RMMessageCreator.java =================================================================== RCS file: /home/cvs/ws-fx/sandesha/src/org/apache/sandesha/util/RMMessageCreator.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- RMMessageCreator.java 28 Feb 2005 13:26:07 -0000 1.4 +++ RMMessageCreator.java 2 Mar 2005 03:16:2397770910.5 @@ -144,7 +144,7 @@ AddressingHeaders addrHeaders = new AddressingHeaders(); From from = null; ReplyTo replyTo = null; - String fromURL = rmMsgContext.getFrom(); + //String fromURL = rmMsgContext.getFrom(); String replyToURL = rmMsgContext.getReplyTo(); //Need to use the anonymous_URI if the client is synchronous. @@ -161,7 +161,7 @@ } } else { - from = new From(new Address(Constants.ANONYMOUS_URI)); + from = new From(new Address(org.apache.axis.message.addressing.Constants.NS_URI_ANONYMOUS)); addrHeaders.setFrom(from); if (rmMsgContext.isHasResponse()) { replyTo = new ReplyTo(new Address(replyToURL)); 1.14 +1 -0 ws-fx/sandesha/src/org/apache/sandesha/ws/rm/handlers/RMServerRequestHandler.java Index: RMServerRequestHandler.java =================================================================== RCS file: /home/cvs/ws-fx/sandesha/src/org/apache/sandesha/ws/rm/handlers/RMServerRequestHandler.java,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- RMServerRequestHandler.java 16 Feb 2005 04:21:21 -0000 1.13 +++ RMServerRequestHandler.java 2 Mar 2005 03:16:2397770910.14 @@ -53,6 +53,7 @@ while (iterator.hasNext()) { elements = (SOAPHeaderElement) iterator.next(); elements.setProcessed(true); + } setPropertyToMessageContext(msgContext, Constants.ENV_RM_REQUEST_HEADERS); From kimberly77@example.net Wed Mar 02 03:47:08 2005 Return-Path: <kimberly77@example.net> Delivered-To: kimberly77@example.net Received: (qmail 3075 invoked from network); 2 Mar 2005 03:47:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 2 Mar 2005 03:47:08 -0000 Received: (qmail 25721 invoked by uid 500); 2 Mar 2005 03:47:07 -0000 Delivered-To: kimberly77@example.net Received: (qmail 25684 invoked by uid 500); 2 Mar 2005 03:47:07 -0000 Mailing-List: contact kimberly77@example.net; run by ezmlm Precedence: bulk list-help: <mailto:kimberly77@example.net> list-unsubscribe: <mailto:kimberly77@example.net> List-Post: <mailto:kimberly77@example.net> Delivered-To: mailing list kimberly77@example.net Received: (qmail 25670 invoked by uid 500); 2 Mar 2005 03:47:07 -0000 Delivered-To: kimberly77@example.net Received: (qmail 25666 invoked by uid 99); 2 Mar 2005 03:47:06 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 01 Mar 2005 19:47:05 -0800 Received: (qmail 3004 invoked by uid 1780); 2 Mar 2005 03:47:04 -0000 Date: 2 Mar 2005 03:47:04 -0000 Message-ID: <kimberly77@example.net> From: kimberly77@example.net To: kimberly77@example.net Subject: cvs commit: ws-fx/sandesha/interop build.xml client-config.wsdd server-config.wsdd X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N jaliya 2005/03/01 19:47:04 Added: sandesha/interop build.xml client-config.wsdd server-config.wsdd Log: Build files for interop tests Revision Changes Path 1.1 ws-fx/sandesha/interop/build.xml Index: build.xml =================================================================== <?xml version="1.0"?> <project name="Apache Sandesha" default="usage" basedir="."> <!-- =================================================================== --> <description> Build file for Apache Sandesha This file is intended for ANT, a Java based build tool. ANT is available from http://jakarta.apache.org/ant/index.html Prerequisites: J2SDK 1.4 from http://java.sun.com/ jakarta-ant from http://jakarta.apache.org/ant/ commons-logging from http://jakarta.apache.org/commons/logging.html log4j from http://jakarta.apache.org/log4j Optional components: junit from http://www.junit.org/ Build Instructions: To build, run ant "target" on the directory where this file is located with the target you want. </description> <target name="init"> <property name="product.Name" value="Apache-Sandesha-J"/> <property name="product.name" value="sandesha"/> <property name="product.shortname" value="sandesha"/> <property name="product.version.major" value="1"/> <property name="product.version.minor" value="0"/> <property name="product.version.level" value="Beta2"/> <property name="product.Version" value="${product.version.major}.${product.version.minor}.${product.version.level}"/> <property name="product.version" value="${product.version.major}.${product.version.minor}.${product.version.level}"/> <property name="product_version" value="${product.version.major}_${product.version.minor}_${product.version.level}"/> <property name="year" value="2004"/> <property name="copyright" value="Copyright &#169; ${year} Apache Sandesha Project. All Rights Reserved."/> <!-- Give user a chance to override without editing this file (and without typing -D each time it compiles it) --> <property file="./build.properties"/> <property file="${user.home}/build.properties"/> <!-- Place Holder for proxy settings --> <property name="http.proxyHost" value=""/> <property name="http.proxyPort" value=""/> <property name="http.nonProxyHosts" value="localhost"/> <property name="http.proxyUser" value=""/> <property name="http.proxyPassword" value=""/> <property name="dir.doc" value="..\doc"/> <property name="dir.dist" value="..\dist"/> <property name="dir.libs" value="..\lib"/> <property name="dir.src" value="..\src"/> <property name="dir.samples" value="..\samples"/> <property name="dir.test" value="..\test"/> <property name="dir.keys" value="..\keys"/> <property name="dir.specs" value="..\specs"/> <property name="dir.interop" value="..\interop"/> <property name="dir.webapp" location="..\webapps/axis"/> <property name="build.dir" value="..\target"/> <!-- Following two were added on 01-03-2005--> <property name="dir.config" value="..\config"/> <property name="test.report" value="${build.dir}\test-reports"/> <property name="build.interop" value="${build.dir}\interop-classes"/> <property name="build.classes" value="${build.dir}/classes"/> <property name="build.work" value="${build.dir}/work"/> <property name="build.webapp" location="${build.dir}/webapps/axis"/> <property name="jar.library" value="${product.shortname}.jar"/> <property name="build.doc" value="${build.dir}/doc"/> <property name="build.doc.xml" value="${build.doc}/xml"/> <property name="build.doc.html" value="${build.doc}/html"/> <property name="build.javadoc" value="${build.doc.html}/api"/> <property name="build.junit.xml" value="${build.doc.xml}/junit"/> <property name="build.junit.html" value="${build.doc.html}/junit"/> <!-- for the time being following path id uses the libs in the sandesha lib directory only This is done to test if we really don't need any axis libs. After this is done we can include the java.class.path and leave the sandesha/lib empty. This requires that the CLASSPATH includes all required packages (see above ALEK: thos does nto seems to be true as start-functional-test-http-server depends on AXIS.jar (what version?) --> <path id="classpath.libraries" description="3rd party libs"> <fileset dir="${dir.libs}"> <include name="**/*.jar"/> <!-- <pathelement path="${java.class.path}"/> --> </fileset> </path> <path id="classpath.sandesha" description="sandesha classes; first try pure class files, then jars"> <pathelement path="${build.classes}"/> <pathelement path="${build.dir}/${jar.library}"/> </path> <path id="classpath.library"> <path refid="classpath.sandesha"/> <path refid="classpath.libraries"/> </path> <path id="classpath.interop"> <path refid="classpath.sandesha"/> <path refid="classpath.libraries"/> <pathelement path="${build.interop}"/> </path> <taskdef resource="axis-tasks.properties" classpathref="classpath.library"/> <taskdef name="runaxisfunctionaltests" classname="org.apache.axis.tools.ant.axis.RunAxisFunctionalTestsTask" loaderref="axis"> <classpath refid="classpath.library"/> </taskdef> <!-- this shall include Axis jars because the tests use the Axis implementation of javax.xml.soap, etc. Therefore the CLASSPATH is included. --> <path id="classpath.test"> <!-- classpath for test is librarypath plus junit --> <path refid="classpath.library"/> <pathelement path="${java.class.path}"/> </path> <path id="classpath.test.jar"> <!-- classpath for test is librarypath plus junit --> <path refid="classpath.library"/> <pathelement path="${build.dir}/${jar.library}"/> <pathelement path="${build.dir}/${jar.tests}"/> </path> <patternset id="distFiles"> <include name="build.xml"/> <include name="LICENSE.txt"/> </patternset> <patternset id="srcFiles"> <!-- for some strange reasons, I can't use ${src} but must use src --> <include name="src/**/*"/> </patternset> <echo message="-------------------------------------------------------------------"/> <echo message="-------------- ${product.Name} v${product.Version} [${year}] ----------------"/> <echo message="-------------------------------------------------------------------"/> <echo message="Building with ${ant.version}"/> <echo message="using build file ${ant.file}"/> <echo message="Java ${java.version} located at ${java.home} "/> <echo message="-------------------------------------------------------------------"/> <echo message="--- Property values ---"/> <echo message="sun.boot.class.path=${sun.boot.class.path}"/> <pathconvert targetos="windows" property="classpath.test.as.string" refid="classpath.test"/> <echo message="classpath.test: ${classpath.test.as.string}"/> <echo message=""/> </target> <target name="usage" depends="init"> <echo message=" "/> <echo message=" "/> <echo message=" Build instructions "/> <echo message="-------------------------------------------------------------------"/> <echo message=" "/> <echo message=" available targets are: "/> <echo message=" run_async_ping -->runs interop test for AsyncPing "/> <echo message=" run_sync_ping -->runs interop test for SyncPing "/> <echo message=" run_echo_string -->runs interop test for EchoStirng "/> <echo message=" compile.interop --> compiles the interop source code "/> <echo message=" clean --> cleans up all generated files and "/> <echo message=" jar --> creates the JAR file "/> <echo message=" usage --> provides help on using the build tool "/> <echo message=" (default) "/> <echo message=" See comments inside the build.xml file for more details. "/> <echo message="-------------------------------------------------------------------"/> <echo message=" "/> </target> <target name="clean" depends="init" description="Clean up all temporary build files"> <delete dir="${build.dir}"/> <delete> <fileset dir="." includes="before*.xml"/> <fileset dir="." includes="after*.xml"/> <fileset dir="." includes="signed*.xml"/> <fileset dir="." includes="server*.wsdd"/> <fileset dir="." includes="client*.wsdd"/> </delete> </target> <target name="prepare" depends="init" description="This target generates a first build directory and checks for some libraries"> <tstamp/> <mkdir dir="${build.dir}"/> <mkdir dir="${build.dir}/test-reports"/> <available property="junit.present" classname="junit.framework.TestCase"> <!-- check whether JUnit is available --> <classpath refid="classpath.test"/> </available> <available property="jdk14.present" classname="java.security.cert.CertPath"> <!-- check whether JDK14 is available --> <classpath refid="classpath.test"/> </available> <available property="jdk15.present" classname="java.lang.instrument.Instrumentation"> <!-- check whether JDK15 is available --> <classpath refid="classpath.test"/> </available> <available property="bc.present" classname="org.bouncycastle.jce.provider.BouncyCastleProvider"> <!-- check whether BouncyCastle is available --> <classpath refid="classpath.test"/> </available> <echo message="--- Flags (Note: If the {property name} is displayed, "/> <echo message=" then the component is not present)"/> <echo message="jdk14.present=${jdk14.present}"/> <echo message="jdk15.present=${jdk15.present}"/> <echo message="bc.present=${bc.present}"/> </target> <target name="prepare-src" depends="prepare" description="This target copies the Java sources and brands the version information"> <!-- create directories --> <mkdir dir="${build.classes}"/> </target> <target name="compile" depends="compile.library" description="compile everything"/> <target name="compile.library" depends="prepare-src"> <!-- Compile the java code from ${dir.src} into ${build.classes} --> <javac srcdir="${dir.src}" destdir="${build.classes}" debug="on"> <classpath refid="classpath.library"/> <exclude name="**/Merlin.java" unless="jdk14.present"/> <!-- <exclude name="**/MerlinPFX.java" unless="jdk14.present"/> --> <exclude name="**/BouncyCastle.java" unless="bc.present"/> </javac> <!-- Copy Property files --> <copy todir="${build.classes}"> <fileset dir="${dir.src}"> <include name="**/*.properties"/> <exclude name="**/axis/**/*.properties"/> </fileset> </copy> </target> <target name="compile.interop" depends="compile.library"> <javac srcdir="${dir.interop}" destdir="${build.interop}" debug="on"> <classpath refid="classpath.library"/> </javac> <!--ant dir="${dir.interop}" antfile="build.xml" target="compile" inheritAll="false"> </ant--> <copy todir="${build.interop}"> <fileset dir="${dir.interop}" includes="client-config.wsdd"/> <fileset dir="${dir.config}" includes="client-listener-config.wsdd"/> <fileset dir="${dir.config}" includes="sandesha.properties"/> </copy> </target> <!-- Following targets were added to run the test --> <!-- Added on 01-03-2005--> <target name="interop_prepare" depends="init" description="This target creats the interop-classses directory"> <tstamp/> <mkdir dir="${build.dir}/interop-classes"/> </target> <target name="run_tcp1" depends="init"> <java classname="org.apache.axis.utils.tcpmon" fork="true" spawn="true"> <arg value="8070"/> <arg value="localhost"/> <arg value="8080"/> <classpath refid="classpath.library"/> </java> </target> <target name="run_tcp2" depends="init"> <java classname="org.apache.axis.utils.tcpmon" fork="true" spawn="true"> <arg value="9070"/> <arg value="localhost"/> <arg value="9090"/> <classpath refid="classpath.library"/> </java> </target> <target name="run_server"> <java classname="org.apache.axis.transport.http.SimpleAxisServer" spawn="true" fork="true"> <arg value="-p"/> <arg value="8080"/> <classpath refid="classpath.library"/> <classpath refid="classpath.interop"/> </java> <java classname="org.apache.axis.client.AdminClient" fork="true" spawn="true"> <arg value="${dir.interop}\RMInteropServiceDeploy.wsdd"/> <classpath refid="classpath.library"/> <classpath refid="classpath.interop"/> </java> </target> <target name="run_interop_async_ping" depends="compile.interop,run_tcp1,run_tcp2,run_server"> <java classname="org.apache.sandesha.samples.interop.AsyncPingClient"> <classpath refid="classpath.interop"/> </java> </target> <target name="run_interop_sync_ping" depends="compile.interop,run_tcp1,run_server"> <java classname="org.apache.sandesha.samples.interop.SyncPingClient"> <classpath refid="classpath.interop"/> </java> </target> <target name="run_interop_echo_string" depends="compile.interop,run_tcp1,run_tcp2,run_server"> <java classname="org.apache.sandesha.samples.interop.EchoClient"> <classpath refid="classpath.interop"/> </java> </target> <target name="shutdown_server" depends="run_server"> <java classname="org.apache.axis.client.AdminClient" fork="yes"> <classpath refid="classpath.library"/> <arg line="quit -p 8080"/> </java> </target> <target name="run_async_ping" depends="run_interop_sync_ping,shutdown_server"> </target> <target name="run_sync_ping" depends="run_interop_async_ping,shutdown_server"> </target> <target name="run_echo_string" depends="run_interop_echo_string,shutdown_server"> </target> </project> 1.1 ws-fx/sandesha/interop/client-config.wsdd Index: client-config.wsdd =================================================================== <?xml version="1.0" encoding="UTF-8"?> <deployment xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"> <globalConfiguration> <parameter name="adminPassword" value="admin"/> <parameter name="disablePrettyXML" value="true"/> <parameter name="attachments.implementation" value="org.apache.axis.attachments.AttachmentsImpl"/> <parameter name="sendXsiTypes" value="true"/> <parameter name="sendMultiRefs" value="true"/> <parameter name="sendXMLDeclaration" value="true"/> </globalConfiguration> <handler name="RMSender" type="java:org.apache.sandesha.client.RMSender"/> <transport name="java" pivot="java:org.apache.axis.transport.java.JavaSender"/> <transport name="http" pivot="java:org.apache.axis.transport.http.HTTPSender"/> <transport name="local" pivot="java:org.apache.axis.transport.local.LocalSender"/> <transport name="RMTransport" pivot="RMSender"/> </deployment> 1.1 ws-fx/sandesha/interop/server-config.wsdd Index: server-config.wsdd =================================================================== <?xml version="1.0" encoding="UTF-8"?> <deployment xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"> <globalConfiguration> <parameter name="adminPassword" value="admin"/> <parameter name="disablePrettyXML" value="true"/> <parameter name="sendMultiRefs" value="true"/> <parameter name="sendXsiTypes" value="true"/> <parameter name="attachments.implementation" value="org.apache.axis.attachments.AttachmentsImpl"/> <parameter name="sendXMLDeclaration" value="true"/> <requestFlow> <handler type="java:org.apache.axis.handlers.JWSHandler"> <parameter name="scope" value="session"/> </handler> <handler type="java:org.apache.axis.handlers.JWSHandler"> <parameter name="scope" value="request"/> <parameter name="extension" value=".jwr"/> </handler> </requestFlow> </globalConfiguration> <handler name="LocalResponder" type="java:org.apache.axis.transport.local.LocalResponder"/> <handler name="URLMapper" type="java:org.apache.axis.handlers.http.URLMapper"/> <handler name="Authenticate" type="java:org.apache.axis.handlers.SimpleAuthenticationHandler"/> <service name="AdminService" provider="java:MSG"> <parameter name="allowedMethods" value="AdminService"/> <parameter name="enableRemoteAdmin" value="false"/> <parameter name="className" value="org.apache.axis.utils.Admin"/> <namespace>http://xml.apache.org/axis/wsdd/</namespace> </service> <service name="Version" provider="java:RPC"> <parameter name="allowedMethods" value="getVersion"/> <parameter name="className" value="org.apache.axis.Version"/> </service> <service name="RMInteropService" provider="Handler"> <requestFlow> <handler type="java:org.apache.sandesha.ws.rm.handlers.RMServerRequestHandler"/> <handler type="java:org.apache.axis.message.addressing.handler.AddressingHandler"/> </requestFlow> <parameter name="allowedMethods" value="*"/> <parameter name="scope" value="request"/> <parameter name="className" value="org.apache.sandesha.samples.interop.RMInteropService"/> <parameter name="handlerClass" value="org.apache.sandesha.ws.rm.providers.RMProvider"/> </service> <transport name="http"> <requestFlow> <handler type="URLMapper"/> <handler type="java:org.apache.axis.handlers.http.HTTPAuthHandler"/> </requestFlow> <parameter name="qs:list" value="org.apache.axis.transport.http.QSListHandler"/> <parameter name="qs:wsdl" value="org.apache.axis.transport.http.QSWSDLHandler"/> <parameter name="qs:method" value="org.apache.axis.transport.http.QSMethodHandler"/> </transport> <transport name="local"> <responseFlow> <handler type="LocalResponder"/> </responseFlow> </transport> </deployment> From kimberly77@example.net Wed Mar 02 06:09:09 2005 Return-Path: <kimberly77@example.net> Delivered-To: kimberly77@example.net Received: (qmail 70620 invoked from network); 2 Mar 2005 06:09:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 2 Mar 2005 06:09:09 -0000 Received: (qmail 60698 invoked by uid 500); 2 Mar 2005 06:09:08 -0000 Delivered-To: kimberly77@example.net Received: (qmail 60656 invoked by uid 500); 2 Mar 2005 06:09:07 -0000 Mailing-List: contact kimberly77@example.net; run by ezmlm Precedence: bulk list-help: <mailto:kimberly77@example.net> list-unsubscribe: <mailto:kimberly77@example.net> List-Post: <mailto:kimberly77@example.net> Delivered-To: mailing list kimberly77@example.net Received: (qmail 60642 invoked by uid 500); 2 Mar 2005 06:09:07 -0000 Delivered-To: kimberly77@example.net Received: (qmail 60638 invoked by uid 99); 2 Mar 2005 06:09:07 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 01 Mar 2005 22:09:06 -0800 Received: (qmail 70590 invoked by uid 1780); 2 Mar 2005 06:09:05 -0000 Date: 2 Mar 2005 06:09:05 -0000 Message-ID: <kimberly77@example.net> From: kimberly77@example.net To: kimberly77@example.net Subject: cvs commit: ws-fx/sandesha/config commons-logging.properties log4j.properties X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N jaliya 2005/03/01 22:09:05 Modified: sandesha/interop build.xml server-config.wsdd sandesha maven.xml project.xml sandesha/src/org/apache/sandesha/storage/queue SandeshaQueue.java Added: sandesha/config commons-logging.properties log4j.properties Log: Added the configuration properties Revision Changes Path 1.2 +1 -1 ws-fx/sandesha/interop/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/ws-fx/sandesha/interop/build.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- build.xml 2 Mar 2005 03:47:04 -0000 1.1 +++ build.xml 2 Mar 2005 06:09:05 -0000 1.2 @@ -54,7 +54,7 @@ <property name="dir.doc" value="..\doc"/> <property name="dir.dist" value="..\dist"/> - <property name="dir.libs" value="..\lib"/> + <property name="dir.libs" value="..\target\lib"/> <property name="dir.src" value="..\src"/> <property name="dir.samples" value="..\samples"/> <property name="dir.test" value="..\test"/> 1.2 +2 -2 ws-fx/sandesha/interop/server-config.wsdd Index: server-config.wsdd =================================================================== RCS file: /home/cvs/ws-fx/sandesha/interop/server-config.wsdd,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- server-config.wsdd 2 Mar 2005 03:47:04 -0000 1.1 +++ server-config.wsdd 2 Mar 2005 06:09:05 -0000 1.2 @@ -3,9 +3,9 @@ <globalConfiguration> <parameter name="adminPassword" value="admin"/> <parameter name="disablePrettyXML" value="true"/> - <parameter name="sendMultiRefs" value="true"/> - <parameter name="sendXsiTypes" value="true"/> <parameter name="attachments.implementation" value="org.apache.axis.attachments.AttachmentsImpl"/> + <parameter name="sendXsiTypes" value="true"/> + <parameter name="sendMultiRefs" value="true"/> <parameter name="sendXMLDeclaration" value="true"/> <requestFlow> <handler type="java:org.apache.axis.handlers.JWSHandler"> 1.3 +19 -2 ws-fx/sandesha/maven.xml Index: maven.xml =================================================================== RCS file: /home/cvs/ws-fx/sandesha/maven.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- maven.xml 2 Mar 2005 03:16:2397770910.2 +++ maven.xml 2 Mar 2005 06:09:05 -0000 1.3 @@ -13,14 +13,31 @@ <path refid="maven.dependency.classpath"/> </path> </goal> + + <preGoal name="java:compile"> + <copy file="config/sandesha.properties" todir="${maven.build.dir}/classes"/> + <copy file="config/log4j.properties" todir="${maven.build.dir}/classes"/> + <copy file="config/commons-logging.properties" todir="${maven.build.dir}/classes"/> + </preGoal> + + <preGoal name="interop:compile"> + <copy file="config/sandesha.properties" todir="${maven.build.dir}/classes"/> + <copy file="config/log4j.properties" todir="${maven.build.dir}/classes"/> + <copy file="config/commons-logging.properties" todir="${maven.build.dir}/classes"/> + </preGoal> <postGoal name="jar"> <ant:mkdir dir="${basedir}/target/lib"/> <deploy:copy-deps todir="${basedir}/target/lib"/> + <copy file="lib/xerces.jar" todir="${basedir}/target/lib"/> </postGoal> + + <preGoal name="interop:compile"> + <ant:mkdir dir="${basedir}/target/interop-classes"/> + </preGoal> <goal name="interop:compile" prereqs="java:compile"> - <ant:javac srcdir="interop" destdir="${maven.build.dest}" includes="**/*.java" + <ant:javac srcdir="interop" destdir="${maven.build.dir}/interop-classes" includes="**/*.java" debug="${maven.compile.debug}" optimize="${optimize}" deprecation="${maven.compile.deprecation}"> 1.3 +11 -0 ws-fx/sandesha/project.xml Index: project.xml =================================================================== RCS file: /home/cvs/ws-fx/sandesha/project.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- project.xml 2 Mar 2005 03:16:2397770910.2 +++ project.xml 2 Mar 2005 06:09:05 -0000 1.3 @@ -231,6 +231,17 @@ <module>true</module> </properties> </dependency> + + <dependency> + <groupId>log4j</groupId> + <artifactId>log4j</artifactId> + <version>1.2.8</version> + <properties> + <module>true</module> + </properties> + </dependency> + + </dependencies> 1.9 +0 -1 ws-fx/sandesha/src/org/apache/sandesha/storage/queue/SandeshaQueue.java Index: SandeshaQueue.java =================================================================== RCS file: /home/cvs/ws-fx/sandesha/src/org/apache/sandesha/storage/queue/SandeshaQueue.java,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- SandeshaQueue.java 2 Mar 2005 03:16:2397770910.8 +++ SandeshaQueue.java 2 Mar 2005 06:09:05 -0000 1.9 @@ -231,7 +231,6 @@ throw new QueueException(Constants.Queue.SEQUENCE_ID_NULL); synchronized (outgoingMap) { - System.out.println("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF "+sequenceId); OutgoingSequence rsh = new OutgoingSequence(sequenceId); outgoingMap.put(sequenceId, rsh); } 1.1 ws-fx/sandesha/config/commons-logging.properties Index: commons-logging.properties =================================================================== # This is the logging properties that goes to the war, there are two logging conf kept at the # svn, one for developement (one at src/test-resources) and other for producation # Uncomment the next line to disable all logging. #org.apache.commons.logging.Log=org.apache.commons.logging.impl.NoOpLog # Uncomment the next line to enable the simple log based logging #org.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog # Uncomment the next line to enable log4j based logging org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger 1.1 ws-fx/sandesha/config/log4j.properties Index: log4j.properties =================================================================== ## Use two appenders, one to log to console, another to log to a file # This is the logging properties that goes to the war, there are two logging conf kept at the # svn, one for developement (one at src/test-resources) and other for producation log4j.rootCategory=ERROR, LOGFILE #### appender writes to a file log4j.appender.LOGFILE=org.apache.log4j.RollingFileAppender log4j.appender.LOGFILE.File=axis.log # Control the maximum log file size log4j.appender.LOGFILE.MaxFileSize=10000KB # Archive log files (one backup file here) log4j.appender.LOGFILE.MaxBackupIndex=100 log4j.appender.LOGFILE.layout=org.apache.log4j.PatternLayout log4j.appender.LOGFILE.layout.ConversionPattern=%6r %5p [%t] (%F:%L) - %m%n From kimberly77@example.net Wed Mar 02 11:41:00 2005 Return-Path: <kimberly77@example.net> Delivered-To: kimberly77@example.net Received: (qmail 79216 invoked from network); 2 Mar 2005 11:40:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 2 Mar 2005 11:40:59 -0000 Received: (qmail 5073 invoked by uid 500); 2 Mar 2005 11:40:58 -0000 Delivered-To: kimberly77@example.net Received: (qmail 5028 invoked by uid 500); 2 Mar 2005 11:40:58 -0000 Mailing-List: contact kimberly77@example.net; run by ezmlm Precedence: bulk list-help: <mailto:kimberly77@example.net> list-unsubscribe: <mailto:kimberly77@example.net> List-Post: <mailto:kimberly77@example.net> Delivered-To: mailing list kimberly77@example.net Received: (qmail 5014 invoked by uid 99); 2 Mar 2005 11:40:58 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from 83.161.120.155.ptr.us.xo.net (HELO mail.infravio.com) (83.161.120.155) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 02 Mar 2005 03:40:56 -0800 Received: from SATHISHKUMAR ([83.161.120.155]) by mail.infravio.com with Microsoft SMTPSVC(5.0.2195.6713); Wed, 2 Mar 2005 03:40:31 -0800 Message-ID: <kimberly77@example.net> Reply-To: "Sathish Kumar" <kimberly77@example.net> From: "Sathish Kumar" <kimberly77@example.net> To: <kimberly77@example.net> References: <kimberly77@example.net> Subject: Verify Signature without using Crypto Date: Wed, 2 Mar 2005 17:05:27 +0530 Organization: Infravio Software Technologies Pvt. Ltd. MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-OriginalArrivalTime: 02 Mar 2005 11:40:32.0296 (UTC) FILETIME=[A41EE280:01C51F1C] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi All, Iam using the method processSecurityHeader( ) from WSSecurityEngine class to verify a Signature. When i sign a soap request, i use a Private key to sign it. (Using a PFX file and pass a crytpo). I pass the public certificate in the wire. When i try to verify it from the server side, should i definitely need a crypto file and is it not possible to use only the public certificate passed on the wire to verify the signature ? Thanks, Sathish Kumar T.K. From kimberly77@example.net Wed Mar 02 11:53:45 2005 Return-Path: <kimberly77@example.net> Delivered-To: kimberly77@example.net Received: (qmail 86176 invoked from network); 2 Mar 2005 11:53:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 2 Mar 2005 11:53:45 -0000 Received: (qmail 19367 invoked by uid 500); 2 Mar 2005 11:53:44 -0000 Delivered-To: kimberly77@example.net Received: (qmail 19328 invoked by uid 500); 2 Mar 2005 11:53:44 -0000 Mailing-List: contact kimberly77@example.net; run by ezmlm Precedence: bulk list-help: <mailto:kimberly77@example.net> list-unsubscribe: <mailto:kimberly77@example.net> List-Post: <mailto:kimberly77@example.net> Delivered-To: mailing list kimberly77@example.net Received: (qmail 19311 invoked by uid 500); 2 Mar 2005 11:53:44 -0000 Delivered-To: kimberly77@example.net Received: (qmail 19306 invoked by uid 99); 2 Mar 2005 11:53:43 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 02 Mar 2005 03:53:43 -0800 Received: (qmail 86135 invoked by uid 1780); 2 Mar 2005 11:53:42 -0000 Date: 2 Mar 2005 11:53:42 -0000 Message-ID: <kimberly77@example.net> From: kimberly77@example.net To: kimberly77@example.net Subject: cvs commit: ws-fx/sandesha/config log4j.properties X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N jaliya 2005/03/02 03:53:42 Added: sandesha/config log4j.properties Log: Added the configuration properties Revision Changes Path 1.1 ws-fx/sandesha/config/log4j.properties Index: log4j.properties =================================================================== ## Use two appenders, one to log to console, another to log to a file # This is the logging properties that goes to the war, there are two logging conf kept at the # svn, one for developement (one at src/test-resources) and other for producation log4j.rootCategory=ERROR, LOGFILE #### appender writes to a file log4j.appender.LOGFILE=org.apache.log4j.RollingFileAppender log4j.appender.LOGFILE.File=axis.log # Control the maximum log file size log4j.appender.LOGFILE.MaxFileSize=10000KB # Archive log files (one backup file here) log4j.appender.LOGFILE.MaxBackupIndex=100 log4j.appender.LOGFILE.layout=org.apache.log4j.PatternLayout log4j.appender.LOGFILE.layout.ConversionPattern=%6r %5p [%t] (%F:%L) - %m%n From kimberly77@example.net Wed Mar 02 14:23:25 2005 Return-Path: <kimberly77@example.net> Delivered-To: kimberly77@example.net Received: (qmail 83747 invoked from network); 2 Mar 2005 14:23:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 2 Mar 2005 14:23:25 -0000 Received: (qmail 84940 invoked by uid 500); 2 Mar 2005 14:23:22 -0000 Delivered-To: kimberly77@example.net Received: (qmail 84878 invoked by uid 500); 2 Mar 2005 14:23:21 -0000 Mailing-List: contact kimberly77@example.net; run by ezmlm Precedence: bulk list-help: <mailto:kimberly77@example.net> list-unsubscribe: <mailto:kimberly77@example.net> List-Post: <mailto:kimberly77@example.net> Delivered-To: mailing list kimberly77@example.net Received: (qmail 84851 invoked by uid 500); 2 Mar 2005 14:23:21 -0000 Delivered-To: kimberly77@example.net Received: (qmail 84845 invoked by uid 99); 2 Mar 2005 14:23:21 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 02 Mar 2005 06:23:21 -0800 Received: (qmail 83673 invoked by uid 1780); 2 Mar 2005 14:23:20 -0000 Date: 2 Mar 2005 14:23:20 -0000 Message-ID: <kimberly77@example.net> From: kimberly77@example.net To: kimberly77@example.net Subject: cvs commit: ws-fx/sandesha/target - New directory X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N jaliya 2005/03/02 06:23:20 ws-fx/sandesha/target - New directory From kimberly77@example.net Wed Mar 02 14:23:26 2005 Return-Path: <kimberly77@example.net> Delivered-To: kimberly77@example.net Received: (qmail 83737 invoked from network); 2 Mar 2005 14:23:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 2 Mar 2005 14:23:25 -0000 Received: (qmail 85013 invoked by uid 500); 2 Mar 2005 14:23:22 -0000 Delivered-To: kimberly77@example.net Received: (qmail 84885 invoked by uid 500); 2 Mar 2005 14:23:22 -0000 Mailing-List: contact kimberly77@example.net; run by ezmlm Precedence: bulk list-help: <mailto:kimberly77@example.net> list-unsubscribe: <mailto:kimberly77@example.net> List-Post: <mailto:kimberly77@example.net> Delivered-To: mailing list kimberly77@example.net Received: (qmail 84856 invoked by uid 500); 2 Mar 2005 14:23:21 -0000 Delivered-To: kimberly77@example.net Received: (qmail 84846 invoked by uid 99); 2 Mar 2005 14:23:21 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 02 Mar 2005 06:23:21 -0800 Received: (qmail 83678 invoked by uid 1780); 2 Mar 2005 14:23:20 -0000 Date: 2 Mar 2005 14:23:20 -0000 Message-ID: <kimberly77@example.net> From: kimberly77@example.net To: kimberly77@example.net Subject: cvs commit: ws-fx/sandesha/xdocs - New directory X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N jaliya 2005/03/02 06:23:20 ws-fx/sandesha/xdocs - New directory From kimberly77@example.net Wed Mar 02 14:26:08 2005 Return-Path: <kimberly77@example.net> Delivered-To: kimberly77@example.net Received: (qmail 85489 invoked from network); 2 Mar 2005 14:26:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 2 Mar 2005 14:26:08 -0000 Received: (qmail 90109 invoked by uid 500); 2 Mar 2005 14:26:07 -0000 Delivered-To: kimberly77@example.net Received: (qmail 90054 invoked by uid 500); 2 Mar 2005 14:26:06 -0000 Mailing-List: contact kimberly77@example.net; run by ezmlm Precedence: bulk list-help: <mailto:kimberly77@example.net> list-unsubscribe: <mailto:kimberly77@example.net> List-Post: <mailto:kimberly77@example.net> Delivered-To: mailing list kimberly77@example.net Received: (qmail 90040 invoked by uid 500); 2 Mar 2005 14:26:06 -0000 Delivered-To: kimberly77@example.net Received: (qmail 90036 invoked by uid 99); 2 Mar 2005 14:26:06 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 02 Mar 2005 06:26:05 -0800 Received: (qmail 85429 invoked by uid 1780); 2 Mar 2005 14:26:04 -0000 Date: 2 Mar 2005 14:26:04 -0000 Message-ID: <kimberly77@example.net> From: kimberly77@example.net To: kimberly77@example.net Subject: cvs commit: ws-fx/sandesha/xdocs navigation.xml userguide.html X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N jaliya 2005/03/02 06:26:04 Modified: sandesha/interop DeployClient.bat DeployService.bat RunSimpleAxisServer.bat build.xml server-config.wsdd sandesha maven.xml project.xml Added: sandesha/interop RunTCPMon.bat sandesha.log sandesha Sandesha.iml Sandesha.ipr Sandesha.iws velocity.log sandesha/lib log4j-1.2.8.jar sandesha/xdocs navigation.xml userguide.html Log: Modified the build files and added the userguide Revision Changes Path 1.4 +2 -0 ws-fx/sandesha/interop/DeployClient.bat Index: DeployClient.bat =================================================================== RCS file: /home/cvs/ws-fx/sandesha/interop/DeployClient.bat,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- DeployClient.bat 2 Mar 2005 03:16:30 -0000 1.3 +++ DeployClient.bat 2 Mar 2005 14:26:03 -0000 1.4 @@ -1,4 +1,5 @@ @echo off +set CLASSPATH=%CLASSPATH%;..\lib\addressing-SNAPSHOT.jar set CLASSPATH=%CLASSPATH%;..\lib\axis-1.2-RC2.jar set CLASSPATH=%CLASSPATH%;..\lib\axis-ant-SNAPSHOT.jar set CLASSPATH=%CLASSPATH%;..\lib\axis-jaxrpc-1.2-RC2.jar @@ -7,6 +8,7 @@ set CLASSPATH=%CLASSPATH%;..\lib\commons-logging-1.0.3.jar set CLASSPATH=%CLASSPATH%;..\lib\junit-3.8.1.jar set CLASSPATH=%CLASSPATH%;..\lib\axis-wsdl4j-1.2-RC1.jar +set CLASSPATH=%CLASSPATH%;..\lib\log4j-1.2.8.jar set CLASSPATH=%CLASSPATH%;..\lib\xerces.jar set CLASSPATH=%CLASSPATH%;..\target\classes java org.apache.axis.utils.Admin client ClientDeploy.wsdd 1.4 +2 -0 ws-fx/sandesha/interop/DeployService.bat Index: DeployService.bat =================================================================== RCS file: /home/cvs/ws-fx/sandesha/interop/DeployService.bat,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- DeployService.bat 2 Mar 2005 03:16:30 -0000 1.3 +++ DeployService.bat 2 Mar 2005 14:26:03 -0000 1.4 @@ -1,4 +1,5 @@ @echo off +set CLASSPATH=%CLASSPATH%;..\lib\addressing-SNAPSHOT.jar set CLASSPATH=%CLASSPATH%;..\lib\axis-1.2-RC2.jar set CLASSPATH=%CLASSPATH%;..\lib\axis-ant-SNAPSHOT.jar set CLASSPATH=%CLASSPATH%;..\lib\axis-jaxrpc-1.2-RC2.jar @@ -7,6 +8,7 @@ set CLASSPATH=%CLASSPATH%;..\lib\commons-logging-1.0.3.jar set CLASSPATH=%CLASSPATH%;..\lib\junit-3.8.1.jar set CLASSPATH=%CLASSPATH%;..\lib\axis-wsdl4j-1.2-RC1.jar +set CLASSPATH=%CLASSPATH%;..\lib\log4j-1.2.8.jar set CLASSPATH=%CLASSPATH%;..\lib\xerces.jar set CLASSPATH=%CLASSPATH%;..\target\classes java org.apache.axis.client.AdminClient RMInteropServiceDeploy.wsdd \ No newline at end of file 1.4 +2 -0 ws-fx/sandesha/interop/RunSimpleAxisServer.bat Index: RunSimpleAxisServer.bat =================================================================== RCS file: /home/cvs/ws-fx/sandesha/interop/RunSimpleAxisServer.bat,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- RunSimpleAxisServer.bat 2 Mar 2005 03:16:30 -0000 1.3 +++ RunSimpleAxisServer.bat 2 Mar 2005 14:26:03 -0000 1.4 @@ -8,7 +8,9 @@ set CLASSPATH=%CLASSPATH%;..\lib\commons-logging-1.0.3.jar set CLASSPATH=%CLASSPATH%;..\lib\junit-3.8.1.jar set CLASSPATH=%CLASSPATH%;..\lib\axis-wsdl4j-1.2-RC1.jar +set CLASSPATH=%CLASSPATH%;..\lib\log4j-1.2.8.jar set CLASSPATH=%CLASSPATH%;..\lib\xerces.jar set CLASSPATH=%CLASSPATH%;..\target\classes +set CLASSPATH=%CLASSPATH%;..\target\interop-classes java org.apache.axis.transport.http.SimpleAxisServer \ No newline at end of file 1.3 +2 -2 ws-fx/sandesha/interop/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/ws-fx/sandesha/interop/build.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- build.xml 2 Mar 2005 06:09:05 -0000 1.2 +++ build.xml 2 Mar 2005 14:26:03 -0000 1.3 @@ -359,8 +359,8 @@ </java> </target> - <target name="run_async_ping" depends="run_interop_sync_ping,shutdown_server"> </target> - <target name="run_sync_ping" depends="run_interop_async_ping,shutdown_server"> </target> + <target name="run_sync_ping" depends="run_interop_sync_ping,shutdown_server"> </target> + <target name="run_async_ping" depends="run_interop_async_ping,shutdown_server"> </target> <target name="run_echo_string" depends="run_interop_echo_string,shutdown_server"> </target> </project> 1.3 +2 -2 ws-fx/sandesha/interop/server-config.wsdd Index: server-config.wsdd =================================================================== RCS file: /home/cvs/ws-fx/sandesha/interop/server-config.wsdd,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- server-config.wsdd 2 Mar 2005 06:09:05 -0000 1.2 +++ server-config.wsdd 2 Mar 2005 14:26:03 -0000 1.3 @@ -3,9 +3,9 @@ <globalConfiguration> <parameter name="adminPassword" value="admin"/> <parameter name="disablePrettyXML" value="true"/> - <parameter name="attachments.implementation" value="org.apache.axis.attachments.AttachmentsImpl"/> - <parameter name="sendXsiTypes" value="true"/> <parameter name="sendMultiRefs" value="true"/> + <parameter name="sendXsiTypes" value="true"/> + <parameter name="attachments.implementation" value="org.apache.axis.attachments.AttachmentsImpl"/> <parameter name="sendXMLDeclaration" value="true"/> <requestFlow> <handler type="java:org.apache.axis.handlers.JWSHandler"> 1.1 ws-fx/sandesha/interop/RunTCPMon.bat Index: RunTCPMon.bat =================================================================== @echo off set CLASSPATH=%CLASSPATH%;..\lib\addressing-SNAPSHOT.jar set CLASSPATH=%CLASSPATH%;..\lib\axis-1.2-RC2.jar set CLASSPATH=%CLASSPATH%;..\lib\axis-ant-SNAPSHOT.jar set CLASSPATH=%CLASSPATH%;..\lib\axis-jaxrpc-1.2-RC2.jar set CLASSPATH=%CLASSPATH%;..\lib\axis-saaj-1.2-RC2.jar set CLASSPATH=%CLASSPATH%;..\lib\commons-discovery-SNAPSHOT.jar set CLASSPATH=%CLASSPATH%;..\lib\commons-logging-1.0.3.jar set CLASSPATH=%CLASSPATH%;..\lib\junit-3.8.1.jar set CLASSPATH=%CLASSPATH%;..\lib\axis-wsdl4j-1.2-RC1.jar set CLASSPATH=%CLASSPATH%;..\lib\log4j-1.2.8.jar set CLASSPATH=%CLASSPATH%;..\lib\xerces.jar set CLASSPATH=%CLASSPATH%;..\target\classes java org.apache.axis.utils.tcpmon 1.1 ws-fx/sandesha/interop/sandesha.log Index: sandesha.log =================================================================== 0 ERROR [main] (Admin.java:89) - Administration service requested to
{'source': 'Apache Software Foundation Public Mail Archives'}