[jboss-svn-commits] JBL Code SVN: r36360 - in labs/jbossesb/workspace/johan.kumps/product/samples/quickstarts: WIMS_SWS_PurchaseOrderMediation_MEDIATOR and 1 other directory.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Fri Dec 10 17:18:25 EST 2010


Author: johan.kumps
Date: 2010-12-10 17:18:25 -0500 (Fri, 10 Dec 2010)
New Revision: 36360

Added:
   labs/jbossesb/workspace/johan.kumps/product/samples/quickstarts/WIMS_SWS_PurchaseOrderMediation_MEDIATOR/
   labs/jbossesb/workspace/johan.kumps/product/samples/quickstarts/WIMS_SWS_PurchaseOrderMediation_MEDIATOR/build.xml
   labs/jbossesb/workspace/johan.kumps/product/samples/quickstarts/WIMS_SWS_PurchaseOrderMediation_MEDIATOR/deployment.xml
   labs/jbossesb/workspace/johan.kumps/product/samples/quickstarts/WIMS_SWS_PurchaseOrderMediation_MEDIATOR/jbm-queue-service.xml
   labs/jbossesb/workspace/johan.kumps/product/samples/quickstarts/WIMS_SWS_PurchaseOrderMediation_MEDIATOR/jboss-esb.xml
   labs/jbossesb/workspace/johan.kumps/product/samples/quickstarts/WIMS_SWS_PurchaseOrderMediation_MEDIATOR/jbossesb-properties.xml
   labs/jbossesb/workspace/johan.kumps/product/samples/quickstarts/WIMS_SWS_PurchaseOrderMediation_MEDIATOR/log4j.xml
   labs/jbossesb/workspace/johan.kumps/product/samples/quickstarts/WIMS_SWS_PurchaseOrderMediation_MEDIATOR/readme.txt
Log:
Initial version

Added: labs/jbossesb/workspace/johan.kumps/product/samples/quickstarts/WIMS_SWS_PurchaseOrderMediation_MEDIATOR/build.xml
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/samples/quickstarts/WIMS_SWS_PurchaseOrderMediation_MEDIATOR/build.xml	                        (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/samples/quickstarts/WIMS_SWS_PurchaseOrderMediation_MEDIATOR/build.xml	2010-12-10 22:18:25 UTC (rev 36360)
@@ -0,0 +1,40 @@
+<project name="WIMS_SWS_PurchaseOrderMediation" default="run" basedir=".">
+	
+	<description> 
+		${ant.project.name}
+		${line.separator}
+	</description>
+
+	<!-- additional deploys -->
+	<property name="additional.deploys" value="lib/schemas.jar"/>
+
+	<target name="package-deployment" description="Quickstart specific target that does not put the jars in lib into the root of the .esb archive">
+		<mkdir dir="lib"/>
+        <jar destfile="${build.dir}/${ant.project.name}.esb">
+			   <fileset dir="${build.dir}/classes" excludes="${quickstart.classes.excludes}" includes="${quickstart.classes.includes}"/>
+			   <fileset dir="${build.dir}" includes="*.jar,*.war"/>
+			   <fileset dir="${build.dir}" includes="deployment.xml"/>
+			   <fileset dir="${build.dir}" includes="META-INF/**" />
+			   <fileset dir="${basedir}/src" excludes="**/*.java" /> <!-- Please leave the src dir in here! --> 
+			   <fileset dir="${basedir}" includes="${jms.service.file} ${additional.deploys}" excludes="build/**" />
+        </jar>
+    </target>
+
+	<!-- Import the base Ant build script... -->
+	<import file="../conf/base-build.xml"/>
+
+	<target name="runtest" depends="compile"  description="sends soap message to published web service">
+		<echo>Send soap message to published web service and receive reponse</echo>
+		<java fork="yes" classname="org.jboss.soa.esb.samples.quickstart.publishAsWebservice.test.SOAPTest" failonerror="true">
+		      <arg value="soap-userpass-message.xml"/>	
+			  <classpath refid="exec-classpath"/>
+		</java>
+                <echo/>
+                <echo/>
+		<echo>Send soap message to published web service and receive soap fault message</echo>
+		<java fork="yes" classname="org.jboss.soa.esb.samples.quickstart.publishAsWebservice.test.SOAPTest" failonerror="true">
+		      <arg value="error-soap-message.xml"/>	
+			  <classpath refid="exec-classpath"/>
+		</java>
+	</target> 
+</project>

Added: labs/jbossesb/workspace/johan.kumps/product/samples/quickstarts/WIMS_SWS_PurchaseOrderMediation_MEDIATOR/deployment.xml
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/samples/quickstarts/WIMS_SWS_PurchaseOrderMediation_MEDIATOR/deployment.xml	                        (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/samples/quickstarts/WIMS_SWS_PurchaseOrderMediation_MEDIATOR/deployment.xml	2010-12-10 22:18:25 UTC (rev 36360)
@@ -0,0 +1,8 @@
+<?xml version="1.0"?>
+<jbossesb-deployment>
+  <depends>jboss.esb:deployment=soap.esb</depends>
+  <jmsQueue>SellerServiceProxy_Request_esb</jmsQueue>
+  <jmsQueue>SellerServiceProxy_Request_esb_reply</jmsQueue>
+  <jmsQueue>POResponseService_Request_esb</jmsQueue>
+  <jmsQueue>POResponseService_Request_esb_reply</jmsQueue>
+</jbossesb-deployment>

Added: labs/jbossesb/workspace/johan.kumps/product/samples/quickstarts/WIMS_SWS_PurchaseOrderMediation_MEDIATOR/jbm-queue-service.xml
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/samples/quickstarts/WIMS_SWS_PurchaseOrderMediation_MEDIATOR/jbm-queue-service.xml	                        (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/samples/quickstarts/WIMS_SWS_PurchaseOrderMediation_MEDIATOR/jbm-queue-service.xml	2010-12-10 22:18:25 UTC (rev 36360)
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<server>
+	<!-- SellerServiceProxy -->
+	<mbean code="org.jboss.jms.server.destination.QueueService"
+		name="jboss.esb.quickstart.destination:service=Queue,name=SellerServiceProxy_Request_esb"
+		xmbean-dd="xmdesc/Queue-xmbean.xml">
+		<depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer
+		</depends>
+		<depends>jboss.messaging:service=PostOffice</depends>
+	</mbean>
+	<mbean code="org.jboss.jms.server.destination.QueueService"
+		name="jboss.esb.quickstart.destination:service=Queue,name=SellerServiceProxy_Request_esb_reply"
+		xmbean-dd="xmdesc/Queue-xmbean.xml">
+		<depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer
+		</depends>
+		<depends>jboss.messaging:service=PostOffice</depends>
+	</mbean>
+	<!-- POResponseService -->
+	<mbean code="org.jboss.jms.server.destination.QueueService"
+		name="jboss.esb.quickstart.destination:service=Queue,name=POResponseService_Request_esb"
+		xmbean-dd="xmdesc/Queue-xmbean.xml">
+		<depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer
+		</depends>
+		<depends>jboss.messaging:service=PostOffice</depends>
+	</mbean>
+	<mbean code="org.jboss.jms.server.destination.QueueService"
+		name="jboss.esb.quickstart.destination:service=Queue,name=POResponseService_Request_esb_reply"
+		xmbean-dd="xmdesc/Queue-xmbean.xml">
+		<depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer
+		</depends>
+		<depends>jboss.messaging:service=PostOffice</depends>
+	</mbean>
+</server>

Added: labs/jbossesb/workspace/johan.kumps/product/samples/quickstarts/WIMS_SWS_PurchaseOrderMediation_MEDIATOR/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/samples/quickstarts/WIMS_SWS_PurchaseOrderMediation_MEDIATOR/jboss-esb.xml	                        (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/samples/quickstarts/WIMS_SWS_PurchaseOrderMediation_MEDIATOR/jboss-esb.xml	2010-12-10 22:18:25 UTC (rev 36360)
@@ -0,0 +1,79 @@
+<?xml version = "1.0" encoding = "UTF-8"?>
+<jbossesb
+	xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.2.0.xsd"
+	parameterReloadSecs="5">
+
+	<providers>
+		<jms-provider name="JBossMQ" connection-factory="ConnectionFactory">
+			<jms-bus busid="wims-sws-purchase-order-mediationEsbChannel1">
+				<jms-message-filter dest-type="QUEUE"
+					dest-name="queue/SellerServiceProxy_Request_esb" selector="serviceName='SellerServiceProxy'" />
+			</jms-bus>
+			<jms-bus busid="wims-sws-purchase-order-mediationEsbChannel">
+				<jms-message-filter dest-type="QUEUE"
+					dest-name="queue/POResponseService_Request_esb" selector="serviceName='POResponseService'" />
+			</jms-bus>
+		</jms-provider>
+	</providers>
+
+	<services>
+		<service category="WIMS_SWS_PurchaseOrderMediation" name="SellerServiceProxy"
+			description="Proxy for the SellerService (Customer facing)">
+			<listeners>
+				<jms-listener name="SellerServiceProxy"
+					busidref="wims-sws-purchase-order-mediationEsbChannel1" maxThreads="10" />
+			</listeners>
+			<actions inXsd="/3A4_Simplified_PurchaseOrderRequest.xsd"
+				outXsd="/3A4_Simplified_PurchaseOrderConfirmation.xsd" faultXsd="/fault.xsd"
+				validate="false">
+				
+				<!-- Request Pipeline -->
+				<action name="xform_Pip3A4PurchaseOrderRequest_to_RDF"
+					class="org.jboss.soa.esb.actions.transformation.xslt.XsltAction">
+					<property name="templateFile"
+						value="/xform/Pip3A4PurchaseOrderRequest_to_RDF.xsl" />
+					<property name="failOnWarning" value="true" />
+					<property name="resultType" value="STRING" />
+				</action>
+				<action name="print-after-req-xform" class="org.jboss.soa.esb.actions.SystemPrintln">
+					<property name="message"
+						value="[xform_Pip3A4PurchaseOrderRequest_to_RDF] Message after transformation" />
+				</action>
+
+				<action name="service-invocation"
+					class="org.jboss.soa.esb.services.semantics.actions.invocation.ServiceInvocationAction"
+					process="invoke">
+					<property name="serviceURI"
+						value="http://www.example.org/service.owl#getGreetingService" />
+				</action>
+
+				<!-- Response Pipeline -->
+				<action name="print-before-res-xform" class="org.jboss.soa.esb.actions.SystemPrintln">
+					<property name="message"
+						value="[xform_RDF_to_Pip3A4PurchaseOrderConfirmation] Message before transformation" />
+				</action>
+				<action name="xform_RDF_to_Pip3A4PurchaseOrderConfirmation"
+					class="org.jboss.soa.esb.actions.transformation.xslt.XsltAction">
+					<property name="templateFile"
+						value="/xform/RDF_to_Pip3A4PurchaseOrderConfirmation.xsl" />
+					<property name="failOnWarning" value="true" />
+					<property name="resultType" value="STRING" />
+				</action>
+			</actions>
+		</service>
+
+		<service category="WIMS_SWS_PurchaseOrderMediation" name="POResponseService"
+			description="POResponseService used by Moon legacy to send Line Item comfirmation messages to.">
+			<listeners>
+				<jms-listener name="POResponseService"
+					busidref="wims-sws-purchase-order-mediationEsbChannel" maxThreads="1" />
+			</listeners>
+			<actions inXsd="/POResponse-request.xsd" outXsd="/POResponse-response.xsd"
+				faultXsd="/fault.xsd" validate="false">
+				<action name="action" class="org.moon.purchasing.POResponseServiceAction"
+					process="confirmLineItem" />
+			</actions>
+		</service>
+	</services>
+
+</jbossesb>

Added: labs/jbossesb/workspace/johan.kumps/product/samples/quickstarts/WIMS_SWS_PurchaseOrderMediation_MEDIATOR/jbossesb-properties.xml
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/samples/quickstarts/WIMS_SWS_PurchaseOrderMediation_MEDIATOR/jbossesb-properties.xml	                        (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/samples/quickstarts/WIMS_SWS_PurchaseOrderMediation_MEDIATOR/jbossesb-properties.xml	2010-12-10 22:18:25 UTC (rev 36360)
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+  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,
+  @author JBoss Inc.
+-->
+<!-- $Id: jbossesb-unittest-properties.xml $ -->
+<!--
+  These options are described in the JBossESB manual.
+  Defaults are provided here for convenience only.
+ 
+  Please read through this file prior to using the system, and consider
+  updating the specified entries.
+-->
+<esb
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:noNamespaceSchemaLocation="jbossesb-1_0.xsd">
+    <properties name="core">
+		<property name="org.jboss.soa.esb.jndi.server.type" value="jboss"/>
+		<property name="org.jboss.soa.esb.jndi.server.url" value="localhost"/>
+		<property name="org.jboss.soa.esb.persistence.connection.factory" 	value="org.jboss.internal.soa.esb.persistence.format.MessageStoreFactoryImpl"/>
+        <property name="jboss.esb.invm.scope.default" value="NONE"/>
+    </properties>
+    <properties name="registry">      
+    	<property name="org.jboss.soa.esb.registry.queryManagerURI" value="org.apache.juddi.v3.client.transport.wrapper.UDDIInquiryService#inquire"/>
+    	<property name="org.jboss.soa.esb.registry.lifeCycleManagerURI" value="org.apache.juddi.v3.client.transport.wrapper.UDDIPublicationService#publish"/>
+    	<property name="org.jboss.soa.esb.registry.securityManagerURI" value="org.apache.juddi.v3.client.transport.wrapper.UDDISecurityService#secure"/>
+    	<property name="org.jboss.soa.esb.registry.implementationClass" value="org.jboss.internal.soa.esb.services.registry.JAXRRegistryImpl"/>
+    	<property name="org.jboss.soa.esb.registry.factoryClass" value="org.apache.ws.scout.registry.ConnectionFactoryImpl"/>
+    	<property name="org.jboss.soa.esb.registry.user" value="root"/>
+    	<property name="org.jboss.soa.esb.registry.password" value="root"/>
+    	<!-- the following parameter is scout specific to set the type of communication between scout and the UDDI (embedded, rmi, soap) -->
+    	<property name="org.jboss.soa.esb.scout.proxy.transportClass" value="org.apache.ws.scout.transport.LocalTransport"/>
+    	<property name="org.jboss.soa.esb.scout.proxy.uddiVersion" value="3.0"/>
+    	<property name="org.jboss.soa.esb.scout.proxy.uddiNameSpace" value="urn:uddi-org:api_v3"/>
+    	<!-- Organization Category to be used by this deployment. -->
+        <property name="org.jboss.soa.esb.registry.orgCategory" value="org.jboss.soa.esb.:category"/>
+    </properties>
+    <properties name="transports" depends="core">
+    	<property name="org.jboss.soa.esb.mail.smtp.host" value="localhost"/>
+    	<property name="org.jboss.soa.esb.mail.smtp.user" value="jbossesb"/>
+    	<property name="org.jboss.soa.esb.mail.smtp.password" value=""/>
+    	<property name="org.jboss.soa.esb.mail.smtp.port" value="25"/>
+    </properties>
+    <properties name="connection">
+    	<property name="min-pool-size" value="5"/>
+    	<property name="max-pool-size" value="10"/>
+    	<property name="blocking-timeout-millis" value="5000"/>
+    	<property name="abandoned-connection-timeout" value="10000"/>
+    	<property name="abandoned-connection-time-interval" value="30000"/>
+    </properties>
+    <properties name="dbstore">
+		<property name="org.jboss.soa.esb.persistence.db.connection.url" 	value="jdbc:hsqldb:hsql://localhost:9001/"/>
+		<property name="org.jboss.soa.esb.persistence.db.jdbc.driver" 		value="org.hsqldb.jdbcDriver"/>
+		<property name="org.jboss.soa.esb.persistence.db.user" 			value="sa"/>
+		<property name="org.jboss.soa.esb.persistence.db.pwd" 			value=""/>		
+		<property name="org.jboss.soa.esb.persistence.db.pool.initial.size"	value="2"/>
+		<property name="org.jboss.soa.esb.persistence.db.pool.min.size"	value="2"/>
+		<property name="org.jboss.soa.esb.persistence.db.pool.max.size"	value="5"/>
+		<!--table managed by pool to test for valid connections - created by pool automatically -->
+		<property name="org.jboss.soa.esb.persistence.db.pool.test.table"	value="pooltest"/>
+		<!-- # of milliseconds to timeout waiting for a connection from pool -->
+		<property name="org.jboss.soa.esb.persistence.db.pool.timeout.millis"	value="5000"/> 
+                <property name="org.jboss.soa.esb.persistence.db.conn.manager" value="org.jboss.internal.soa.esb.persistence.manager.StandaloneConnectionManager"/>
+    </properties>
+    <properties name="messagerouting">
+    	<property name="org.jboss.soa.esb.routing.cbrClass" value="org.jboss.internal.soa.esb.services.routing.cbr.JBossRulesRouter"/>
+    </properties>
+</esb>

Added: labs/jbossesb/workspace/johan.kumps/product/samples/quickstarts/WIMS_SWS_PurchaseOrderMediation_MEDIATOR/log4j.xml
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/samples/quickstarts/WIMS_SWS_PurchaseOrderMediation_MEDIATOR/log4j.xml	                        (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/samples/quickstarts/WIMS_SWS_PurchaseOrderMediation_MEDIATOR/log4j.xml	2010-12-10 22:18:25 UTC (rev 36360)
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  Log4j Configuration                                                  -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<!-- $Id: log4j.xml,v 1.26.2.5 2005/09/15 09:31:02 dimitris Exp $ -->
+
+<!--
+   | For more configuration infromation and examples see the Jakarta Log4j
+   | owebsite: http://jakarta.apache.org/log4j
+ -->
+
+<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">
+
+   <!-- ============================== -->
+   <!-- Append messages to the console -->
+   <!-- ============================== -->
+
+   <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
+      <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
+      <param name="Target" value="System.out"/>
+      <param name="Threshold" value="INFO"/>
+
+      <layout class="org.apache.log4j.PatternLayout">
+         <!-- The default pattern: Date Priority [Category] Message\n -->
+         <param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%t][%c{1}] %m%n"/>
+      </layout>
+   </appender>
+
+   <!-- ================================= -->
+   <!-- Preserve messages in a local file -->
+   <!-- ================================= -->
+
+   <!-- A size based file rolling appender -->
+   <appender name="FILE" class="org.jboss.logging.appender.RollingFileAppender">
+     <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
+     <param name="File" value="./listener.log"/>
+     <param name="Append" value="false"/>
+     <param name="MaxFileSize" value="500KB"/>
+     <param name="MaxBackupIndex" value="1"/>
+
+     <layout class="org.apache.log4j.PatternLayout">
+       <param name="ConversionPattern" value="%d %-5p [%t][%c] %m%n"/>
+     </layout>	    
+   </appender>
+
+   <!-- ================ -->
+   <!-- Limit categories -->
+   <!-- ================ -->
+
+   <category name="org.jboss.soa.esb.services.semantics.actions.invocation">
+      <priority value="INFO"/>
+   </category>
+   <category name="org.jboss">
+      <priority value="WARN"/>
+   </category>
+   <category name="org.jboss.soa.esb">
+      <priority value="ERROR"/>
+   </category>
+   <category name="org.jboss.internal.soa.esb">
+      <priority value="ERROR"/>
+   </category>
+   <category name="org.apache">
+      <priority value="ERROR"/>
+   </category>
+   <category name="quickstart">
+      <priority value="DEBUG"/>
+   </category>
+   <!-- ======================= -->
+   <!-- Setup the Root category -->
+   <!-- ======================= -->
+
+   <root>
+      <appender-ref ref="CONSOLE"/>
+      <appender-ref ref="FILE"/>
+   </root>
+
+</log4j:configuration>

Added: labs/jbossesb/workspace/johan.kumps/product/samples/quickstarts/WIMS_SWS_PurchaseOrderMediation_MEDIATOR/readme.txt
===================================================================
--- labs/jbossesb/workspace/johan.kumps/product/samples/quickstarts/WIMS_SWS_PurchaseOrderMediation_MEDIATOR/readme.txt	                        (rev 0)
+++ labs/jbossesb/workspace/johan.kumps/product/samples/quickstarts/WIMS_SWS_PurchaseOrderMediation_MEDIATOR/readme.txt	2010-12-10 22:18:25 UTC (rev 36360)
@@ -0,0 +1,52 @@
+Overview:
+=========
+  The purpose of the publish_as_webservice quickstart sample is to demonstrate how to 
+  publish a esb service as a web service. 
+
+  This quickstart also demonstrates how messages can be validate by JBossESB by configuring
+  a service for validation and how schemas imports are used.
+
+Running this quickstart:
+========================
+  Please refer to 'ant help-quickstarts' for prerequisites about the quickstarts
+  and a more detailed descripton of the different ways to run the quickstarts.
+
+To Run:
+===========================
+  1. In a command terminal window in this folder ("Window1"), type 'ant deploy'.
+  2. Open another command terminal window in this folder ("Window2"), type
+     'ant runtest'.
+  3. In this folder ("Window1"), type 'ant undeploy'.
+
+To Run from Soapui:
+===========================
+  1. Use the following URL: 'http://127.0.0.1:8080/Quickstart_publish_as_webservice/ebws/ESBServiceSample/HelloWorldPubService?wsdl'.
+  2. Copy the contents of soap-userpass-message.xml.
+  3. Exceute the web service call from soapui.
+
+======================================
+  1. runtest ant target
+	 This target will call the SOAPTest client twice, first call will be with a valid SOAP message
+	 and the second call will generate a SOAPFault to be retured. 
+
+What to look for in this quickstart
+===================================
+  1. Message validation
+	 Validation of request and response messages can be enabled by setting the 'validate' attribute to true.
+	 For example:
+	 <actions  inXsd="/request.xsd" outXsd="/response.xsd" faultXsd="/fault.xsd" validate="true">
+		...
+	 </actions>
+
+  2. Schema imports
+	 Schema import elements are used to add multiple schemas with different target namespaces to a document.
+	 All schemas are packaged in a lib/schemas.jar.
+
+	 a) Take a look the import element in request.xsd:
+	   <xs:import namespace="http://www.jboss.org/custom-request" schemaLocation="custom-request-type.xsd"/>
+	   This custom-request-type.xsd should in this case be packaged in the root of the schemas.jar
+
+	 b) Another example can be found in response.xsd:
+	   <xs:import namespace="http://www.jboss.org/custom-response" schemaLocation="imports/custom-response-type.xsd"/>
+	   In this case the xsd has is located in a directory named 'imports' in the schemas.jar
+



More information about the jboss-svn-commits mailing list