[jboss-svn-commits] JBL Code SVN: r22670 - in labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts: webservice_consumer_wise and 9 other directories.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Wed Sep 10 22:32:45 EDT 2008


Author: jim.ma
Date: 2008-09-10 22:32:43 -0400 (Wed, 10 Sep 2008)
New Revision: 22670

Modified:
   labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/readme.txt
   labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/webservice_consumer_wise/build.xml
   labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/webservice_consumer_wise/readme.txt
   labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise/MyRequestAction.java
   labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise/MyResponseAction.java
   labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise/test/SendJMSMessage.java
   labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/webservice_consumer_wise2/build.xml
   labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/webservice_consumer_wise2/readme.txt
   labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/MyRequestAction.java
   labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/test/SendJMSMessage.java
   labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/webservice_consumer_wise3/build.xml
   labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/webservice_consumer_wise3/readme.txt
   labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/webservice_consumer_wise3/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise3/test/SendJMSMessage.java
   labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/webservice_consumer_wise4/build.xml
   labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/webservice_consumer_wise4/readme.txt
   labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise4/test/SendJMSMessage.java
Log:
JBESB-1983:Updated readme for webservice_consumer_wise* quickstart

Modified: labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/readme.txt
===================================================================
--- labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/readme.txt	2008-09-11 01:50:58 UTC (rev 22669)
+++ labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/readme.txt	2008-09-11 02:32:43 UTC (rev 22670)
@@ -83,7 +83,4 @@
   JBoss ESB.  It uses the Transformation engine as well as the static-routing
   feature.  It also demonstrations the use of multiple JVMs running different
   services.
-  This is a fairly advanced demonstration.
-
-* publish_as_webservice - demonstrations how to use SOAPIn and SOAPOut action to publish 
-  a esb service as a web service
+  This is a fairly advanced demonstration.

Modified: labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/webservice_consumer_wise/build.xml
===================================================================
--- labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/webservice_consumer_wise/build.xml	2008-09-11 01:50:58 UTC (rev 22669)
+++ labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/webservice_consumer_wise/build.xml	2008-09-11 02:32:43 UTC (rev 22670)
@@ -55,7 +55,7 @@
     </target>
 
 	<target name="sendjms" depends="compile">
-		<echo>Send ESB message that triggers webservice call</echo>
+		<echo>Send JMS message that triggers webservice call</echo>
                 <java fork="yes" classname="org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise.test.SendJMSMessage" failonerror="true">
                         <arg value="Jimbo"/>
                         <classpath refid="exec-classpath"/>

Modified: labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/webservice_consumer_wise/readme.txt
===================================================================
--- labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/webservice_consumer_wise/readme.txt	2008-09-11 01:50:58 UTC (rev 22669)
+++ labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/webservice_consumer_wise/readme.txt	2008-09-11 02:32:43 UTC (rev 22670)
@@ -1,92 +1,94 @@
-Overview:
-=========
-	This example demonstrates how to consume a 181 Web Service in an ESB action.
-    This ESB will make a webservice request that requires a single "toWhom" string parameter.
-    The webservice will return a greeting response. The ESB simply dislays the response on the 
-    console.  
-
-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 standalone mode:
-=======================
-   This quickstart will not currently run in standalone mode.
-
-To Run '.esb' archive mode:
-===========================
-    1.  In a command terminal window in this folder ("Window1"), type 'ant undeploy-jms-dests'.
-    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.  Switch back to Application Server console to see the output from the ESB
-
-	'runtest' target description:
-	In a separate command prompt window, run "ant runtest" to shoot a JMS message
-	into the listener which will then invoke the MyJMSListenerAction and display
-	it to the console.  You can modify the build.xml to change the phrase 
-	"Hello World" to something else and re-run "ant runtest".
-	
-	You should output that looks like this, after running "ant runtest":
-	&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
-    12:35:47,975 INFO  [STDOUT] Request map is: {sayHello.toWhom=Jimbo}
-    12:35:47,975 INFO  [STDOUT] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
-    12:35:47,990 WARN  [HttpMethodBase] Going to buffer response body of large or unknown size. Using 
-                       getResponseBodyAsStream instead is recommended.
-    12:35:47,991 INFO  [STDOUT] 
-    &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
-    12:35:47,991 INFO  [STDOUT] Response Map is: 
-              <env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
-                 <env:Header></env:Header>
-              <env:Body>
-              <hel:sayHelloResponse xmlns:hel='http://webservice_consumer1/helloworld'>
-                 <return>Hello World Greeting for 'Jimbo' on Sat Jul 14 12:35:47 EDT 2007</return>
-              </hel:sayHelloResponse></env:Body></env:Envelope>
-    12:35:47,991 INFO  [STDOUT] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
-
-Project file descriptions:
-==========================
-
-	jboss-esb.xml: 			
-	There is no JMS gateway in this quickstart. A java client talks directly to the ESB
-	listener queue called "queue/quickstart_webservice_consumer1_esb". The actions in 
-	jboss-esb.xml convert the ESB message into to a webservice parameter Map, make a call 
-	to the HelloWorldWS webservice, then print the response on the console. Both juddi.properties 
-	and jbossesb-properties.xml are used when the service first boots up for self-registration 
-	based upon the service-category and service-name found in the esb-config.xml file.
-
-	jndi.properties:
-	Needed primarily for org.jboss.soa.esb.samples.quickstart.webservice_consumer1.test.SendESBMessage that is fired by ant runtest.
-
-	log4j.xml:
-	Needed to configure log4J used by both the quickstart and the ESB itself. A listener needs a place to log.
-
-	src/../SendEsbMessage.java:
-	Send a message directly the the ESB internal JMS listener. Demonstrates how one can bypass the 
-	gateway and speak directly to an ESB service.
-	
-	src/../MyRequestAction.java
-	Convert the message body into a webservice request parameter Map that only has one paramater called
-	"sayHello.toWhom" for the web service call. The request parameter map is named 
-	"helloworld-request-parameters".
-	
-	org.jboss.soa.esb.actions.soap.SOAPClient
-	This class is used to make the call to the webservice. It will take the
-	parameters that MyRequestAction set in "paramsLocation", call the webservice, then place
-	the response in "responseLocation". This is zero Java code ESB wiring in jboss-esb.xml.
-	
-	src/../MyResponseAction.java
-	Retrieve the webservice response and display it on the console.	The response location name
-	is "helloworld-response". 	
-	
-	build.xml:
-	Targets and structure description:
-	*	the classpath property pulls the jbossesb-properties.xml file and the juddi.properties file to the
-		front of the list
-	*	the echoCP task is useful for making sure what you think is in your classpath is actually in your classpath
-		Usage is: ant echoCP > myclasspath.txt 
-		This generates a file called myclasspath.txt which can be reviewed in a text editor
-	*	the run task calls the Launcher passing in 3 arguments the most important are the esb-config.xml and 
-		esb-config-gateway.xml files
-	*	the runtest task calls the org.jboss.soa.esb.samples.quickstart.helloworld.test.SendEsbMessage class and passes in an argument representing
-		the string-based message to be pused into the queue the gateway is listening on. 
\ No newline at end of file
+Overview:
+=========
+    This example demonstrates how to use Wise SOAPClient action to consume a 181 Web Service in an ESB action.
+    This ESB will make a webservice request that requires a single "toWhom" string parameter.
+    The webservice will return a greeting response. The ESB simply dislays the request and response on the 
+    console.  
+
+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 standalone mode:
+=======================
+   This quickstart will not currently run in standalone mode.
+
+To Run '.esb' archive mode:
+===========================
+    1.  Open wise-core.properties and modify the propertie 'wise.tmpDir' there to suit your environment.   
+    2.  In a command terminal window in this folder ("Window1"), type 'ant deploy'.
+    3.  Open another command terminal window in this folder ("Window2"), type 'ant runtest'.
+    4.  Switch back to Application Server console to see the output from the ESB
+
+	'runtest' target description:
+	In a separate command prompt window, run "ant runtest" to shoot a ESB message
+	into the listener which will then invoke the MyRequestAction, SOAPClient and MyResponse
+        and display it to the console.
+	
+	You should output that looks like this, after running "ant runtest":
+        13:20:27,431 INFO  [STDOUT] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
+        13:20:27,432 INFO  [STDOUT] Request map is: {toWhom=Jimbo}
+	13:20:27,433 INFO  [STDOUT] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
+	13:20:27,830 INFO  [STDOUT] parsing WSDL...
+	13:20:28,962 INFO  [STDOUT] generating code...
+	13:20:29,000 INFO  [STDOUT] it/javalinux/wise/HelloWorld.java
+	13:20:29,049 INFO  [STDOUT] it/javalinux/wise/HelloWorldWSService.java
+	13:20:29,053 INFO  [STDOUT] it/javalinux/wise/ObjectFactory.java
+	13:20:29,057 INFO  [STDOUT] it/javalinux/wise/SayHello.java
+	13:20:29,058 INFO  [STDOUT] it/javalinux/wise/SayHelloResponse.java
+	13:20:29,066 INFO  [STDOUT] it/javalinux/wise/package-info.java
+	13:20:30,010 INFO  [STDOUT] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
+	13:20:30,010 INFO  [STDOUT] Response Map is: {result=Hello World Greeting for 'Jimbo' on Tue Sep 09 13:20:29 CST 2008}
+        13:20:30,010 INFO  [STDOUT] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
+
+    5. When finished, undeploy the application by typing 'ant undeploy'.
+
+Project file descriptions:
+==========================
+
+	jboss-esb.xml: 			
+        The actions in jboss-esb.xml convert the ESB message into to a webservice parameter Map, make a call 
+	to the HelloWorldWS webservice, then print the response on the console. Both juddi.properties 
+	and jbossesb-properties.xml are used when the service first boots up for self-registration 
+	based upon the service-category and service-name found in the esb-config.xml file.
+
+	jndi.properties:
+	Needed primarily for org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise.SendESBMessage that is fired by ant runtest.
+
+        wise-core.properties
+        Needed to configure SOAPClient based on Wise project.
+
+	log4j.xml:
+	Needed to configure log4J used by both the quickstart and the ESB itself. A listener needs a place to log.
+
+	src/../SendEsbMessage.java:
+	Send a message directly the the ESB internal JMS listener. Demonstrates how one can bypass the 
+	gateway and speak directly to an ESB service.
+
+        src/../SendJMSMessage.java:
+	Send a message to JMS gateway listener and speak to an ESB service.
+	
+	src/../MyRequestAction.java
+	Convert the message body into a webservice request parameter Map that only has one paramater called
+	"toWhom" for the web service call.
+	
+	src/../SOAPClient
+	This class is used to make the call to the webservice. It will take the
+	parameters map that MyRequestAction set in message body, call the webservice, then place
+	the response in message.
+	
+	src/../MyResponseAction.java
+	Retrieve the webservice response and display it on the console.
+	
+	build.xml:
+	Targets and structure description:
+	*	the classpath property pulls the jbossesb-properties.xml file and the juddi.properties file to the
+		front of the list
+	*	the echoCP task is useful for making sure what you think is in your classpath is actually in your classpath
+		Usage is: ant echoCP > myclasspath.txt 
+		This generates a file called myclasspath.txt which can be reviewed in a text editor
+	*	the runtest task calls the org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise.SendEsbMessage class and passes in an argument representing
+		the string-based message to be pused into esb message aware listener queue. 
+	*	the sendjms task calls the org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise.SendJMSMessage class and passes in an argument representing
+		the string-based message to be pused into the queue the gateway is listening on.  

Modified: labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise/MyRequestAction.java
===================================================================
--- labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise/MyRequestAction.java	2008-09-11 01:50:58 UTC (rev 22669)
+++ labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise/MyRequestAction.java	2008-09-11 02:32:43 UTC (rev 22670)
@@ -51,10 +51,8 @@
       HashMap requestMap = new HashMap();
 
       // add paramaters to the web service request map
-      requestMap.put("toWhom", msgBody);
+      requestMap.put("toWhom", msgBody);
 
-      // The "paramsLocation" property was set in jboss-esb.xml to
-      // "helloworld-request-parameters"
       message.getBody().add(requestMap);
       System.out.println("Request map is: " + requestMap.toString());
 
@@ -83,4 +81,4 @@
       System.out.println("&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&\n");
    }
 
-}
\ No newline at end of file
+}

Modified: labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise/MyResponseAction.java
===================================================================
--- labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise/MyResponseAction.java	2008-09-11 01:50:58 UTC (rev 22669)
+++ labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise/MyResponseAction.java	2008-09-11 02:32:43 UTC (rev 22670)
@@ -49,9 +49,7 @@
 
       logHeader();
 
-      // The "responseLocation" property was set in jboss-esb.xml to
-      // "helloworld-response"
-      Map responseMsg = (Map) message.getBody().get(Body.DEFAULT_LOCATION);
+      Map responseMsg = (Map) message.getBody().get();
       System.out.println("Response Map is: " + responseMsg);
 
       logFooter();
@@ -79,4 +77,4 @@
       System.out.println("&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&\n");
    }
 
-}
\ No newline at end of file
+}

Modified: labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise/test/SendJMSMessage.java
===================================================================
--- labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise/test/SendJMSMessage.java	2008-09-11 01:50:58 UTC (rev 22669)
+++ labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise/test/SendJMSMessage.java	2008-09-11 02:32:43 UTC (rev 22670)
@@ -52,7 +52,7 @@
     	Object tmp = iniCtx.lookup("ConnectionFactory");
     	QueueConnectionFactory qcf = (QueueConnectionFactory) tmp;
     	conn = qcf.createQueueConnection();
-    	que = (Queue) iniCtx.lookup("queue/quickstart_webservice_consumer1_Request_gw");
+    	que = (Queue) iniCtx.lookup("queue/quickstart_webservice_consumer_wise_Request_gw");
     	session = conn.createQueueSession(false, QueueSession.AUTO_ACKNOWLEDGE);
     	conn.start();
     	System.out.println("Connection Started");

Modified: labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/webservice_consumer_wise2/build.xml
===================================================================
--- labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/webservice_consumer_wise2/build.xml	2008-09-11 01:50:58 UTC (rev 22669)
+++ labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/webservice_consumer_wise2/build.xml	2008-09-11 02:32:43 UTC (rev 22670)
@@ -55,7 +55,7 @@
     </target>
 
 	<target name="sendjms" depends="compile">
-		<echo>Send ESB message that triggers webservice call</echo>
+		<echo>Send JMS message that triggers webservice call</echo>
                 <java fork="yes" classname="org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise2.test.SendJMSMessage" failonerror="true">
                         <arg value="Jimbo"/>
                         <classpath refid="exec-classpath"/>

Modified: labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/webservice_consumer_wise2/readme.txt
===================================================================
--- labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/webservice_consumer_wise2/readme.txt	2008-09-11 01:50:58 UTC (rev 22669)
+++ labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/webservice_consumer_wise2/readme.txt	2008-09-11 02:32:43 UTC (rev 22670)
@@ -1,92 +1,103 @@
-Overview:
-=========
-	This example demonstrates how to consume a 181 Web Service in an ESB action.
-    This ESB will make a webservice request that requires a single "toWhom" string parameter.
-    The webservice will return a greeting response. The ESB simply dislays the response on the 
-    console.  
-
-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 standalone mode:
-=======================
-   This quickstart will not currently run in standalone mode.
-
-To Run '.esb' archive mode:
-===========================
-    1.  In a command terminal window in this folder ("Window1"), type 'ant undeploy-jms-dests'.
-    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.  Switch back to Application Server console to see the output from the ESB
-
-	'runtest' target description:
-	In a separate command prompt window, run "ant runtest" to shoot a JMS message
-	into the listener which will then invoke the MyJMSListenerAction and display
-	it to the console.  You can modify the build.xml to change the phrase 
-	"Hello World" to something else and re-run "ant runtest".
-	
-	You should output that looks like this, after running "ant runtest":
-	&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
-    12:35:47,975 INFO  [STDOUT] Request map is: {sayHello.toWhom=Jimbo}
-    12:35:47,975 INFO  [STDOUT] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
-    12:35:47,990 WARN  [HttpMethodBase] Going to buffer response body of large or unknown size. Using 
-                       getResponseBodyAsStream instead is recommended.
-    12:35:47,991 INFO  [STDOUT] 
-    &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
-    12:35:47,991 INFO  [STDOUT] Response Map is: 
-              <env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
-                 <env:Header></env:Header>
-              <env:Body>
-              <hel:sayHelloResponse xmlns:hel='http://webservice_consumer1/helloworld'>
-                 <return>Hello World Greeting for 'Jimbo' on Sat Jul 14 12:35:47 EDT 2007</return>
-              </hel:sayHelloResponse></env:Body></env:Envelope>
-    12:35:47,991 INFO  [STDOUT] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
-
-Project file descriptions:
-==========================
-
-	jboss-esb.xml: 			
-	There is no JMS gateway in this quickstart. A java client talks directly to the ESB
-	listener queue called "queue/quickstart_webservice_consumer1_esb". The actions in 
-	jboss-esb.xml convert the ESB message into to a webservice parameter Map, make a call 
-	to the HelloWorldWS webservice, then print the response on the console. Both juddi.properties 
-	and jbossesb-properties.xml are used when the service first boots up for self-registration 
-	based upon the service-category and service-name found in the esb-config.xml file.
-
-	jndi.properties:
-	Needed primarily for org.jboss.soa.esb.samples.quickstart.webservice_consumer1.test.SendESBMessage that is fired by ant runtest.
-
-	log4j.xml:
-	Needed to configure log4J used by both the quickstart and the ESB itself. A listener needs a place to log.
-
-	src/../SendEsbMessage.java:
-	Send a message directly the the ESB internal JMS listener. Demonstrates how one can bypass the 
-	gateway and speak directly to an ESB service.
-	
-	src/../MyRequestAction.java
-	Convert the message body into a webservice request parameter Map that only has one paramater called
-	"sayHello.toWhom" for the web service call. The request parameter map is named 
-	"helloworld-request-parameters".
-	
-	org.jboss.soa.esb.actions.soap.SOAPClient
-	This class is used to make the call to the webservice. It will take the
-	parameters that MyRequestAction set in "paramsLocation", call the webservice, then place
-	the response in "responseLocation". This is zero Java code ESB wiring in jboss-esb.xml.
-	
-	src/../MyResponseAction.java
-	Retrieve the webservice response and display it on the console.	The response location name
-	is "helloworld-response". 	
-	
-	build.xml:
-	Targets and structure description:
-	*	the classpath property pulls the jbossesb-properties.xml file and the juddi.properties file to the
-		front of the list
-	*	the echoCP task is useful for making sure what you think is in your classpath is actually in your classpath
-		Usage is: ant echoCP > myclasspath.txt 
-		This generates a file called myclasspath.txt which can be reviewed in a text editor
-	*	the run task calls the Launcher passing in 3 arguments the most important are the esb-config.xml and 
-		esb-config-gateway.xml files
-	*	the runtest task calls the org.jboss.soa.esb.samples.quickstart.helloworld.test.SendEsbMessage class and passes in an argument representing
-		the string-based message to be pused into the queue the gateway is listening on. 
\ No newline at end of file
+Overview:
+=========
+    This example demonstrates how to use Wise SOAPClient and SmooksMapper to consume a jaxws Web Service in an ESB action.
+    In this quickstart, we use SmooksRequestMapper to transform the ExternalObject(see ExternalObject.java)
+    to JAXWS annotated web service request object (see ComplexObject.java under the wise.tmpDir configured in wise-core.properties) 
+    and call a Web Service. We also configure a SmooksResponseMapper to transform the web service result to an ExternalObject. 
+
+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 standalone mode:
+=======================
+   This quickstart will not currently run in standalone mode.
+
+To Run '.esb' archive mode:
+===========================
+    1.  Open wise-core.properties and modify the propertie 'wise.tmpDir' there to suit your environment.   
+    2.  In a command terminal window in this folder ("Window1"), type 'ant deploy'.
+    3.  Open another command terminal window in this folder ("Window2"), type 'ant runtest'.
+    4.  Switch back to Application Server console to see the output from the ESB
+
+	'runtest' target description:
+	In a separate command prompt window, run "ant runtest" to shoot a ESB message
+	into the listener which will then invoke the MyRequestAction, SOAPClient and MyResponse
+        and display it to the console.
+	
+        15:20:46,077 INFO  [STDOUT] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
+	15:20:46,079 INFO  [STDOUT] Request map is: {external=org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise2.ExternalObject at 30a4a7		      	 
+        		   [internal=org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise2.InternalObject at 189ff39[text=Jimbo,number=1],date=Wed Mar 07 04:27:00  				   CST 2007]}
+	15:20:46,079 INFO  [STDOUT] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
+	15:20:46,099 INFO  [STDOUT] parsing WSDL...
+	15:20:46,136 INFO  [STDOUT] generating code...
+	15:20:46,138 INFO  [STDOUT] it/javalinux/wise/ComplexObject.java
+	15:20:46,157 INFO  [STDOUT] it/javalinux/wise/ObjectFactory.java
+	15:20:46,159 INFO  [STDOUT] it/javalinux/wise/PingComplexObject.java
+	15:20:46,160 INFO  [STDOUT] it/javalinux/wise/PingComplexObjectResponse.java
+	15:20:46,161 INFO  [STDOUT] it/javalinux/wise/PingWS.java
+	15:20:46,162 INFO  [STDOUT] it/javalinux/wise/PingWSService.java
+	15:20:46,164 INFO  [STDOUT] it/javalinux/wise/package-info.java
+	15:20:46,564 INFO  [ClassUtil] Loaded 4 classes from 2 URLs through class list file META-INF/content-handlers.inf.  Process took 2ms.  Turn on debug logging for   more info.
+	15:20:46,982 INFO  [ClassUtil] Loaded 4 classes from 2 URLs through class list file META-INF/content-handlers.inf.  Process took 2ms.  Turn on debug logging for more info.
+	15:20:47,480 INFO  [STDOUT] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
+	15:20:47,481 INFO  [STDOUT] Response Map is: {InternalObject=org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise2.InternalObject at 956740[text=Jimbo,number=1], ExternalObject=org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise2.ExternalObject at 43f916[internal=org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise2.InternalObject at 956740[text=Jimbo,number=1],date=<null>]}
+        15:20:47,481 INFO  [STDOUT] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
+
+
+    5. When finished, undeploy the application by typing 'ant undeploy'.
+
+Project file descriptions:
+==========================
+
+	jboss-esb.xml: 			
+        The actions in jboss-esb.xml convert the ESB message into to a webservice parameter Map, make a call 
+	to the HelloWorldWS webservice, then print the response on the console. Both juddi.properties 
+	and jbossesb-properties.xml are used when the service first boots up for self-registration 
+	based upon the service-category and service-name found in the esb-config.xml file.
+
+	jndi.properties:
+	Needed primarily for org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise.SendESBMessage that is fired by ant runtest.
+
+        wise-core.properties
+        Needed to configure SOAPClient based on Wise project.
+        
+        smooks-config-XMLGregorianCalendar.xml
+        Smooks style configuration xml. Needed to configure the SmooksRequestMapper. 
+        
+        smooks-response-config
+        Smooks style configuration xml. Needed to configure the SmooksReMapper.
+
+	log4j.xml:
+	Needed to configure log4J used by both the quickstart and the ESB itself. A listener needs a place to log.
+
+	src/../SendEsbMessage.java:
+	Send a message directly the the ESB internal JMS listener. Demonstrates how one can bypass the 
+	gateway and speak directly to an ESB service.
+
+        src/../SendJMSMessage.java:
+	Send a message to JMS gateway listener and speak to an ESB service.
+	
+	src/../MyRequestAction.java
+	Convert the message body into a webservice request parameter Map.
+	
+	src/../SOAPClient
+	This class is used to make the call to the webservice. It will take the
+	parameters map that MyRequestAction set in message body, call the webservice, then place
+	the response in message.
+	
+	src/../MyResponseAction.java
+	Retrieve the webservice response and display it on the console.
+	
+	build.xml:
+	Targets and structure description:
+	*	the classpath property pulls the jbossesb-properties.xml file and the juddi.properties file to the
+		front of the list
+	*	the echoCP task is useful for making sure what you think is in your classpath is actually in your classpath
+		Usage is: ant echoCP > myclasspath.txt 
+		This generates a file called myclasspath.txt which can be reviewed in a text editor
+	*	the runtest task calls the org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise.SendEsbMessage class and passes in an argument representing
+		the string-based message to be pused into esb message aware listener queue. 
+	*	the sendjms task calls the org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise.SendJMSMessage class and passes in an argument representing
+		the string-based message to be pused into the queue the gateway is listening on.  

Modified: labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/MyRequestAction.java
===================================================================
--- labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/MyRequestAction.java	2008-09-11 01:50:58 UTC (rev 22669)
+++ labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/MyRequestAction.java	2008-09-11 02:32:43 UTC (rev 22670)
@@ -51,10 +51,7 @@
       logHeader();
       Object msgBody = (Object) message.getBody().get();
       HashMap requestMap = new HashMap();
-      // add paramaters to the web service request map
       requestMap.put("external", msgBody);
-      // The "paramsLocation" property was set in jboss-esb.xml to
-      // "helloworld-request-parameters"
       message.getBody().add(requestMap);
       System.out.println("Request map is: " + requestMap.toString());
 
@@ -83,4 +80,4 @@
       System.out.println("&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&\n");
    }
 
-}
\ No newline at end of file
+}

Modified: labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/test/SendJMSMessage.java
===================================================================
--- labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/test/SendJMSMessage.java	2008-09-11 01:50:58 UTC (rev 22669)
+++ labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/test/SendJMSMessage.java	2008-09-11 02:32:43 UTC (rev 22670)
@@ -22,6 +22,10 @@
 
 import java.util.Properties;
 
+import java.text.SimpleDateFormat;
+import java.text.ParseException;
+import java.util.Date;
+
 import javax.jms.JMSException;
 import javax.jms.ObjectMessage;
 import javax.jms.Queue;
@@ -33,7 +37,11 @@
 import javax.naming.InitialContext;
 import javax.naming.NamingException;
 
+import org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise2.ExternalObject;
+import org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise2.InternalObject;
+
 public class SendJMSMessage {
+    public static final String DEFAULT_DATE_FORMAT = "yyyy-MM-dd'T'HH:mm:ss";
     QueueConnection conn;
     QueueSession session;
     Queue que;
@@ -52,7 +60,7 @@
     	Object tmp = iniCtx.lookup("ConnectionFactory");
     	QueueConnectionFactory qcf = (QueueConnectionFactory) tmp;
     	conn = qcf.createQueueConnection();
-    	que = (Queue) iniCtx.lookup("queue/quickstart_webservice_consumer1_Request_gw");
+    	que = (Queue) iniCtx.lookup("queue/quickstart_webservice_consumer_wise2_Request_gw");
     	session = conn.createQueueSession(false, QueueSession.AUTO_ACKNOWLEDGE);
     	conn.start();
     	System.out.println("Connection Started");
@@ -65,10 +73,18 @@
         conn.close();
     }
     
-    public void sendAMessage(String msg) throws JMSException {
+    public void sendAMessage(String msg) throws JMSException, ParseException {
     	
-        QueueSender send = session.createSender(que);        
-        ObjectMessage tm = session.createObjectMessage(msg);
+        QueueSender send = session.createSender(que);
+        ExternalObject external = new ExternalObject();
+	InternalObject internal = new InternalObject();
+	internal.setNumber(new Integer(1));
+	internal.setText(msg);
+	external.setInternal(internal);
+	String dateString = "2007-03-07T04:27:00";
+	Date date = (new SimpleDateFormat(DEFAULT_DATE_FORMAT)).parse(dateString);
+	external.setDate(date);        
+        ObjectMessage tm = session.createObjectMessage(external);
         send.send(tm);        
         send.close();
     }

Modified: labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/webservice_consumer_wise3/build.xml
===================================================================
--- labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/webservice_consumer_wise3/build.xml	2008-09-11 01:50:58 UTC (rev 22669)
+++ labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/webservice_consumer_wise3/build.xml	2008-09-11 02:32:43 UTC (rev 22670)
@@ -55,7 +55,7 @@
     </target>
 
 	<target name="sendjms" depends="compile">
-		<echo>Send ESB message that triggers webservice call</echo>
+		<echo>Send JMS message that triggers webservice call</echo>
                 <java fork="yes" classname="org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise3.test.SendJMSMessage" failonerror="true">
                         <arg value="Jimbo"/>
                         <classpath refid="exec-classpath"/>

Modified: labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/webservice_consumer_wise3/readme.txt
===================================================================
--- labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/webservice_consumer_wise3/readme.txt	2008-09-11 01:50:58 UTC (rev 22669)
+++ labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/webservice_consumer_wise3/readme.txt	2008-09-11 02:32:43 UTC (rev 22670)
@@ -1,92 +1,112 @@
-Overview:
-=========
-	This example demonstrates how to consume a 181 Web Service in an ESB action.
-    This ESB will make a webservice request that requires a single "toWhom" string parameter.
-    The webservice will return a greeting response. The ESB simply dislays the response on the 
-    console.  
-
-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 standalone mode:
-=======================
-   This quickstart will not currently run in standalone mode.
-
-To Run '.esb' archive mode:
-===========================
-    1.  In a command terminal window in this folder ("Window1"), type 'ant undeploy-jms-dests'.
-    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.  Switch back to Application Server console to see the output from the ESB
-
-	'runtest' target description:
-	In a separate command prompt window, run "ant runtest" to shoot a JMS message
-	into the listener which will then invoke the MyJMSListenerAction and display
-	it to the console.  You can modify the build.xml to change the phrase 
-	"Hello World" to something else and re-run "ant runtest".
-	
-	You should output that looks like this, after running "ant runtest":
-	&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
-    12:35:47,975 INFO  [STDOUT] Request map is: {sayHello.toWhom=Jimbo}
-    12:35:47,975 INFO  [STDOUT] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
-    12:35:47,990 WARN  [HttpMethodBase] Going to buffer response body of large or unknown size. Using 
-                       getResponseBodyAsStream instead is recommended.
-    12:35:47,991 INFO  [STDOUT] 
-    &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
-    12:35:47,991 INFO  [STDOUT] Response Map is: 
-              <env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
-                 <env:Header></env:Header>
-              <env:Body>
-              <hel:sayHelloResponse xmlns:hel='http://webservice_consumer1/helloworld'>
-                 <return>Hello World Greeting for 'Jimbo' on Sat Jul 14 12:35:47 EDT 2007</return>
-              </hel:sayHelloResponse></env:Body></env:Envelope>
-    12:35:47,991 INFO  [STDOUT] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
-
-Project file descriptions:
-==========================
-
-	jboss-esb.xml: 			
-	There is no JMS gateway in this quickstart. A java client talks directly to the ESB
-	listener queue called "queue/quickstart_webservice_consumer1_esb". The actions in 
-	jboss-esb.xml convert the ESB message into to a webservice parameter Map, make a call 
-	to the HelloWorldWS webservice, then print the response on the console. Both juddi.properties 
-	and jbossesb-properties.xml are used when the service first boots up for self-registration 
-	based upon the service-category and service-name found in the esb-config.xml file.
-
-	jndi.properties:
-	Needed primarily for org.jboss.soa.esb.samples.quickstart.webservice_consumer1.test.SendESBMessage that is fired by ant runtest.
-
-	log4j.xml:
-	Needed to configure log4J used by both the quickstart and the ESB itself. A listener needs a place to log.
-
-	src/../SendEsbMessage.java:
-	Send a message directly the the ESB internal JMS listener. Demonstrates how one can bypass the 
-	gateway and speak directly to an ESB service.
-	
-	src/../MyRequestAction.java
-	Convert the message body into a webservice request parameter Map that only has one paramater called
-	"sayHello.toWhom" for the web service call. The request parameter map is named 
-	"helloworld-request-parameters".
-	
-	org.jboss.soa.esb.actions.soap.SOAPClient
-	This class is used to make the call to the webservice. It will take the
-	parameters that MyRequestAction set in "paramsLocation", call the webservice, then place
-	the response in "responseLocation". This is zero Java code ESB wiring in jboss-esb.xml.
-	
-	src/../MyResponseAction.java
-	Retrieve the webservice response and display it on the console.	The response location name
-	is "helloworld-response". 	
-	
-	build.xml:
-	Targets and structure description:
-	*	the classpath property pulls the jbossesb-properties.xml file and the juddi.properties file to the
-		front of the list
-	*	the echoCP task is useful for making sure what you think is in your classpath is actually in your classpath
-		Usage is: ant echoCP > myclasspath.txt 
-		This generates a file called myclasspath.txt which can be reviewed in a text editor
-	*	the run task calls the Launcher passing in 3 arguments the most important are the esb-config.xml and 
-		esb-config-gateway.xml files
-	*	the runtest task calls the org.jboss.soa.esb.samples.quickstart.helloworld.test.SendEsbMessage class and passes in an argument representing
-		the string-based message to be pused into the queue the gateway is listening on. 
\ No newline at end of file
+Overview:
+=========
+    This is another example of how to use SmookHandler in Wise SOAPClient to do soap message transformation.   
+    The tranformation is done by confguring 'smooks-handler-config' for
+SOAPClient. This sample simply adds the soap header to the soap message. 
+
+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 standalone mode:
+=======================
+   This quickstart will not currently run in standalone mode.
+
+To Run '.esb' archive mode:
+===========================
+    1.  Open wise-core.properties and modify the propertie 'wise.tmpDir' there to suit your environment.   
+    2.  In a command terminal window in this folder ("Window1"), type 'ant deploy'.
+    3.  Open another command terminal window in this folder ("Window2"), type 'ant runtest'.
+    4.  Switch back to Application Server console to see the output from the ESB
+
+	'runtest' target description:
+	In a separate command prompt window, run "ant runtest" to shoot a ESB message
+	into the listener which will then invoke the MyRequestAction, SOAPClient and MyResponse
+        and display it to the console.
+	
+	17:06:05,571 INFO  [STDOUT] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
+	17:06:05,571 INFO  [STDOUT] Request map is: {toWhom=Jimbo}
+	17:06:05,571 INFO  [STDOUT] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
+	17:06:05,576 INFO  [STDOUT] parsing WSDL...
+	17:06:05,603 INFO  [STDOUT] generating code...
+	17:06:05,605 INFO  [STDOUT] it/javalinux/wise/HelloWorld.java
+	17:06:05,836 INFO  [STDOUT] it/javalinux/wise/HelloWorldWSService.java
+	17:06:05,839 INFO  [STDOUT] it/javalinux/wise/ObjectFactory.java
+	17:06:05,844 INFO  [STDOUT] it/javalinux/wise/SayHello.java
+	17:06:05,846 INFO  [STDOUT] it/javalinux/wise/SayHelloResponse.java
+	17:06:05,849 INFO  [STDOUT] it/javalinux/wise/package-info.java
+	17:06:06,216 INFO  [SOAPClient] adding smooks handler:smooks-handler.xml
+	17:06:06,216 INFO  [SOAPClient] adding logging handler
+	17:06:06,225 INFO  [STDOUT] 
+	Outbound message:
+	17:06:06,230 INFO  [STDOUT] <env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'><env:Header><sign:sign xmlns:sign='uri://		
+	org.example.webservices.signature.Sign'/></env:Header><env:Body><ns1:sayHello xmlns:ns1='http://webservice_consumer_wise3/helloworld'><toWhom>Jimbo
+	17:06:06,230 INFO  [STDOUT] </toWhom>
+	17:06:06,230 INFO  [STDOUT] </ns1:sayHello>
+	17:06:06,230 INFO  [STDOUT] </env:Body></env:Envelope>
+	17:06:06,246 INFO  [STDOUT] 
+	Inbound message:
+	17:06:06,246 INFO  [STDOUT] <env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'><env:Header></env:Header><env:Body><ns2:sayHelloResponse 	
+        xmlns:ns2='http://webservice_consumer_wise3/helloworld'><return>Hello World Greeting for &apos;Jimbo&apos; on Tue Sep 09 17:06:06 CST 2008
+	17:06:06,246 INFO  [STDOUT] </return>
+	17:06:06,246 INFO  [STDOUT] </ns2:sayHelloResponse>
+	17:06:06,246 INFO  [STDOUT] </env:Body></env:Envelope>
+	17:06:06,255 INFO  [STDOUT] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
+	17:06:06,255 INFO  [STDOUT] Response Map is: {result=Hello World Greeting for 'Jimbo' on Tue Sep 09 17:06:06 CST 2008}
+	17:06:06,255 INFO  [STDOUT] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
+
+
+
+    5. When finished, undeploy the application by typing 'ant undeploy'.
+
+Project file descriptions:
+==========================
+
+	jboss-esb.xml: 			
+        The actions in jboss-esb.xml convert the ESB message into to a webservice parameter Map, make a call 
+	to the HelloWorldWS webservice, then print the response on the console. Both juddi.properties 
+	and jbossesb-properties.xml are used when the service first boots up for self-registration 
+	based upon the service-category and service-name found in the esb-config.xml file.
+
+	jndi.properties:
+	Needed primarily for org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise.SendESBMessage that is fired by ant runtest.
+
+        wise-core.properties
+        Needed to configure SOAPClient based on Wise project.
+        
+        smooks-handler.xml
+        Smooks style configuration xml. Needed to configure the SmooksHander. 
+        
+	log4j.xml:
+	Needed to configure log4J used by both the quickstart and the ESB itself. A listener needs a place to log.
+
+	src/../SendEsbMessage.java:
+	Send a message directly the the ESB internal JMS listener. Demonstrates how one can bypass the 
+	gateway and speak directly to an ESB service.
+
+        src/../SendJMSMessage.java:
+	Send a message to JMS gateway listener and speak to an ESB service.
+	
+	src/../MyRequestAction.java
+	Convert the message body into a webservice request parameter Map.
+	
+	src/../SOAPClient
+	This class is used to make the call to the webservice. It will take the
+	parameters map that MyRequestAction set in message body, call the webservice, then place
+	the response in message.
+	
+	src/../MyResponseAction.java
+	Retrieve the webservice response and display it on the console.
+	
+	build.xml:
+	Targets and structure description:
+	*	the classpath property pulls the jbossesb-properties.xml file and the juddi.properties file to the
+		front of the list
+	*	the echoCP task is useful for making sure what you think is in your classpath is actually in your classpath
+		Usage is: ant echoCP > myclasspath.txt 
+		This generates a file called myclasspath.txt which can be reviewed in a text editor
+	*	the runtest task calls the org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise.SendEsbMessage class and passes in an argument representing
+		the string-based message to be pused into esb message aware listener queue. 
+	*	the sendjms task calls the org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise.SendJMSMessage class and passes in an argument representing
+		the string-based message to be pused into the queue the gateway is listening on.  

Modified: labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/webservice_consumer_wise3/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise3/test/SendJMSMessage.java
===================================================================
--- labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/webservice_consumer_wise3/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise3/test/SendJMSMessage.java	2008-09-11 01:50:58 UTC (rev 22669)
+++ labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/webservice_consumer_wise3/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise3/test/SendJMSMessage.java	2008-09-11 02:32:43 UTC (rev 22670)
@@ -52,7 +52,7 @@
     	Object tmp = iniCtx.lookup("ConnectionFactory");
     	QueueConnectionFactory qcf = (QueueConnectionFactory) tmp;
     	conn = qcf.createQueueConnection();
-    	que = (Queue) iniCtx.lookup("queue/quickstart_webservice_consumer1_Request_gw");
+    	que = (Queue) iniCtx.lookup("queue/quickstart_webservice_consumer_wise3_Request_gw");
     	session = conn.createQueueSession(false, QueueSession.AUTO_ACKNOWLEDGE);
     	conn.start();
     	System.out.println("Connection Started");

Modified: labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/webservice_consumer_wise4/build.xml
===================================================================
--- labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/webservice_consumer_wise4/build.xml	2008-09-11 01:50:58 UTC (rev 22669)
+++ labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/webservice_consumer_wise4/build.xml	2008-09-11 02:32:43 UTC (rev 22670)
@@ -55,7 +55,7 @@
     </target>
 
 	<target name="sendjms" depends="compile">
-		<echo>Send ESB message that triggers webservice call</echo>
+		<echo>Send JMS message that triggers webservice call</echo>
                 <java fork="yes" classname="org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise4.test.SendJMSMessage" failonerror="true">
                         <arg value="Jimbo"/>
                         <classpath refid="exec-classpath"/>

Modified: labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/webservice_consumer_wise4/readme.txt
===================================================================
--- labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/webservice_consumer_wise4/readme.txt	2008-09-11 01:50:58 UTC (rev 22669)
+++ labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/webservice_consumer_wise4/readme.txt	2008-09-11 02:32:43 UTC (rev 22670)
@@ -1,92 +1,78 @@
-Overview:
-=========
-	This example demonstrates how to consume a 181 Web Service in an ESB action.
-    This ESB will make a webservice request that requires a single "toWhom" string parameter.
-    The webservice will return a greeting response. The ESB simply dislays the response on the 
-    console.  
-
-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 standalone mode:
-=======================
-   This quickstart will not currently run in standalone mode.
-
-To Run '.esb' archive mode:
-===========================
-    1.  In a command terminal window in this folder ("Window1"), type 'ant undeploy-jms-dests'.
-    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.  Switch back to Application Server console to see the output from the ESB
-
-	'runtest' target description:
-	In a separate command prompt window, run "ant runtest" to shoot a JMS message
-	into the listener which will then invoke the MyJMSListenerAction and display
-	it to the console.  You can modify the build.xml to change the phrase 
-	"Hello World" to something else and re-run "ant runtest".
-	
-	You should output that looks like this, after running "ant runtest":
-	&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
-    12:35:47,975 INFO  [STDOUT] Request map is: {sayHello.toWhom=Jimbo}
-    12:35:47,975 INFO  [STDOUT] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
-    12:35:47,990 WARN  [HttpMethodBase] Going to buffer response body of large or unknown size. Using 
-                       getResponseBodyAsStream instead is recommended.
-    12:35:47,991 INFO  [STDOUT] 
-    &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
-    12:35:47,991 INFO  [STDOUT] Response Map is: 
-              <env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
-                 <env:Header></env:Header>
-              <env:Body>
-              <hel:sayHelloResponse xmlns:hel='http://webservice_consumer1/helloworld'>
-                 <return>Hello World Greeting for 'Jimbo' on Sat Jul 14 12:35:47 EDT 2007</return>
-              </hel:sayHelloResponse></env:Body></env:Envelope>
-    12:35:47,991 INFO  [STDOUT] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
-
-Project file descriptions:
-==========================
-
-	jboss-esb.xml: 			
-	There is no JMS gateway in this quickstart. A java client talks directly to the ESB
-	listener queue called "queue/quickstart_webservice_consumer1_esb". The actions in 
-	jboss-esb.xml convert the ESB message into to a webservice parameter Map, make a call 
-	to the HelloWorldWS webservice, then print the response on the console. Both juddi.properties 
-	and jbossesb-properties.xml are used when the service first boots up for self-registration 
-	based upon the service-category and service-name found in the esb-config.xml file.
-
-	jndi.properties:
-	Needed primarily for org.jboss.soa.esb.samples.quickstart.webservice_consumer1.test.SendESBMessage that is fired by ant runtest.
-
-	log4j.xml:
-	Needed to configure log4J used by both the quickstart and the ESB itself. A listener needs a place to log.
-
-	src/../SendEsbMessage.java:
-	Send a message directly the the ESB internal JMS listener. Demonstrates how one can bypass the 
-	gateway and speak directly to an ESB service.
-	
-	src/../MyRequestAction.java
-	Convert the message body into a webservice request parameter Map that only has one paramater called
-	"sayHello.toWhom" for the web service call. The request parameter map is named 
-	"helloworld-request-parameters".
-	
-	org.jboss.soa.esb.actions.soap.SOAPClient
-	This class is used to make the call to the webservice. It will take the
-	parameters that MyRequestAction set in "paramsLocation", call the webservice, then place
-	the response in "responseLocation". This is zero Java code ESB wiring in jboss-esb.xml.
-	
-	src/../MyResponseAction.java
-	Retrieve the webservice response and display it on the console.	The response location name
-	is "helloworld-response". 	
-	
-	build.xml:
-	Targets and structure description:
-	*	the classpath property pulls the jbossesb-properties.xml file and the juddi.properties file to the
-		front of the list
-	*	the echoCP task is useful for making sure what you think is in your classpath is actually in your classpath
-		Usage is: ant echoCP > myclasspath.txt 
-		This generates a file called myclasspath.txt which can be reviewed in a text editor
-	*	the run task calls the Launcher passing in 3 arguments the most important are the esb-config.xml and 
-		esb-config-gateway.xml files
-	*	the runtest task calls the org.jboss.soa.esb.samples.quickstart.helloworld.test.SendEsbMessage class and passes in an argument representing
-		the string-based message to be pused into the queue the gateway is listening on. 
\ No newline at end of file
+Overview:
+=========
+    This quickstart demonstrates how to use SmookHandler and JAX-WS hander in Wise SOAPClient to transform and manipulate
+    soap message. 
+
+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 standalone mode:
+=======================
+   This quickstart will not currently run in standalone mode.
+
+To Run '.esb' archive mode:
+===========================
+    1.  Open wise-core.properties and modify the propertie 'wise.tmpDir' there to suit your environment.   
+    2.  In a command terminal window in this folder ("Window1"), type 'ant deploy'.
+    3.  Open another command terminal window in this folder ("Window2"), type 'ant runtest'.
+    4.  Switch back to Application Server console to see the output from the ESB
+    5. When finished, undeploy the application by typing 'ant undeploy'.
+
+Project file descriptions:
+==========================
+
+	jboss-esb.xml: 			
+        The actions in jboss-esb.xml convert the ESB message into to a webservice parameter Map, make a call 
+	to the HelloWorldWS webservice, then print the response on the console. Both juddi.properties 
+	and jbossesb-properties.xml are used when the service first boots up for self-registration 
+	based upon the service-category and service-name found in the esb-config.xml file.
+
+	jndi.properties:
+	Needed primarily for org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise.SendESBMessage that is fired by ant runtest.
+
+        wise-core.properties
+        Needed to configure SOAPClient based on Wise project.
+        
+        smooks-handler.xml
+        Smooks style configuration xml. Needed to configure the SmooksHander. 
+        
+	log4j.xml:
+	Needed to configure log4J used by both the quickstart and the ESB itself. A listener needs a place to log.
+
+	src/../SendEsbMessage.java:
+	Send a message directly the the ESB internal JMS listener. Demonstrates how one can bypass the 
+	gateway and speak directly to an ESB service.
+
+        src/../SendJMSMessage.java:
+	Send a message to JMS gateway listener and speak to an ESB service.
+	
+	src/../MyRequestAction.java
+	Convert the message body into a webservice request parameter Map.
+	
+	src/../SOAPClient
+	This class is used to make the call to the webservice. It will take the
+	parameters map that MyRequestAction set in message body, call the webservice, then place
+	the response in message.
+	
+	src/../MyResponseAction.java
+	Retrieve the webservice response and display it on the console.
+        
+        src/../MyCustomLoggingHandler.java
+        JAX-WS hanlder file. It is used to display the soap message to the console.
+        
+        src/../MyCustomLoggingHandler2.java
+        Another JAX-WS handler file.  
+	
+	build.xml:
+	Targets and structure description:
+	*	the classpath property pulls the jbossesb-properties.xml file and the juddi.properties file to the
+		front of the list
+	*	the echoCP task is useful for making sure what you think is in your classpath is actually in your classpath
+		Usage is: ant echoCP > myclasspath.txt 
+		This generates a file called myclasspath.txt which can be reviewed in a text editor
+	*	the runtest task calls the org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise.SendEsbMessage class and passes in an argument representing
+		the string-based message to be pused into esb message aware listener queue. 
+	*	the sendjms task calls the org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise.SendJMSMessage class and passes in an argument representing
+		the string-based message to be pused into the queue the gateway is listening on.  

Modified: labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise4/test/SendJMSMessage.java
===================================================================
--- labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise4/test/SendJMSMessage.java	2008-09-11 01:50:58 UTC (rev 22669)
+++ labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise4/test/SendJMSMessage.java	2008-09-11 02:32:43 UTC (rev 22670)
@@ -52,7 +52,7 @@
     	Object tmp = iniCtx.lookup("ConnectionFactory");
     	QueueConnectionFactory qcf = (QueueConnectionFactory) tmp;
     	conn = qcf.createQueueConnection();
-    	que = (Queue) iniCtx.lookup("queue/quickstart_webservice_consumer1_Request_gw");
+    	que = (Queue) iniCtx.lookup("queue/quickstart_webservice_consumer_wise4_Request_gw");
     	session = conn.createQueueSession(false, QueueSession.AUTO_ACKNOWLEDGE);
     	conn.start();
     	System.out.println("Connection Started");




More information about the jboss-svn-commits mailing list