[jboss-svn-commits] JBL Code SVN: r11740 - in labs/jbosstm/workspace/maciej.machulak/code/annotations: build and 5 other directories.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Tue May 8 05:02:38 EDT 2007
Author: maciej.machulak
Date: 2007-05-08 05:02:37 -0400 (Tue, 08 May 2007)
New Revision: 11740
Added:
labs/jbosstm/workspace/maciej.machulak/code/annotations/build.xml
labs/jbosstm/workspace/maciej.machulak/code/annotations/build/
labs/jbosstm/workspace/maciej.machulak/code/annotations/build/classes/
labs/jbosstm/workspace/maciej.machulak/code/annotations/build/classes/webserviceanno/
labs/jbosstm/workspace/maciej.machulak/code/annotations/build/classes/webserviceanno/FlightAT.class
labs/jbosstm/workspace/maciej.machulak/code/annotations/build/classes/webserviceanno/IFlightAT.class
labs/jbosstm/workspace/maciej.machulak/code/annotations/build/classes/webserviceanno/JaxWSServerHeaderContextProcessor.class
labs/jbosstm/workspace/maciej.machulak/code/annotations/build/classes/webserviceanno/TempParticipant.class
labs/jbosstm/workspace/maciej.machulak/code/annotations/build/classes/webserviceanno/WSParticipantAnnotationFactory.class
labs/jbosstm/workspace/maciej.machulak/code/annotations/build/classes/webserviceanno/WSParticipantAnnotationProcessor.class
labs/jbosstm/workspace/maciej.machulak/code/annotations/build/classes/webserviceanno/WSTransactionAT.class
labs/jbosstm/workspace/maciej.machulak/code/annotations/build/classes/webserviceanno/jaxws-handlers-server.xml
labs/jbosstm/workspace/maciej.machulak/code/annotations/build/webapps/
labs/jbosstm/workspace/maciej.machulak/code/annotations/build/webapps/webserviceanno.jar
labs/jbosstm/workspace/maciej.machulak/code/annotations/lib/
labs/jbosstm/workspace/maciej.machulak/code/annotations/lib/jbossjts.jar
labs/jbosstm/workspace/maciej.machulak/code/annotations/lib/tools.jar
labs/jbosstm/workspace/maciej.machulak/code/annotations/lib/txbridge.jar
labs/jbosstm/workspace/maciej.machulak/code/annotations/lib/ws-c.jar
labs/jbosstm/workspace/maciej.machulak/code/annotations/lib/ws-t.jar
labs/jbosstm/workspace/maciej.machulak/code/annotations/lib/wsas.jar
labs/jbosstm/workspace/maciej.machulak/code/annotations/lib/wscf.jar
labs/jbosstm/workspace/maciej.machulak/code/annotations/lib/wstx-asl-2.0.3.jar
labs/jbosstm/workspace/maciej.machulak/code/annotations/lib/wstx.jar
labs/jbosstm/workspace/maciej.machulak/code/annotations/resources/
labs/jbosstm/workspace/maciej.machulak/code/annotations/resources/application.xml
labs/jbosstm/workspace/maciej.machulak/code/annotations/resources/jaxws-handlers-server.xml
labs/jbosstm/workspace/maciej.machulak/code/annotations/resources/jaxws-handlers-server.xml.bak
Log:
first commit
Added: labs/jbosstm/workspace/maciej.machulak/code/annotations/build/classes/webserviceanno/FlightAT.class
===================================================================
(Binary files differ)
Property changes on: labs/jbosstm/workspace/maciej.machulak/code/annotations/build/classes/webserviceanno/FlightAT.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbosstm/workspace/maciej.machulak/code/annotations/build/classes/webserviceanno/IFlightAT.class
===================================================================
(Binary files differ)
Property changes on: labs/jbosstm/workspace/maciej.machulak/code/annotations/build/classes/webserviceanno/IFlightAT.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbosstm/workspace/maciej.machulak/code/annotations/build/classes/webserviceanno/JaxWSServerHeaderContextProcessor.class
===================================================================
(Binary files differ)
Property changes on: labs/jbosstm/workspace/maciej.machulak/code/annotations/build/classes/webserviceanno/JaxWSServerHeaderContextProcessor.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbosstm/workspace/maciej.machulak/code/annotations/build/classes/webserviceanno/TempParticipant.class
===================================================================
(Binary files differ)
Property changes on: labs/jbosstm/workspace/maciej.machulak/code/annotations/build/classes/webserviceanno/TempParticipant.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbosstm/workspace/maciej.machulak/code/annotations/build/classes/webserviceanno/WSParticipantAnnotationFactory.class
===================================================================
(Binary files differ)
Property changes on: labs/jbosstm/workspace/maciej.machulak/code/annotations/build/classes/webserviceanno/WSParticipantAnnotationFactory.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbosstm/workspace/maciej.machulak/code/annotations/build/classes/webserviceanno/WSParticipantAnnotationProcessor.class
===================================================================
(Binary files differ)
Property changes on: labs/jbosstm/workspace/maciej.machulak/code/annotations/build/classes/webserviceanno/WSParticipantAnnotationProcessor.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbosstm/workspace/maciej.machulak/code/annotations/build/classes/webserviceanno/WSTransactionAT.class
===================================================================
(Binary files differ)
Property changes on: labs/jbosstm/workspace/maciej.machulak/code/annotations/build/classes/webserviceanno/WSTransactionAT.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbosstm/workspace/maciej.machulak/code/annotations/build/classes/webserviceanno/jaxws-handlers-server.xml
===================================================================
--- labs/jbosstm/workspace/maciej.machulak/code/annotations/build/classes/webserviceanno/jaxws-handlers-server.xml (rev 0)
+++ labs/jbosstm/workspace/maciej.machulak/code/annotations/build/classes/webserviceanno/jaxws-handlers-server.xml 2007-05-08 09:02:37 UTC (rev 11740)
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<handler-chains xmlns="http://java.sun.com/xml/ns/javaee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/javaee javaee_web_services_1_2.xsd">
+
+ <handler-chain>
+ <protocol-bindings>##SOAP11_HTTP</protocol-bindings>
+
+ <!-- JSR 181 does not seem to define ordering of handlers in a chain, which may be a problem
+ Nor does it say anything about instances/threading/lifecycle
+ perhaps go from jar 101 (jax-rpc) instead?
+ 12.1.4 says default is to invoke in order of registration
+ 12.4 seems to imply you can't assume same instance will process request+reply
+ use set/setProperty on MessageContext for state
+ -->
+
+ <handler>
+ <handler-name>WebServicesTxContextHandler</handler-name>
+ <handler-class>webserviceanno.JaxWSServerHeaderContextProcessor</handler-class>
+ </handler>
+
+ </handler-chain>
+</handler-chains>
Property changes on: labs/jbosstm/workspace/maciej.machulak/code/annotations/build/classes/webserviceanno/jaxws-handlers-server.xml
___________________________________________________________________
Name: svn:eol-style
+ native
Added: labs/jbosstm/workspace/maciej.machulak/code/annotations/build/webapps/webserviceanno.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbosstm/workspace/maciej.machulak/code/annotations/build/webapps/webserviceanno.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbosstm/workspace/maciej.machulak/code/annotations/build.xml
===================================================================
--- labs/jbosstm/workspace/maciej.machulak/code/annotations/build.xml (rev 0)
+++ labs/jbosstm/workspace/maciej.machulak/code/annotations/build.xml 2007-05-08 09:02:37 UTC (rev 11740)
@@ -0,0 +1,135 @@
+<?xml version="1.0"?>
+<project name="wstest" default="deploy" basedir=".">
+ <!-- MODIFY THE NEXT THREE LINES -->
+ <property name="jboss.home" value="C:\RedHat\JBossAS\build\output\jboss-4.2.0.GA"/>
+ <property name="jndi.host" value="localhost"/>
+ <property name="jndi.port" value="11099"/>
+ <property name="sleep.time" value="5"/>
+
+ <property name="jboss.profile" value="all"/>
+ <property name="build.dir" value="build"/>
+ <property name="src.dir" value="src"/>
+ <property name="doc.dir" value="doc"/>
+ <property name="dd.dir" value="dd"/>
+ <property name="lib.dir" value="lib"/>
+ <property name="resources.dir" value="resources"/>
+
+ <target name="clean">
+ <delete dir="${build.dir}"/>
+ </target>
+
+ <target name="init" depends="clean">
+ <mkdir dir="${build.dir}"/>
+ <mkdir dir="${build.dir}/classes"/>
+ <mkdir dir="${build.dir}/webapps"/>
+ <mkdir dir="${build.dir}/lib"/>
+ </target>
+
+ <target name="delete-JBoss-working-dirs">
+ <delete dir="${jboss.home}/server/${jboss.profile}/data"/>
+ <delete dir="${jboss.home}/server/${jboss.profile}/log"/>
+ <delete dir="${jboss.home}/server/${jboss.profile}/tmp"/>
+ <delete dir="${jboss.home}/server/${jboss.profile}/work"/>
+ </target>
+
+ <path id="classpath">
+ <fileset dir="${jboss.home}/server/${jboss.profile}/lib" includes="*.jar"/>
+ <fileset dir="${jboss.home}/client" includes="*.jar"/>
+ <fileset dir="lib" includes="*.jar"/>
+ <fileset dir="${jboss.home}/server/${jboss.profile}/deploy/jbossws.sar" includes="*.jar"/>
+ <fileset dir="C:/Program Files/JetBrains/IntelliJ IDEA 6.0/lib" includes="javaee.jar"/>
+ <pathelement location="${build.dir}/classes"/>
+ </path>
+
+ <path id="build.classpath">
+ <pathelement location="${build.dir}/classes"/>
+ </path>
+
+ <target name="compile" depends="init">
+ <mkdir dir="${build.dir}"/>
+ <javac destdir="${build.dir}/classes" classpathref="classpath">
+ <src path="${src.dir}"/>
+ </javac>
+ </target>
+
+ <target name="docs" depends="compile">
+ <javadoc destdir="${doc.dir}/api" packagenames="services.*" private="true">
+ <sourcepath>
+ <pathelement location="${src.dir}"/>
+ </sourcepath>
+ <classpath>
+ <path refid="classpath"/>
+ </classpath>
+ </javadoc>
+ </target>
+
+ <target name="services" depends="compile">
+ <copy file="${resources.dir}/jaxws-handlers-server.xml" todir="${build.dir}/classes/webserviceanno/"/>
+ <jar destfile="${build.dir}/webapps/webserviceanno.jar">
+ <metainf dir="${resources.dir}">
+ <include name="persistence.xml"/>
+ </metainf>
+ <fileset dir="${build.dir}/classes">
+ <include name="**/*.class"/>
+ <include name="**/jaxws-handlers-server.xml"/>
+ </fileset>
+ </jar>
+ </target>
+
+ <target name="clients" depends="compile">
+ <copy file="${resources.dir}/jaxws-handlers-client.xml" todir="${build.dir}/classes/com/machulak/jboss/test/wstest/clients/"/>
+ <war destfile="${build.dir}/webapps/wstest.war">
+ <webinf dir="${resources.dir}">
+ <include name="web.xml"/>
+ </webinf>
+ <fileset dir="${build.dir}/classes">
+ <include name="**/*.class"/>
+ <include name="**/jaxws-handlers-client.xml"/>
+ <exclude name="com/machulak/jboss/test/wstest/services/**/*"/>
+ </fileset>
+ <fileset dir="${resources.dir}">
+ <include name="index.jsp"/>
+ <include name="style.css"/>
+ </fileset>
+ </war>
+ </target>
+
+ <target name="ear" depends="services,clients">
+ <ear earfile="${build.dir}/wstest.ear" appxml="${resources.dir}/application.xml">
+ <fileset dir="${build.dir}/webapps" includes="wstest-service-restaurant.jar wstest-service-flight.jar wstest.war"/>
+ <fileset dir="lib" includes="*.jar"/>
+ </ear>
+ </target>
+
+ <target name="deploy" depends="services">
+ <copy file="${build.dir}/webapps/webserviceanno.jar" todir="${jboss.home}/server/${jboss.profile}/deploy"/>
+ </target>
+
+ <target name="init.db" depends="deploy">
+ <java classname="setup.InitClient" classpathref="classpath" fork="yes" dir="${build.dir}/classes">
+ <arg value="${jndi.host}"/>
+ <arg value="${jndi.port}"/>
+ </java>
+ </target>
+
+ <target name="deploy-and-init" depends="deploy">
+ <sleep seconds="${sleep.time}" description="give JBoss time to deploy the app"/>
+ <java classname="setup.InitClient" classpathref="classpath" fork="yes" dir="${build.dir}/classes">
+ <arg value="${jndi.host}"/>
+ <arg value="${jndi.port}"/>
+ </java>
+ </target>
+
+
+ <target name="client" depends="deploy-and-init">
+ <java classname="client.HouseShoppingClient" classpathref="classpath" dir="${build.dir}/classes">
+ <arg value="${jndi.host}"/>
+ <arg value="${jndi.port}"/>
+ </java>
+ </target>
+
+ <target name="undeploy">
+ <delete file="${jboss.home}/server/${jboss.profile}/deploy/wstest.jar"/>
+ </target>
+
+</project>
\ No newline at end of file
Property changes on: labs/jbosstm/workspace/maciej.machulak/code/annotations/build.xml
___________________________________________________________________
Name: svn:eol-style
+ native
Added: labs/jbosstm/workspace/maciej.machulak/code/annotations/lib/jbossjts.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbosstm/workspace/maciej.machulak/code/annotations/lib/jbossjts.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbosstm/workspace/maciej.machulak/code/annotations/lib/tools.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbosstm/workspace/maciej.machulak/code/annotations/lib/tools.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbosstm/workspace/maciej.machulak/code/annotations/lib/txbridge.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbosstm/workspace/maciej.machulak/code/annotations/lib/txbridge.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbosstm/workspace/maciej.machulak/code/annotations/lib/ws-c.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbosstm/workspace/maciej.machulak/code/annotations/lib/ws-c.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbosstm/workspace/maciej.machulak/code/annotations/lib/ws-t.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbosstm/workspace/maciej.machulak/code/annotations/lib/ws-t.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbosstm/workspace/maciej.machulak/code/annotations/lib/wsas.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbosstm/workspace/maciej.machulak/code/annotations/lib/wsas.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbosstm/workspace/maciej.machulak/code/annotations/lib/wscf.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbosstm/workspace/maciej.machulak/code/annotations/lib/wscf.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbosstm/workspace/maciej.machulak/code/annotations/lib/wstx-asl-2.0.3.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbosstm/workspace/maciej.machulak/code/annotations/lib/wstx-asl-2.0.3.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbosstm/workspace/maciej.machulak/code/annotations/lib/wstx.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbosstm/workspace/maciej.machulak/code/annotations/lib/wstx.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbosstm/workspace/maciej.machulak/code/annotations/resources/application.xml
===================================================================
--- labs/jbosstm/workspace/maciej.machulak/code/annotations/resources/application.xml (rev 0)
+++ labs/jbosstm/workspace/maciej.machulak/code/annotations/resources/application.xml 2007-05-08 09:02:37 UTC (rev 11740)
@@ -0,0 +1,35 @@
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ as indicated by the @author tags.
+ See the copyright.txt in the distribution for a full listing
+ of individual contributors.
+ This copyrighted material is made available to anyone wishing to use,
+ modify, copy, or redistribute it subject to the terms and conditions
+ of the GNU General Public License, v. 2.0.
+ This program is distributed in the hope that it will be useful, but WITHOUT A
+ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ PARTICULAR PURPOSE. See the GNU General Public License for more details.
+ You should have received a copy of the GNU General Public License,
+ v. 2.0 along with this distribution; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ MA 02110-1301, USA.
+
+ (C) 2005-2006,
+ @author JBoss Inc.
+-->
+
+ <!-- $Id: axis-application.xml,v 1.8.4.1 2005/11/22 10:42:05 kconner Exp $ -->
+
+<!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN" "http://java.sun.com/dtd/application_1_3.dtd">
+
+<application>
+ <display-name>Annotations demo</display-name>
+
+ <description>Annotations demo</description>
+
+ <module>
+ <ejb>webserviceanno.jar</ejb>
+ </module>
+
+</application>
Property changes on: labs/jbosstm/workspace/maciej.machulak/code/annotations/resources/application.xml
___________________________________________________________________
Name: svn:eol-style
+ native
Added: labs/jbosstm/workspace/maciej.machulak/code/annotations/resources/jaxws-handlers-server.xml
===================================================================
--- labs/jbosstm/workspace/maciej.machulak/code/annotations/resources/jaxws-handlers-server.xml (rev 0)
+++ labs/jbosstm/workspace/maciej.machulak/code/annotations/resources/jaxws-handlers-server.xml 2007-05-08 09:02:37 UTC (rev 11740)
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<handler-chains xmlns="http://java.sun.com/xml/ns/javaee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/javaee javaee_web_services_1_2.xsd">
+
+ <handler-chain>
+ <protocol-bindings>##SOAP11_HTTP</protocol-bindings>
+
+ <!-- JSR 181 does not seem to define ordering of handlers in a chain, which may be a problem
+ Nor does it say anything about instances/threading/lifecycle
+ perhaps go from jar 101 (jax-rpc) instead?
+ 12.1.4 says default is to invoke in order of registration
+ 12.4 seems to imply you can't assume same instance will process request+reply
+ use set/setProperty on MessageContext for state
+ -->
+
+ <handler>
+ <handler-name>WebServicesTxContextHandler</handler-name>
+ <handler-class>webserviceanno.JaxWSServerHeaderContextProcessor</handler-class>
+ </handler>
+
+ </handler-chain>
+</handler-chains>
Property changes on: labs/jbosstm/workspace/maciej.machulak/code/annotations/resources/jaxws-handlers-server.xml
___________________________________________________________________
Name: svn:eol-style
+ native
Added: labs/jbosstm/workspace/maciej.machulak/code/annotations/resources/jaxws-handlers-server.xml.bak
===================================================================
--- labs/jbosstm/workspace/maciej.machulak/code/annotations/resources/jaxws-handlers-server.xml.bak (rev 0)
+++ labs/jbosstm/workspace/maciej.machulak/code/annotations/resources/jaxws-handlers-server.xml.bak 2007-05-08 09:02:37 UTC (rev 11740)
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<handler-chains xmlns="http://java.sun.com/xml/ns/javaee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/javaee javaee_web_services_1_2.xsd">
+
+ <handler-chain>
+ <protocol-bindings>##SOAP11_HTTP</protocol-bindings>
+
+ <!-- JSR 181 does not seem to define ordering of handlers in a chain, which may be a problem
+ Nor does it say anything about instances/threading/lifecycle
+ perhaps go from jar 101 (jax-rpc) instead?
+ 12.1.4 says default is to invoke in order of registration
+ 12.4 seems to imply you can't assume same instance will process request+reply
+ use set/setProperty on MessageContext for state
+ -->
+
+ <handler>
+ <handler-name>WebServicesTxContextHandler</handler-name>
+ <handler-class>com.machulak.jboss.test.wstest.services.JaxWSServerHeaderContextProcessor</handler-class>
+ </handler>
+
+ </handler-chain>
+</handler-chains>
Property changes on: labs/jbosstm/workspace/maciej.machulak/code/annotations/resources/jaxws-handlers-server.xml.bak
___________________________________________________________________
Name: svn:eol-style
+ native
More information about the jboss-svn-commits
mailing list