[jboss-svn-commits] JBL Code SVN: r13401 - in labs/jbossesb/trunk/product: samples/quickstarts/webservice_bpel and 3 other directories.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Thu Jul 12 09:53:28 EDT 2007


Author: tfennelly
Date: 2007-07-12 09:53:28 -0400 (Thu, 12 Jul 2007)
New Revision: 13401

Modified:
   labs/jbossesb/trunk/product/install/build.xml
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/README.TXT
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_jbossws_adapter_01/readme.txt
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_war1/readme.txt
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_war1/src/org/jboss/soa/esb/samples/quickstart/webservicewar1/test/SendJMSMessage.java
Log:
Updated quickstart readmes

Modified: labs/jbossesb/trunk/product/install/build.xml
===================================================================
--- labs/jbossesb/trunk/product/install/build.xml	2007-07-12 12:35:40 UTC (rev 13400)
+++ labs/jbossesb/trunk/product/install/build.xml	2007-07-12 13:53:28 UTC (rev 13401)
@@ -118,6 +118,9 @@
             <fileset dir="${org.jboss.esb.dist.lib}/soap.esb"
               excludes="${messaging.excludes}"/>
           </copy>
+
+          <!-- soapui-client.sar -->
+          <copy file="${org.jboss.esb.dist.lib}/soapui-client.sar" todir="${deploy.dir}" />
         </target>
 
         <property name="org.jboss.esb.tomcat.55lib"

Modified: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/README.TXT
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/README.TXT	2007-07-12 12:35:40 UTC (rev 13400)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/README.TXT	2007-07-12 13:53:28 UTC (rev 13401)
@@ -25,35 +25,30 @@
     2.  Update the "org.jboss.esb.server.home" property in the quickstarts.properties
         file in "../conf".
     3.  Make sure you're running the ESB on JBoss AS v4.2.0GA.
-    4.  Make sure the following ESB components are deployed to your JBoss AS. These
-        components can be located in the "lib" folder of the distro (build/jbossesb/lib
-        if you are working from the SVN source).
+    4.  Run the ant script in the install directory of the distribution.  After running,
+        check that the following ESB components are deployed to your JBoss AS.
             a) jbossesb.esb
             b) jbossesb.sar
             c) soap.esb
             d) soapui-client.sar
             e) smooks.esb
-    5.  Delete the jbm-queue-service.xml file from jbossesb.esb and smooks.esb.
-    6.  Checkout, build and deploy JBossWS 2.0.x from http://anonsvn.jboss.org/repos/jbossws/branches/jbossws-2.0
-        To build and deploy JBossWS 2.0.0 follow the instructions on http://www.jboss.org/index.html?module=bb&op=viewtopic&t=109659.
+    5.  Download and install JBossWS 2.0.0GA (http://labs.jboss.com/jbossws) on your JBoss AS.
         NOTES:
-            a) You need to copy build/ant.properties.example to build/ant.properties and
-               modify for your local env.
-            b) You need to target your build for JBoss AS v4.2.0GA, so build and deploy using the
-               "deploy-jboss42" target.
-            c) Once deployed, go to jbossws.sar/jbossws.beans/META-INF/jboss-beans.xml on your
-               App Server and add the following bean config.  Add it just before the
-               "WSEndpointHandlerDeployer" bean config:
-                 "<bean name="WSEndpointJAXBIntrosCustomizationsDeployer" 
-                 class="org.jboss.wsf.spi.deployment.JAXBIntrosCustomizationsDeployer" />"
-            d) Again in jboss-beans.xml, add an "inject" element for the above bean config in the
+            a) Once deployed, go to jbossws.sar/jbossws.beans/META-INF/jboss-beans.xml on your
+               App Server and add the following bean configuration:
+                 "<bean name="WSEndpointJAXBIntrosCustomizationsDeployer"
+                     class="org.jboss.wsf.spi.deployment.JAXBIntrosCustomizationsDeployer" />"
+            b) Again in jboss-beans.xml, add a reference to the above bean config in the
                deployer list configured on the "WSMainDeployerManager" bean. E.g.:
                  "<inject bean="WSEndpointJAXBIntrosCustomizationsDeployer"/>"
-               Add this before the "inject" element for the "WSEndpointHandlerDeployer" bean. 
-            e) Copy "jbossesb/extras/jaxbintros/jboss-jaxb-intros.jar" to the root of the jbossws.sar
+               Add this before the "inject" element for the "WSEndpointHandlerDeployer" bean.
+            c) Copy "jbossesb/extras/jaxbintros/jboss-jaxb-intros.jar" to the root of the jbossws.sar
                service on your JBoss App Server.  Note that if you haven't already done this you'll
                need to stop and restart the the App Server.
-    7.  Start the JBoss App Server.
+            d) Again in jboss-beans.xml, modify the "WSWebMetaDataAdapter" bean class to be
+               "org.jboss.soa.esb.jbossws.ESBWebMetaDataAdapter".
+            e) Copy soap.esb/jbossesb-soap.jar to jbossws.sar.
+    6.  Start the JBoss App Server.
 
     Setting up ActiveBPEL:
     1.  Ensure that the value of the 'directory' attribute on the 'notificationChannel' (jboss-esb.xml)

Modified: labs/jbossesb/trunk/product/samples/quickstarts/webservice_jbossws_adapter_01/readme.txt
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_jbossws_adapter_01/readme.txt	2007-07-12 12:35:40 UTC (rev 13400)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_jbossws_adapter_01/readme.txt	2007-07-12 13:53:28 UTC (rev 13401)
@@ -9,37 +9,33 @@
 1. Update the "org.jboss.esb.server.home" property in the quickstarts.properties
    file in "../conf".
 2. Make sure you're running the ESB on JBoss AS v4.2.0GA.
-3. Make sure the following ESB components are deployed to your JBoss AS. These
-   components can be located in the "lib" folder of the distro (build/jbossesb/lib
-   if you are working from the SVN source).
+3. Run the ant script in the install directory of the distribution.  After running,
+   check that the following ESB components are deployed to your JBoss AS.
         a) jbossesb.esb
         b) jbossesb.sar
         c) soap.esb
-4. Delete the jbm-queue-service.xml file from jbossesb.esb.
-5.  Checkout, build and deploy JBossWS 2.0.x from http://anonsvn.jboss.org/repos/jbossws/branches/jbossws-2.0
-    To build and deploy JBossWS 2.0.0 follow the instructions on http://www.jboss.org/index.html?module=bb&op=viewtopic&t=109659.
-    NOTES:
-        a) You need to copy build/ant.properties.example to build/ant.properties and
-           modify for your local env.
-        b) You need to target your build for JBoss AS v4.2.0GA, so build and deploy using the
-           "deploy-jboss42" target.
-        c) Once deployed, go to jbossws.sar/jbossws.beans/META-INF/jboss-beans.xml on your
+4. Download and install JBossWS 2.0.0GA (http://labs.jboss.com/jbossws) on your JBoss AS.
+   NOTES:
+        a) Once deployed, go to jbossws.sar/jbossws.beans/META-INF/jboss-beans.xml on your
            App Server and add the following bean configuration:
              "<bean name="WSEndpointJAXBIntrosCustomizationsDeployer" 
-             class="org.jboss.wsf.spi.deployment.JAXBIntrosCustomizationsDeployer" />"
-        d) Again in jboss-beans.xml, add a reference to the above bean config in the 
+                 class="org.jboss.wsf.spi.deployment.JAXBIntrosCustomizationsDeployer" />"
+        b) Again in jboss-beans.xml, add a reference to the above bean config in the 
            deployer list configured on the "WSMainDeployerManager" bean. E.g.:
              "<inject bean="WSEndpointJAXBIntrosCustomizationsDeployer"/>"
-6.  Run the ant script in product/extras/jaxbintros and copy the build output jar
-    (product/extras/jaxbintros/target/jboss-jaxb-intros.jar) to the root of the jbossws.sar
-    service on your AS.
-7. Start the JBoss App Server.
+           Add this before the "inject" element for the "WSEndpointHandlerDeployer" bean. 
+        c) Copy "jbossesb/extras/jaxbintros/jboss-jaxb-intros.jar" to the root of the jbossws.sar
+           service on your JBoss App Server.  Note that if you haven't already done this you'll
+           need to stop and restart the the App Server.
+        d) Again in jboss-beans.xml, modify the "WSWebMetaDataAdapter" bean class to be
+           "org.jboss.soa.esb.jbossws.ESBWebMetaDataAdapter".
+        e) Copy soap.esb/jbossesb-soap.jar to jbossws.sar.
+5. Start the JBoss App Server.
 
 
 To Run:
 =======
 1. In the first command window, execute "ant clean deploy".  This will compile the project, build
-   the needed jars and deploy the ESB archive component to the Application Server.  If you are
-   monitoring the Application Server console you will see it hot deploy the WAR.
+   the needed jars and deploy the ESB archive component to the Application Server.
 
 2. Run "ant runtest".  You will see the message being processed on the App Server Java console window. 

Modified: labs/jbossesb/trunk/product/samples/quickstarts/webservice_war1/readme.txt
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_war1/readme.txt	2007-07-12 12:35:40 UTC (rev 13400)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_war1/readme.txt	2007-07-12 13:53:28 UTC (rev 13401)
@@ -26,8 +26,8 @@
 
 You should see something like the following:
 ------------------------------------------------------------------------------------------
-|   jboss.ws:di=quickstartWAR1.war,port=HelloWorldPort,service=HelloWorldWSService       |
-|   http://yourMachineName:8080/quickstartWAR1/HelloWorldWS?wsdl                         |
+|   jboss.ws:context=Quickstart_webservice_war1,endpoint=HelloWorldWS                    |
+|   http://127.0.0.1:8080/Quickstart_webservice_war1/HelloWorldWS?wsdl                   |
 ------------------------------------------------------------------------------------------
 
 3. Use for favorite Web Service testing tool to invoke the Web Service. A great one

Modified: labs/jbossesb/trunk/product/samples/quickstarts/webservice_war1/src/org/jboss/soa/esb/samples/quickstart/webservicewar1/test/SendJMSMessage.java
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_war1/src/org/jboss/soa/esb/samples/quickstart/webservicewar1/test/SendJMSMessage.java	2007-07-12 12:35:40 UTC (rev 13400)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_war1/src/org/jboss/soa/esb/samples/quickstart/webservicewar1/test/SendJMSMessage.java	2007-07-12 13:53:28 UTC (rev 13401)
@@ -42,7 +42,7 @@
     	Object tmp = iniCtx.lookup("ConnectionFactory");
     	QueueConnectionFactory qcf = (QueueConnectionFactory) tmp;
     	conn = qcf.createQueueConnection();
-    	que = (Queue) iniCtx.lookup("queue/quickstart_helloworld_action_Request");
+    	que = (Queue) iniCtx.lookup("queue/quickstart_webservice_war1_esb");
     	session = conn.createQueueSession(false, QueueSession.AUTO_ACKNOWLEDGE);
     	conn.start();
     	System.out.println("Connection Started");




More information about the jboss-svn-commits mailing list