[jboss-svn-commits] JBL Code SVN: r11584 - in labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel: soapui-client and 24 other directories.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Wed May 2 10:16:08 EDT 2007
Author: tfennelly
Date: 2007-05-02 10:16:08 -0400 (Wed, 02 May 2007)
New Revision: 11584
Added:
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/build.xml
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/pom.xml
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/lib/
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/lib/commons-codec-1.2.jar
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/lib/commons-httpclient-3.0.1.jar
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/lib/commons-logging-1.0.4.jar
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/lib/jboss-system-client.jar
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/lib/jboss-system.jar
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/lib/jsr173_1.0_api-xmlbeans-2.2.0.jar
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/lib/looks-2.1.2.jar
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/lib/milyn-commons-0.9-SNAPSHOT.jar
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/lib/ognl-2.6.9.jar
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/lib/soapui-1.7.jar
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/lib/soapui-xmlbeans-1.7.jar
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/lib/wsdl4j-1.6.2.jar
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/lib/xbean-2.2.0.jar
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/main/
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/main/java/
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/main/java/org/
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/main/java/org/jboss/
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/main/java/org/jboss/soa/
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/main/java/org/jboss/soa/esb/
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/main/java/org/jboss/soa/esb/services/
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/main/java/org/jboss/soa/esb/services/soapui/
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/main/java/org/jboss/soa/esb/services/soapui/SoapUIClientService.java
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/main/java/org/jboss/soa/esb/services/soapui/SoapUIClientServiceMBean.java
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/main/resources/
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/main/resources/META-INF/
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/main/resources/META-INF/jboss-service.xml
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/test/
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/test/java/
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/test/java/org/
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/test/java/org/jboss/
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/test/java/org/jboss/soa/
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/test/java/org/jboss/soa/esb/
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/test/java/org/jboss/soa/esb/services/
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/RetailerCallback.wsdl
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/SoapUIClientServiceMBeanUnitTest.java
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/expected_01.xml
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/test/resources/
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/src/org/jboss/esb/quickstarts/bpel/orderNotificationBean.groovy
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/src/org/jboss/soa/esb/actions/
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/src/org/jboss/soa/esb/actions/soap/
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/src/org/jboss/soa/esb/actions/soap/SOAPUIClient.java
Modified:
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/build.xml
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/jboss-esb.xml
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/src/org/jboss/esb/quickstarts/bpel/OrderManagerService.java
Log:
Quickstart Updates - working end to end now :-) Still some more tidying up to do.
Modified: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/build.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/build.xml 2007-05-02 14:02:12 UTC (rev 11583)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/build.xml 2007-05-02 14:16:08 UTC (rev 11584)
@@ -38,11 +38,17 @@
<include name="**/*"/>
</fileset>
</war>
+
+ <!-- Build the SOAPUI Client Service. -->
+ <ant dir="${basedir}/soapui-client" />
</target>
<target name="quickstart-specific-deploys">
- <copy file="${build.dir}/order-manager/order-manager-service.jar" overwrite="true" todir="${org.jboss.esb.server.deploy.dir}" />
- <copy file="${build.dir}/shipping/shipping-service.jar" overwrite="true" todir="${org.jboss.esb.server.deploy.dir}" />
+ <copy overwrite="true" todir="${org.jboss.esb.server.deploy.dir}">
+ <fileset dir="${build.dir}/order-manager" includes="order-manager-service.jar" />
+ <fileset dir="${build.dir}/shipping" includes="shipping-service.jar" />
+ <fileset dir="${basedir}/soapui-client/target" includes="soapui-client.sar" />
+ </copy>
</target>
<target name="build-ejb-service">
@@ -63,4 +69,8 @@
</jar>
</target>
+ <target name="quickstart-specific-clean">
+ <ant dir="${basedir}/soapui-client" target="clean" />
+ </target>
+
</project>
\ No newline at end of file
Modified: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/jboss-esb.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/jboss-esb.xml 2007-05-02 14:02:12 UTC (rev 11583)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/jboss-esb.xml 2007-05-02 14:16:08 UTC (rev 11584)
@@ -19,9 +19,9 @@
<jms-message-filter dest-type="QUEUE" dest-name="queue/quickstart_webservice_bpel_esb"
selector="service='shipper'"/>
</jms-bus>
- <jms-bus busid="GroovyService">
+ <jms-bus busid="OrderNotificationService">
<jms-message-filter dest-type="QUEUE" dest-name="queue/quickstart_webservice_bpel_esb"
- selector="service='groovyhelper'"/>
+ selector="service='orderNotifier'"/>
</jms-bus>
</jms-provider>
@@ -87,13 +87,19 @@
</actions>
</service>
- <service category="Helper_SOAPClient" name="Helper_SOAPClient" description="Groovy Helper Service">
+ <service category="OrderNotificationService" name="OrderNotificationService" description="Order Notification Service">
<listeners>
- <groovy-listener name="soap-client" script="MessageInjectionConsole" is-gateway="true" />
- <jms-listener name="JMS-Helper-ESBListener" busidref="GroovyService"/>
+ <groovy-listener name="OrderNotificationService-Injection-Gateway" script="MessageInjectionConsole" is-gateway="true" />
+ <jms-listener name="OrderNotificationService" busidref="OrderNotificationService"/>
</listeners>
<actions>
- <action name="groovy" class="org.jboss.soa.esb.actions.scripting.GroovyActionProcessor" />
+ <action name="message-populator" class="org.jboss.soa.esb.actions.scripting.GroovyActionProcessor">
+ <property name="script" value="/org/jboss/esb/quickstarts/bpel/orderNotificationBean.groovy" />
+ </action>
+ <action name="soapui-client" class="org.jboss.soa.esb.actions.soap.SOAPUIClient">
+ <property name="wsdl" value="http://localhost:18080/active-bpel/services/RetailerCallback?wsdl" />
+ <property name="operation" value="SendSalesOrderNotification" />
+ </action>
</actions>
</service>
Added: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/build.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/build.xml (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/build.xml 2007-05-02 14:16:08 UTC (rev 11584)
@@ -0,0 +1,181 @@
+<!--
+ **** THIS SCRIPT WAS GENERATED BY MAVEN
+-->
+
+<project name="soapui-client" default="sar" basedir=".">
+ <property file="${user.home}/.m2/maven.properties"/>
+ <property name="maven.build.output" value="target/classes"/>
+ <property name="maven.build.directory" value="target"/>
+ <property name="maven.build.final.name" value="soapui-client"/>
+ <property name="maven.test.reports" value="${maven.build.directory}/test-reports"/>
+ <property name="maven.test.output" value="target/test-classes"/>
+ <property name="maven.repo.local" value="${user.home}/.m2/repository"/>
+ <path id="build.classpath">
+ <!-- fileset dir="${maven.repo.local}">
+ <include name="eviware/soapui-xmlbeans/1.7/soapui-xmlbeans-1.7.jar"/>
+ <include name="commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar"/>
+ <include name="xmlbeans/xbean/2.2.0/xbean-2.2.0.jar"/>
+ <include name="commons-codec/commons-codec/1.2/commons-codec-1.2.jar"/>
+ <include name="eviware/soapui/1.7/soapui-1.7.jar"/>
+ <include name="com/jgoodies/looks/2.1.2/looks-2.1.2.jar"/>
+ <include name="commons-httpclient/commons-httpclient/3.0.1/commons-httpclient-3.0.1.jar"/>
+ </fileset -->
+ <fileset dir="src/lib" includes="*.jar" />
+ <fileset dir="../../../../lib/ext" includes="*.jar" />
+ </path>
+ <target name="clean" description="Clean the output directory">
+ <delete dir="${maven.build.directory}"/>
+ </target>
+ <target name="compile" depends="get-deps" description="Compile the code">
+ <mkdir dir="${maven.build.output}"/>
+ <javac destdir="${maven.build.output}" excludes="**/package.html" debug="true" deprecation="true"
+ optimize="false">
+ <src>
+ <pathelement location="src/main/java"/>
+ </src>
+ <classpath refid="build.classpath"/>
+ </javac>
+ <copy todir="${maven.build.output}">
+ <fileset dir="src/main/java">
+ <exclude name="**/*.java"/>
+ </fileset>
+ </copy>
+ <copy todir="${maven.build.output}">
+ <fileset dir="src/main/resources"/>
+ </copy>
+ </target>
+ <target name="jar" depends="compile,test" description="Clean the JAR">
+ <jar jarfile="${maven.build.directory}/${maven.build.final.name}.jar" basedir="${maven.build.output}"
+ excludes="**/package.html"/>
+ </target>
+ <target name="sar" depends="clean,jar" description="SAR">
+ <delete dir="${maven.build.directory}/sar" />
+ <mkdir dir="${maven.build.directory}/sar" />
+ <copy todir="${maven.build.directory}/sar">
+ <fileset dir="src" includes="lib/*.jar" excludes="lib/jboss-*.jar" />
+ <fileset dir="src/main/resources" />
+ </copy>
+ <copy todir="${maven.build.directory}/sar">
+ <!-- fileset dir="${maven.build.directory}" includes="${maven.build.final.name}.jar" / -->
+ <fileset dir="${maven.build.directory}/classes" />
+ </copy>
+
+ <jar jarfile="${maven.build.directory}/${maven.build.final.name}.sar" basedir="${maven.build.directory}/sar" />
+ </target>
+ <target name="compile-tests" depends="junit-present, compile" description="Compile the test code"
+ if="junit.present">
+ <mkdir dir="${maven.test.output}"/>
+ <javac destdir="${maven.test.output}" excludes="**/package.html" debug="true" deprecation="true"
+ optimize="false">
+ <src>
+ <pathelement location="src/test/java"/>
+ </src>
+ <classpath>
+ <path refid="build.classpath"/>
+ <pathelement location="${maven.build.output}"/>
+ </classpath>
+ </javac>
+ <copy todir="${maven.test.output}">
+ <fileset dir="src/test/java">
+ <exclude name="**/*.java"/>
+ </fileset>
+ </copy>
+ <copy todir="${maven.test.output}">
+ <fileset dir="src/test/resources"/>
+ </copy>
+ </target>
+ <target name="test" depends="junit-present, compile-tests" if="junit.present" description="Run the test cases">
+ <mkdir dir="${maven.test.reports}"/>
+ <junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true" dir=".">
+ <sysproperty key="basedir" value="."/>
+ <formatter type="xml"/>
+ <formatter type="plain" usefile="false"/>
+ <classpath>
+ <path refid="build.classpath"/>
+ <pathelement location="${maven.build.output}"/>
+ <pathelement location="${maven.test.output}"/>
+ </classpath>
+ <batchtest todir="${maven.test.reports}">
+ <fileset dir="src/test/java">
+ <include name="**/*Test.java"/>
+ <exclude name="**/*Abstract*Test.java"/>
+ </fileset>
+ </batchtest>
+ </junit>
+ </target>
+ <target name="test-junit-present">
+ <available classname="junit.framework.Test" property="junit.present"/>
+ </target>
+ <target name="junit-present" depends="test-junit-present" unless="junit.present">
+ <echo>================================= WARNING ================================</echo>
+ <echo>Junit isn't present in your $ANT_HOME/lib directory. Tests not executed.</echo>
+ <echo>==========================================================================</echo>
+ </target>
+ <target name="test-offline">
+ <condition property="maven.mode.offline">
+ <equals arg1="${build.sysclasspath}" arg2="only"/>
+ </condition>
+ </target>
+ <target name="get-deps" depends="test-offline" description="Download all dependencies" unless="maven.mode.offline">
+ <mkdir dir="${maven.repo.local}"/>
+ <!--
+ <get src="http://repository.jboss.com/maven2//eviware/soapui-xmlbeans/1.7/soapui-xmlbeans-1.7.jar"
+ dest="${maven.repo.local}/eviware/soapui-xmlbeans/1.7/soapui-xmlbeans-1.7.jar" usetimestamp="true"
+ ignoreerrors="true"/>
+ <get src="http://www.eviware.com/repository/maven2//eviware/soapui-xmlbeans/1.7/soapui-xmlbeans-1.7.jar"
+ dest="${maven.repo.local}/eviware/soapui-xmlbeans/1.7/soapui-xmlbeans-1.7.jar" usetimestamp="true"
+ ignoreerrors="true"/>
+ <get src="http://repo1.maven.org/maven2/eviware/soapui-xmlbeans/1.7/soapui-xmlbeans-1.7.jar"
+ dest="${maven.repo.local}/eviware/soapui-xmlbeans/1.7/soapui-xmlbeans-1.7.jar" usetimestamp="true"
+ ignoreerrors="true"/>
+ <get src="http://repository.jboss.com/maven2//commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar"
+ dest="${maven.repo.local}/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar"
+ usetimestamp="true" ignoreerrors="true"/>
+ <get src="http://www.eviware.com/repository/maven2//commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar"
+ dest="${maven.repo.local}/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar"
+ usetimestamp="true" ignoreerrors="true"/>
+ <get src="http://repo1.maven.org/maven2/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar"
+ dest="${maven.repo.local}/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar"
+ usetimestamp="true" ignoreerrors="true"/>
+ <get src="http://repository.jboss.com/maven2//xmlbeans/xbean/2.2.0/xbean-2.2.0.jar"
+ dest="${maven.repo.local}/xmlbeans/xbean/2.2.0/xbean-2.2.0.jar" usetimestamp="true" ignoreerrors="true"/>
+ <get src="http://www.eviware.com/repository/maven2//xmlbeans/xbean/2.2.0/xbean-2.2.0.jar"
+ dest="${maven.repo.local}/xmlbeans/xbean/2.2.0/xbean-2.2.0.jar" usetimestamp="true" ignoreerrors="true"/>
+ <get src="http://repo1.maven.org/maven2/xmlbeans/xbean/2.2.0/xbean-2.2.0.jar"
+ dest="${maven.repo.local}/xmlbeans/xbean/2.2.0/xbean-2.2.0.jar" usetimestamp="true" ignoreerrors="true"/>
+ <get src="http://repository.jboss.com/maven2//commons-codec/commons-codec/1.2/commons-codec-1.2.jar"
+ dest="${maven.repo.local}/commons-codec/commons-codec/1.2/commons-codec-1.2.jar" usetimestamp="true"
+ ignoreerrors="true"/>
+ <get src="http://www.eviware.com/repository/maven2//commons-codec/commons-codec/1.2/commons-codec-1.2.jar"
+ dest="${maven.repo.local}/commons-codec/commons-codec/1.2/commons-codec-1.2.jar" usetimestamp="true"
+ ignoreerrors="true"/>
+ <get src="http://repo1.maven.org/maven2/commons-codec/commons-codec/1.2/commons-codec-1.2.jar"
+ dest="${maven.repo.local}/commons-codec/commons-codec/1.2/commons-codec-1.2.jar" usetimestamp="true"
+ ignoreerrors="true"/>
+ <get src="http://repository.jboss.com/maven2//eviware/soapui/1.7/soapui-1.7.jar"
+ dest="${maven.repo.local}/eviware/soapui/1.7/soapui-1.7.jar" usetimestamp="true" ignoreerrors="true"/>
+ <get src="http://www.eviware.com/repository/maven2//eviware/soapui/1.7/soapui-1.7.jar"
+ dest="${maven.repo.local}/eviware/soapui/1.7/soapui-1.7.jar" usetimestamp="true" ignoreerrors="true"/>
+ <get src="http://repo1.maven.org/maven2/eviware/soapui/1.7/soapui-1.7.jar"
+ dest="${maven.repo.local}/eviware/soapui/1.7/soapui-1.7.jar" usetimestamp="true" ignoreerrors="true"/>
+ <get src="http://repository.jboss.com/maven2//com/jgoodies/looks/2.1.2/looks-2.1.2.jar"
+ dest="${maven.repo.local}/com/jgoodies/looks/2.1.2/looks-2.1.2.jar" usetimestamp="true"
+ ignoreerrors="true"/>
+ <get src="http://www.eviware.com/repository/maven2//com/jgoodies/looks/2.1.2/looks-2.1.2.jar"
+ dest="${maven.repo.local}/com/jgoodies/looks/2.1.2/looks-2.1.2.jar" usetimestamp="true"
+ ignoreerrors="true"/>
+ <get src="http://repo1.maven.org/maven2/com/jgoodies/looks/2.1.2/looks-2.1.2.jar"
+ dest="${maven.repo.local}/com/jgoodies/looks/2.1.2/looks-2.1.2.jar" usetimestamp="true"
+ ignoreerrors="true"/>
+ <get src="http://repository.jboss.com/maven2//commons-httpclient/commons-httpclient/3.0.1/commons-httpclient-3.0.1.jar"
+ dest="${maven.repo.local}/commons-httpclient/commons-httpclient/3.0.1/commons-httpclient-3.0.1.jar"
+ usetimestamp="true" ignoreerrors="true"/>
+ <get src="http://www.eviware.com/repository/maven2//commons-httpclient/commons-httpclient/3.0.1/commons-httpclient-3.0.1.jar"
+ dest="${maven.repo.local}/commons-httpclient/commons-httpclient/3.0.1/commons-httpclient-3.0.1.jar"
+ usetimestamp="true" ignoreerrors="true"/>
+ <get src="http://repo1.maven.org/maven2/commons-httpclient/commons-httpclient/3.0.1/commons-httpclient-3.0.1.jar"
+ dest="${maven.repo.local}/commons-httpclient/commons-httpclient/3.0.1/commons-httpclient-3.0.1.jar"
+ usetimestamp="true" ignoreerrors="true"/>
+ -->
+ </target>
+</project>
\ No newline at end of file
Property changes on: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/build.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/pom.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/pom.xml (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/pom.xml 2007-05-02 14:16:08 UTC (rev 11584)
@@ -0,0 +1,171 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.jboss.soa.esb</groupId>
+ <artifactId>soapui-client</artifactId>
+ <version>4.2.MR2</version>
+ <name>SOAPUI Client ESB Service</name>
+ <description>SOAPUI Client Service</description>
+
+ <dependencies>
+ <dependency>
+ <groupId>wsdl4j</groupId>
+ <artifactId>wsdl4j</artifactId>
+ <version>1.6.2</version>
+ <systemPath>${basedir}/src/lib/wsdl4j-1.6.2.jar</systemPath>
+ <scope>system</scope>
+ </dependency>
+ <dependency>
+ <groupId>eviware</groupId>
+ <artifactId>soapui</artifactId>
+ <version>1.7</version>
+ </dependency>
+ <dependency>
+ <groupId>eviware</groupId>
+ <artifactId>soapui-xmlbeans</artifactId>
+ <version>1.7</version>
+ </dependency>
+ <dependency>
+ <groupId>xmlbeans</groupId>
+ <artifactId>xbean</artifactId>
+ <version>2.2.0</version>
+ </dependency>
+ <dependency>
+ <groupId>xmlbeans</groupId>
+ <artifactId>jsr173_1.0_api-xmlbeans</artifactId>
+ <version>1.0</version>
+ <systemPath>${basedir}/src/lib/jsr173_1.0_api-xmlbeans-2.2.0.jar</systemPath>
+ <scope>system</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.jgoodies</groupId>
+ <artifactId>looks</artifactId>
+ <version>2.1.2</version>
+ </dependency>
+ <dependency>
+ <groupId>jboss</groupId>
+ <artifactId>jboss-system</artifactId>
+ <version>4.0.x</version>
+ <systemPath>${basedir}/src/lib/jboss-system.jar</systemPath>
+ <scope>system</scope>
+ </dependency>
+ <dependency>
+ <groupId>jboss</groupId>
+ <artifactId>jboss-system-client</artifactId>
+ <version>4.0.x</version>
+ <systemPath>${basedir}/src/lib/jboss-system-client.jar</systemPath>
+ <scope>system</scope>
+ </dependency>
+ <dependency>
+ <groupId>jboss</groupId>
+ <artifactId>jbossall-client</artifactId>
+ <version>4.0.x</version>
+ <systemPath>${basedir}/../../../../lib/ext/jbossall-client.jar</systemPath>
+ <scope>system</scope>
+ </dependency>
+ <dependency>
+ <groupId>commons-logging</groupId>
+ <artifactId>commons-logging</artifactId>
+ <version>1.0.4</version>
+ </dependency>
+ <dependency>
+ <groupId>commons-httpclient</groupId>
+ <artifactId>commons-httpclient</artifactId>
+ <version>3.0.1</version>
+ </dependency>
+ <dependency>
+ <groupId>milyn</groupId>
+ <artifactId>milyn-commons</artifactId>
+ <version>0.9-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>ognl</groupId>
+ <artifactId>ognl</artifactId>
+ <version>2.6.9</version>
+ </dependency>
+
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>4.1</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ <version>1.2.8</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <defaultGoal>jboss-packaging:sar</defaultGoal>
+ <plugins>
+ <plugin>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>jboss-packaging-maven-plugin</artifactId>
+ <version>2.0-SNAPSHOT</version>
+ <configuration>
+ <!-- Required config - doesn't seem to pick it up from here by default. -->
+ <deploymentDescriptorFile>${basedir}/src/main/resources/META-INF/jboss-service.xml
+ </deploymentDescriptorFile>
+ </configuration>
+ </plugin>
+ </plugins>
+ <resources>
+ <resource>
+ <directory>src/main/java</directory>
+ <excludes>
+ <exclude>**/*.java</exclude>
+ </excludes>
+ </resource>
+ <resource>
+ <directory>src/main/resources</directory>
+ </resource>
+ </resources>
+ <testResources>
+ <testResource>
+ <directory>src/test/java</directory>
+ <excludes>
+ <exclude>**/*.java</exclude>
+ </excludes>
+ </testResource>
+ <testResource>
+ <directory>src/test/resources</directory>
+ </testResource>
+ </testResources>
+ </build>
+
+ <repositories>
+ <repository>
+ <id>JBoss Repo</id>
+ <url>http://repository.jboss.com/maven2/</url>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ </repository>
+ <repository>
+ <id>SOAP UI Repo</id>
+ <url>http://www.eviware.com/repository/maven2/</url>
+ </repository>
+ </repositories>
+ <pluginRepositories>
+ <pluginRepository>
+ <id>Codehaus Snapshots</id>
+ <url>http://snapshots.repository.codehaus.org/</url>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ </pluginRepository>
+ </pluginRepositories>
+</project>
\ No newline at end of file
Property changes on: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/pom.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/lib/commons-codec-1.2.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/lib/commons-codec-1.2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/lib/commons-httpclient-3.0.1.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/lib/commons-httpclient-3.0.1.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/lib/commons-logging-1.0.4.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/lib/commons-logging-1.0.4.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/lib/jboss-system-client.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/lib/jboss-system-client.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/lib/jboss-system.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/lib/jboss-system.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/lib/jsr173_1.0_api-xmlbeans-2.2.0.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/lib/jsr173_1.0_api-xmlbeans-2.2.0.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/lib/looks-2.1.2.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/lib/looks-2.1.2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/lib/milyn-commons-0.9-SNAPSHOT.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/lib/milyn-commons-0.9-SNAPSHOT.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/lib/ognl-2.6.9.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/lib/ognl-2.6.9.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/lib/soapui-1.7.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/lib/soapui-1.7.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/lib/soapui-xmlbeans-1.7.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/lib/soapui-xmlbeans-1.7.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/lib/wsdl4j-1.6.2.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/lib/wsdl4j-1.6.2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/lib/xbean-2.2.0.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/lib/xbean-2.2.0.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/main/java/org/jboss/soa/esb/services/soapui/SoapUIClientService.java
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/main/java/org/jboss/soa/esb/services/soapui/SoapUIClientService.java (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/main/java/org/jboss/soa/esb/services/soapui/SoapUIClientService.java 2007-05-02 14:16:08 UTC (rev 11584)
@@ -0,0 +1,247 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2006, JBoss Inc., and others contributors as indicated
+ * by the @authors tag. All rights reserved.
+ * 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 Lesser General Public License, v. 2.1.
+ * 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 Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 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, JBoss Inc.
+ */
+package org.jboss.soa.esb.services.soapui;
+
+import com.eviware.soapui.impl.wsdl.WsdlInterface;
+import com.eviware.soapui.impl.wsdl.WsdlProject;
+import com.eviware.soapui.model.iface.Operation;
+import com.eviware.soapui.support.SoapUIException;
+
+import java.io.IOException;
+import java.io.ByteArrayInputStream;
+import java.util.Map;
+import java.util.HashMap;
+
+import org.jboss.system.ServiceMBeanSupport;
+import org.w3c.dom.*;
+import org.xml.sax.SAXException;
+import org.milyn.xml.XmlUtil;
+import org.apache.xmlbeans.XmlException;
+
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.ParserConfigurationException;
+
+import ognl.OgnlException;
+import ognl.Ognl;
+
+/**
+ * Soap UI Soap Client Service MBean.
+ *
+ * @author <a href="mailto:tom.fennelly at jboss.com">tom.fennelly at jboss.com</a>
+ */
+public class SoapUIClientService extends ServiceMBeanSupport implements SoapUIClientServiceMBean {
+
+ private Map<String, WsdlInterface[]> wsdls = new HashMap<String, WsdlInterface[]>();
+ private DocumentBuilder docBuilder;
+
+ /**
+ * Public default constructor.
+ */
+ public SoapUIClientService() {
+ DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory.newInstance();
+ docBuilderFactory.setNamespaceAware(true);
+ try {
+ docBuilder = docBuilderFactory.newDocumentBuilder();
+ } catch (ParserConfigurationException e) {
+ throw new RuntimeException("Failed to construct DocumentBuilder instance.", e);
+ }
+ }
+
+ /**
+ * Build a SOAP request for the specified operation on the specified WSDL.
+ *
+ * @param wsdl WSDL URL.
+ * @param operation Operation name.
+ * @param params Message parameter map.
+ * @return The SOAP Message.
+ * @throws IOException Failed to load WSDL.
+ */
+ public String buildRequest(String wsdl, String operation, Map params) throws IOException, UnsupportedOperationException, SAXException {
+ Operation operationInst = getOperation(wsdl, operation);
+ String requestTemplate = operationInst.getRequestAt(0).getRequestContent();
+
+ return injectParameters(requestTemplate, params);
+ }
+
+ /**
+ * Populate the supplied SOAP responseObject from the supplied soapMessage.
+ *
+ * @param wsdl WSDL URL.
+ * @param operation Operation name.
+ * @param soapMessage The soap message containing the data.
+ * @param responseObject The soap response object to be populated fromthe data in the soap message.
+ * @return The populated responseObject, or a fault object if the message contains a fault.
+ * @throws IOException Failed to load WSDL.
+ * @throws UnsupportedOperationException Operation not supported on specified WSDL.
+ * @throws SAXException Failed to parse the SOAP message.
+ */
+ public Object populateResponse(String wsdl, String operation, String soapMessage, Object responseObject) throws IOException, UnsupportedOperationException, SAXException {
+ throw new UnsupportedOperationException("Not yet implemented!");
+ }
+
+ /**
+ * Get the 1st endpoint from the specified WSDL.
+ *
+ * @param wsdl WSDL URL.
+ * @return The operation endpoint URL.
+ * @throws IOException Failed to load WSDL.
+ */
+ public String getEndpoint(String wsdl) throws IOException {
+ WsdlInterface[] wsdlInterfaces = getWsdlInterfaces(wsdl);
+
+ return wsdlInterfaces[0].getEndpoints()[0];
+ }
+
+ private WsdlInterface[] getWsdlInterfaces(String wsdl) throws IOException {
+ try {
+ WsdlInterface[] wsdlInterfaces = wsdls.get(wsdl);
+ if (wsdlInterfaces == null) {
+ WsdlProject wsdlProject = new WsdlProject();
+ wsdlInterfaces = wsdlProject.importWsdl(wsdl, true);
+ wsdls.put(wsdl, wsdlInterfaces);
+ }
+ return wsdlInterfaces;
+ } catch (Exception e) {
+ IOException ioe = new IOException("Failed to import WSDL '" + wsdl + "'.");
+ ioe.initCause(e);
+ throw ioe;
+ }
+ }
+
+ private Operation getOperation(String wsdl, String operation) throws IOException, UnsupportedOperationException {
+ WsdlInterface[] wsdlInterfaces = getWsdlInterfaces(wsdl);
+
+ for (WsdlInterface wsdlInterface : wsdlInterfaces) {
+ Operation operationInst = wsdlInterface.getOperationByName(operation);
+
+ if (operationInst != null) {
+ return operationInst;
+ }
+ }
+ throw new UnsupportedOperationException("Operation '" + operation + "' not supported by WSDL '" + wsdl + "'.");
+ }
+
+ private String injectParameters(String soapMessage, Map params) throws IOException, SAXException {
+ Document messageDoc = docBuilder.parse(new ByteArrayInputStream(soapMessage.getBytes()));
+ Element docRoot = messageDoc.getDocumentElement();
+
+ injectParameters(docRoot, params);
+
+ return XmlUtil.serialize(messageDoc.getChildNodes());
+ }
+
+ private void injectParameters(Element element, Map params) {
+ NodeList children = element.getChildNodes();
+ int childCount = children.getLength();
+
+ // TODO: Add support for cloning nodes in order to support lists of data.
+
+ for (int i = 0; i < childCount; i++) {
+ Node node = children.item(i);
+
+ if (childCount == 1 && node.getNodeType() == Node.TEXT_NODE) {
+ if (node.getTextContent().equals("?")) {
+ String ognl = getOGNLExpression(element);
+ Object param;
+
+ try {
+ param = Ognl.getValue(ognl, params);
+ } catch (OgnlException ex) {
+ param = "";
+ }
+
+ element.removeChild(node);
+ element.appendChild(element.getOwnerDocument().createTextNode(param.toString()));
+ }
+ } else if (node.getNodeType() == Node.ELEMENT_NODE) {
+ injectParameters((Element) node, params);
+ }
+ }
+ }
+
+ private String getOGNLExpression(Element element) {
+ StringBuffer xpath = new StringBuffer();
+ Node parent = element.getParentNode();
+
+ xpath.append(getOGNLToken(element));
+
+ while (parent != null && parent.getNodeType() == Node.ELEMENT_NODE) {
+ if (parent.getLocalName().equalsIgnoreCase("body") &&
+ parent.getNamespaceURI().equalsIgnoreCase("http://schemas.xmlsoap.org/soap/envelope/")) {
+ break;
+ }
+
+ xpath.insert(0, getOGNLToken((Element) parent));
+ parent = parent.getParentNode();
+ }
+
+ // Remove the leading '.'
+ xpath.deleteCharAt(0);
+
+ return xpath.toString();
+ }
+
+ private String getOGNLToken(Element element) {
+ String localName = element.getLocalName();
+ int count = countElementsBefore(element, element.getTagName());
+ String xpathToken;
+
+ if (count > 0) {
+ xpathToken = "." + localName + "[" + (count + 1) + "]";
+ } else {
+ xpathToken = "." + localName;
+ }
+
+ return xpathToken;
+ }
+
+ /**
+ * Count the DOM element nodes before the supplied node, having the specified
+ * tag name, not including the node itself.
+ * <p/>
+ * Counts the sibling nodes.
+ *
+ * @param node Node whose element siblings are to be counted.
+ * @param tagName The tag name of the sibling elements to be counted.
+ * @return The number of siblings elements before the supplied node with the
+ * specified tag name.
+ */
+ private int countElementsBefore(Node node, String tagName) {
+ Node parent = node.getParentNode();
+
+ NodeList siblings = parent.getChildNodes();
+ int count = 0;
+ int siblingCount = siblings.getLength();
+
+ for (int i = 0; i < siblingCount; i++) {
+ Node sibling = siblings.item(i);
+
+ if (sibling == node) {
+ break;
+ }
+ if (sibling.getNodeType() == Node.ELEMENT_NODE && ((Element) sibling).getTagName().equals(tagName)) {
+ count++;
+ }
+ }
+
+ return count;
+ }
+}
Property changes on: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/main/java/org/jboss/soa/esb/services/soapui/SoapUIClientService.java
___________________________________________________________________
Name: svn:eol-style
+ native
Added: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/main/java/org/jboss/soa/esb/services/soapui/SoapUIClientServiceMBean.java
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/main/java/org/jboss/soa/esb/services/soapui/SoapUIClientServiceMBean.java (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/main/java/org/jboss/soa/esb/services/soapui/SoapUIClientServiceMBean.java 2007-05-02 14:16:08 UTC (rev 11584)
@@ -0,0 +1,74 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2006, JBoss Inc., and others contributors as indicated
+ * by the @authors tag. All rights reserved.
+ * 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 Lesser General Public License, v. 2.1.
+ * 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 Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 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, JBoss Inc.
+ */
+package org.jboss.soa.esb.services.soapui;
+
+import java.io.IOException;
+import java.util.Map;
+
+import org.jboss.system.ServiceMBean;
+import org.xml.sax.SAXException;
+
+/**
+ * Soap UI Soap Client Service.
+ * <p/>
+ * Embeds the <a href="http://www.soapui.org/">soapui</a> tool, using it to generate
+ * a valid soap requests, as well as unmarshal response data from a valid soap response.
+ *
+ *
+ * @author <a href="mailto:tom.fennelly at jboss.com">tom.fennelly at jboss.com</a>
+ */
+public interface SoapUIClientServiceMBean extends ServiceMBean {
+
+ /**
+ * Build a SOAP request for the specified operation on the specified WSDL.
+ *
+ * @param wsdl WSDL URL.
+ * @param operation Operation name.
+ * @param params Message parameter map.
+ * @return The SOAP Message.
+ * @throws IOException Failed to load WSDL.
+ * @throws UnsupportedOperationException Operation not supported on specified WSDL.
+ * @throws SAXException Failed to parse the SOAP UI generated request message.
+ */
+ public abstract String buildRequest(String wsdl, String operation, Map params) throws IOException, UnsupportedOperationException, SAXException;
+
+ /**
+ * Populate the supplied SOAP responseObject from the supplied soapMessage.
+ *
+ * @param wsdl WSDL URL.
+ * @param operation Operation name.
+ * @param soapMessage The soap message containing the data.
+ * @param responseObject The soap response object to be populated fromthe data in the soap message.
+ * @return The populated responseObject, or a fault object if the message contains a fault.
+ * @throws IOException Failed to load WSDL.
+ * @throws UnsupportedOperationException Operation not supported on specified WSDL.
+ * @throws SAXException Failed to parse the SOAP message.
+ */
+ public abstract Object populateResponse(String wsdl, String operation, String soapMessage, Object responseObject) throws IOException, UnsupportedOperationException, SAXException;
+
+ /**
+ * Get the 1st endpoint from the specified WSDL.
+ *
+ * @param wsdl WSDL URL.
+ * @return The operation endpoint URL.
+ * @throws IOException Failed to load WSDL.
+ */
+ public abstract String getEndpoint(String wsdl) throws IOException;
+}
Property changes on: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/main/java/org/jboss/soa/esb/services/soapui/SoapUIClientServiceMBean.java
___________________________________________________________________
Name: svn:eol-style
+ native
Added: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/main/resources/META-INF/jboss-service.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/main/resources/META-INF/jboss-service.xml (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/main/resources/META-INF/jboss-service.xml 2007-05-02 14:16:08 UTC (rev 11584)
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<service>
+ <mbean code="org.jboss.soa.esb.services.soapui.SoapUIClientService"
+ name="jboss.esb:service=SoapUIClientService">
+ </mbean>
+ <loader-repository>
+ jboss.esb:loader=soapui-client.sar
+ </loader-repository>
+</service>
\ No newline at end of file
Property changes on: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/main/resources/META-INF/jboss-service.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/RetailerCallback.wsdl
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/RetailerCallback.wsdl (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/RetailerCallback.wsdl 2007-05-02 14:16:08 UTC (rev 11584)
@@ -0,0 +1,257 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<definitions name="OrderManagerPortTypeService" targetNamespace="http://org.jboss.esb/quickstarts/bpel/ABI_OrderManager"
+ xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:ns1="http://ordermanagement.activebpel.com/jaws"
+ xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+ xmlns:tns="http://org.jboss.esb/quickstarts/bpel/ABI_OrderManager"
+ xmlns:vprop="http://docs.oasis-open.org/wsbpel/2.0/varprop" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+
+ <types>
+
+ <schema elementFormDefault="qualified" targetNamespace="http://org.jboss.esb/quickstarts/bpel/ABI_OrderManager"
+ xmlns="http://www.w3.org/2001/XMLSchema" xmlns:ns2="http://ordermanagement.activebpel.com/jaws"
+ xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/"
+ xmlns:tns="http://org.jboss.esb/quickstarts/bpel/ABI_OrderManager"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+
+ <import namespace="http://ordermanagement.activebpel.com/jaws"/>
+
+ <complexType name="CancelOrder">
+
+ <sequence>
+
+ <element name="orderInquiry" nillable="true" type="ns2:OrderInquiry"/>
+
+ </sequence>
+
+ </complexType>
+
+ <complexType name="CustomerOrder">
+
+ <sequence>
+
+ <element name="header" nillable="true" type="ns2:OrderHeader"/>
+
+ <element maxOccurs="unbounded" minOccurs="0" name="items" nillable="true" type="ns2:Item"/>
+
+ </sequence>
+
+ </complexType>
+
+ <complexType name="SalesOrderFault">
+
+ <sequence>
+
+ <element name="reason" nillable="true" type="string"/>
+
+ </sequence>
+
+ </complexType>
+
+
+ <complexType name="SalesOrderNotification">
+
+ <sequence>
+
+ <element ref="tns:orderNumber"/>
+
+ </sequence>
+
+ </complexType>
+
+
+ <element name="cancelOrder" type="tns:CancelOrder"/>
+
+ <element name="cancelOrderResponse" type="boolean"/>
+
+ <element name="customerOrder" type="tns:CustomerOrder"/>
+
+ <element name="SalesOrderFault" type="tns:SalesOrderFault"/>
+
+ <element name="customerOrderResponse" type="string"/>
+
+ <element name="salesOrderNotification" type="tns:SalesOrderNotification"/>
+
+ <element name="salesOrderNotificationAck" type="boolean"/>
+
+ <element name="orderNumber" type="string"/>
+
+ </schema>
+
+ <schema elementFormDefault="qualified" targetNamespace="http://ordermanagement.activebpel.com/jaws"
+ xmlns="http://www.w3.org/2001/XMLSchema"
+ xmlns:ns1="http://org.jboss.esb/quickstarts/bpel/ABI_OrderManager"
+ xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/"
+ xmlns:tns="http://ordermanagement.activebpel.com/jaws"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+
+ <import namespace="http://org.jboss.esb/quickstarts/bpel/ABI_OrderManager"/>
+
+ <complexType name="Address">
+
+ <sequence>
+
+ <element name="city" nillable="true" type="string"/>
+
+ <element name="state" nillable="true" type="string"/>
+
+ <element name="street1" nillable="true" type="string"/>
+
+ <element name="street2" nillable="true" type="string"/>
+
+ <element name="zip" nillable="true" type="string"/>
+
+ </sequence>
+
+ </complexType>
+
+ <complexType name="Contact">
+
+ <sequence>
+
+ <element name="email" nillable="true" type="string"/>
+
+ <element name="fax" nillable="true" type="string"/>
+
+ <element name="name" nillable="true" type="string"/>
+
+ <element name="phone" nillable="true" type="string"/>
+
+ </sequence>
+
+ </complexType>
+
+ <complexType name="Item">
+
+ <sequence>
+
+ <element name="description" nillable="true" type="string"/>
+
+ <element name="extensionAmount" nillable="true" type="decimal"/>
+
+ <element name="partNumber" nillable="true" type="string"/>
+
+ <element name="price" nillable="true" type="decimal"/>
+
+ <element name="quantity" type="int"/>
+
+ </sequence>
+
+ </complexType>
+
+ <complexType name="OrderHeader">
+
+ <sequence>
+
+ <element name="billTerms" nillable="true" type="string"/>
+
+ <element name="billTo" nillable="true" type="tns:Party"/>
+
+ <element name="customerNumber" nillable="true" type="string"/>
+
+ <element name="orderDate" nillable="true" type="dateTime"/>
+
+ <element name="orderTotal" nillable="true" type="decimal"/>
+
+ <element name="poNumber" nillable="true" type="string"/>
+
+ <element name="shipTerms" nillable="true" type="string"/>
+
+ <element name="shipTo" nillable="true" type="tns:Party"/>
+
+ </sequence>
+
+ </complexType>
+
+ <complexType name="OrderInquiry">
+
+ <sequence>
+
+ <element name="customerNumber" nillable="true" type="string"/>
+
+ <element name="poNumber" nillable="true" type="string"/>
+
+ </sequence>
+
+ </complexType>
+
+ <complexType name="Party">
+
+ <sequence>
+
+ <element name="address" nillable="true" type="tns:Address"/>
+
+ <element name="company" nillable="true" type="string"/>
+
+ <element name="contact" nillable="true" type="tns:Contact"/>
+
+ </sequence>
+
+ </complexType>
+
+ </schema>
+
+ </types>
+
+ <message name="SendSalesOrderNotificationResponse">
+
+ <part element="tns:salesOrderNotificationAck" name="Document"/>
+
+ </message>
+
+ <message name="SendSalesOrderNotificationRequest">
+
+ <part element="tns:salesOrderNotification" name="Document"/>
+
+ </message>
+
+ <portType name="RetailerCallbackPortType">
+
+ <operation name="SendSalesOrderNotification">
+
+ <input message="tns:SendSalesOrderNotificationRequest"/>
+
+ <output message="tns:SendSalesOrderNotificationResponse"/>
+
+ </operation>
+
+ </portType>
+
+ <binding name="RetailerCallbackBinding" type="tns:RetailerCallbackPortType">
+
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
+
+ <operation name="SendSalesOrderNotification">
+
+ <soap:operation soapAction="" style="document" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
+
+ <input>
+
+ <soap:body use="literal" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
+
+ </input>
+
+ <output>
+
+ <soap:body use="literal" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
+
+ </output>
+
+ </operation>
+
+ </binding>
+
+ <service name="RetailerCallback">
+
+ <port binding="tns:RetailerCallbackBinding" name="RetailerCallbackPort">
+
+ <soap:address location="http://localhost:18080/active-bpel/services/RetailerCallback"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
+
+ </port>
+
+ </service>
+
+</definitions>
+
Added: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/SoapUIClientServiceMBeanUnitTest.java
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/SoapUIClientServiceMBeanUnitTest.java (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/SoapUIClientServiceMBeanUnitTest.java 2007-05-02 14:16:08 UTC (rev 11584)
@@ -0,0 +1,76 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2006, JBoss Inc., and others contributors as indicated
+ * by the @authors tag. All rights reserved.
+ * 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 Lesser General Public License, v. 2.1.
+ * 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 Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 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, JBoss Inc.
+ */
+package org.jboss.soa.esb.services.soapui;
+
+import junit.framework.TestCase;
+
+import java.io.*;
+import java.util.Map;
+import java.util.HashMap;
+
+import org.xml.sax.SAXException;
+
+/**
+ * @author <a href="mailto:tom.fennelly at jboss.com">tom.fennelly at jboss.com</a>
+ */
+public class SoapUIClientServiceMBeanUnitTest extends TestCase {
+
+ public void test() throws IOException, SAXException {
+ File wsdlFile = new File("src/test/java/org/jboss/soa/esb/services/soapui/RetailerCallback.wsdl");
+ SoapUIClientService mbean = new SoapUIClientService();
+ Map params = new HashMap();
+
+ params.put("salesOrderNotification", new OrderBean());
+ String message = mbean.buildRequest(wsdlFile.toURI().toString(), "SendSalesOrderNotification", params);
+ assertTrue("Generated SOAP message not as expected. See expected_01.xml. Generated message: \n" + message, compareCharStreams(getClass().getResourceAsStream("expected_01.xml"), new ByteArrayInputStream(message.getBytes())));
+ assertEquals("http://localhost:18080/active-bpel/services/RetailerCallback", mbean.getEndpoint(wsdlFile.toURI().toString()));
+ }
+
+ private class OrderBean {
+ public String orderNumber = "12345";
+ }
+
+ // Lifted from milyn commons
+ public static boolean compareCharStreams(InputStream s1, InputStream s2) {
+ StringBuffer s1Buf, s2Buf;
+
+ try {
+ s1Buf = trimLines(s1);
+ s2Buf = trimLines(s2);
+
+ return s1Buf.toString().equals(s2Buf.toString());
+ } catch (IOException e) {
+ // fail the comparison
+ }
+
+ return false;
+ }
+ public static StringBuffer trimLines(InputStream charStream) throws IOException {
+ StringBuffer stringBuf = new StringBuffer();
+ BufferedReader reader = new BufferedReader(new InputStreamReader(charStream));
+ String line;
+
+ while((line = reader.readLine()) != null) {
+ stringBuf.append(line.trim());
+ }
+
+ return stringBuf;
+ }
+}
Property changes on: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/SoapUIClientServiceMBeanUnitTest.java
___________________________________________________________________
Name: svn:eol-style
+ native
Added: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/expected_01.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/expected_01.xml (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/expected_01.xml 2007-05-02 14:16:08 UTC (rev 11584)
@@ -0,0 +1,8 @@
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:abi="http://org.jboss.esb/quickstarts/bpel/ABI_OrderManager">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <abi:salesOrderNotification>
+ <abi:orderNumber>12345</abi:orderNumber>
+ </abi:salesOrderNotification>
+ </soapenv:Body>
+</soapenv:Envelope>
\ No newline at end of file
Property changes on: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/expected_01.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Modified: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/src/org/jboss/esb/quickstarts/bpel/OrderManagerService.java
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/src/org/jboss/esb/quickstarts/bpel/OrderManagerService.java 2007-05-02 14:02:12 UTC (rev 11583)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/src/org/jboss/esb/quickstarts/bpel/OrderManagerService.java 2007-05-02 14:16:08 UTC (rev 11584)
@@ -19,10 +19,7 @@
*/
package org.jboss.esb.quickstarts.bpel;
-import com.activebpel.ordermanagement.OrderManager;
-import com.activebpel.ordermanagement.CustomerOrder;
-import com.activebpel.ordermanagement.SalesOrderFault;
-import com.activebpel.ordermanagement.CancelOrder;
+import com.activebpel.ordermanagement.*;
import javax.jws.WebService;
import javax.jws.WebMethod;
Added: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/src/org/jboss/esb/quickstarts/bpel/orderNotificationBean.groovy
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/src/org/jboss/esb/quickstarts/bpel/orderNotificationBean.groovy (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/src/org/jboss/esb/quickstarts/bpel/orderNotificationBean.groovy 2007-05-02 14:16:08 UTC (rev 11584)
@@ -0,0 +1,11 @@
+// Define a simple bean that mirrors the soap message type
+class SalesOrderNotification {
+ String orderNumber
+}
+
+// Add the bean to the params map - name it to match the SOAP body request type node name.
+orderNum = org.jboss.soa.esb.actions.ActionUtils.getTaskObject(message)
+params = ["salesOrderNotification":new SalesOrderNotification(orderNumber: orderNum)]
+
+// Set the params on the message
+message.body.add(params)
\ No newline at end of file
Added: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/src/org/jboss/soa/esb/actions/soap/SOAPUIClient.java
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/src/org/jboss/soa/esb/actions/soap/SOAPUIClient.java (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/src/org/jboss/soa/esb/actions/soap/SOAPUIClient.java 2007-05-02 14:16:08 UTC (rev 11584)
@@ -0,0 +1,152 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2006, JBoss Inc., and others contributors as indicated
+ * by the @authors tag. All rights reserved.
+ * 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 Lesser General Public License, v. 2.1.
+ * 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 Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 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, JBoss Inc.
+ */
+package org.jboss.soa.esb.actions.soap;
+
+import org.jboss.soa.esb.actions.AbstractActionPipelineProcessor;
+import org.jboss.soa.esb.actions.ActionProcessingException;
+import org.jboss.soa.esb.actions.ActionUtils;
+import org.jboss.soa.esb.message.Message;
+import org.jboss.soa.esb.helpers.ConfigTree;
+import org.jboss.soa.esb.ConfigurationException;
+import org.jboss.mx.util.MBeanServerLocator;
+import org.apache.log4j.Logger;
+import org.apache.commons.httpclient.methods.PostMethod;
+import org.apache.commons.httpclient.methods.RequestEntity;
+import org.apache.commons.httpclient.methods.StringRequestEntity;
+import org.apache.commons.httpclient.HttpClient;
+import org.apache.commons.httpclient.HttpException;
+
+import javax.management.*;
+import java.util.Map;
+import java.net.InetAddress;
+import java.net.MalformedURLException;
+import java.io.IOException;
+import java.io.UnsupportedEncodingException;
+
+/**
+ * SOAPUI client action processor.
+ * <p/>
+ * Uses the SOAPUI Client Service to construct an populate a message
+ * for the target service. This action then routes that message to the service.
+ *
+ * @author <a href="mailto:tom.fennelly at jboss.com">tom.fennelly at jboss.com</a>
+ */
+public class SOAPUIClient extends AbstractActionPipelineProcessor {
+
+ private Logger logger = Logger.getLogger(SOAPUIClient.class);
+ private String wsdl;
+ private String operation;
+ private String paramsLocation;
+ private String responseLocation;
+ private MBeanServer mbeanServer;
+ private ObjectName serviceName;
+ private String[] buildRequestSig = new String[] {String.class.getName(), String.class.getName(), Map.class.getName()};
+ private String[] getEndpointSig = new String[] {String.class.getName()};
+
+ public SOAPUIClient(ConfigTree config) throws ConfigurationException {
+ wsdl = config.getRequiredAttribute("wsdl");
+ operation = config.getRequiredAttribute("operation");
+ paramsLocation = config.getAttribute("paramsLocation");
+ responseLocation = config.getAttribute("responseLocation");
+ mbeanServer = MBeanServerLocator.locate();
+
+ try {
+ serviceName = new ObjectName("jboss.esb:service=SoapUIClientService");
+ } catch (MalformedObjectNameException e) {
+ throw new IllegalStateException("Unexpected exception.", e);
+ }
+ }
+
+ public Message process(final Message message) throws ActionProcessingException {
+ Map params;
+
+ if(paramsLocation != null) {
+ params = (Map) message.getBody().get(paramsLocation);
+ } else {
+ params = (Map) message.getBody().get();
+ if(params == null) {
+ params = (Map) ActionUtils.getTaskObject(message);
+ }
+ }
+ if(params == null) {
+ throw new ActionProcessingException("No params. SOAP message parameters must either be set as the default message body payload, or set on the body under the key defined in the 'paramsLocation' acton property.");
+ }
+
+ String request = buildRequestMessage(params);
+ String response = invokeEndpoint(request);
+
+ if(responseLocation != null) {
+ message.getBody().add(responseLocation, response);
+ } else {
+ message.getBody().add(response);
+ ActionUtils.setTaskObject(message, response);
+ }
+
+ return message;
+ }
+
+ private String buildRequestMessage(Map params) throws ActionProcessingException {
+ try {
+ return (String) mbeanServer.invoke(serviceName, "buildRequest", new Object[] {wsdl, operation, params}, buildRequestSig);
+ } catch (InstanceNotFoundException e) {
+ throw new ActionProcessingException("SOAP UI Client Service not found under name '" + serviceName.getCanonicalName() + "'. This service must be deployed before this action can be used.", e);
+ } catch (MBeanException e) {
+ throw new ActionProcessingException(e);
+ } catch (ReflectionException e) {
+ throw new ActionProcessingException(e);
+ }
+ }
+
+ private String getEndpoint() throws ActionProcessingException {
+ try {
+ return (String) mbeanServer.invoke(serviceName, "getEndpoint", new Object[] {wsdl}, getEndpointSig);
+ } catch (InstanceNotFoundException e) {
+ throw new ActionProcessingException("SOAP UI Client Service not found under name '" + serviceName.getCanonicalName() + "'. This service must be deployed before this action can be used.", e);
+ } catch (MBeanException e) {
+ throw new ActionProcessingException(e);
+ } catch (ReflectionException e) {
+ throw new ActionProcessingException(e);
+ }
+ }
+
+ private String invokeEndpoint(String request) throws ActionProcessingException {
+ PostMethod post = new PostMethod(getEndpoint());
+ /*
+ RequestEntity entity = null;
+ try {
+ entity = new StringRequestEntity(request, "text/xml; charset=ISO-8859-1", "");
+ } catch (UnsupportedEncodingException e) {
+ throw new ActionProcessingException("Failed to construct StringRequestEntity", e);
+ }
+ post.setRequestEntity(entity);
+ */
+ post.setRequestHeader("SOAPAction", operation);
+ post.setRequestBody(request);
+ HttpClient httpclient = new HttpClient();
+ try {
+ int result = httpclient.executeMethod(post);
+ return post.getResponseBodyAsString();
+ } catch (IOException e) {
+ throw new ActionProcessingException("Failed to invoke SOAP Endpoint: '" + getEndpoint() + " ' - '" + operation + "'.", e);
+ } finally {
+ post.releaseConnection();
+ }
+ }
+}
Property changes on: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/src/org/jboss/soa/esb/actions/soap/SOAPUIClient.java
___________________________________________________________________
Name: svn:eol-style
+ native
More information about the jboss-svn-commits
mailing list