From jbosstools-commits at lists.jboss.org Thu Jul 3 05:02:36 2008 Content-Type: multipart/mixed; boundary="===============1243764102909187493==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r9060 - trunk/ws/docs/reference/en/modules. Date: Thu, 03 Jul 2008 05:02:36 -0400 Message-ID: --===============1243764102909187493== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: Grid.Qian Date: 2008-07-03 05:02:36 -0400 (Thu, 03 Jul 2008) New Revision: 9060 Removed: trunk/ws/docs/reference/en/modules/bottomup.xml Modified: trunk/ws/docs/reference/en/modules/topdown.xml Log: JBIDE-2469: modify documents Deleted: trunk/ws/docs/reference/en/modules/bottomup.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/ws/docs/reference/en/modules/bottomup.xml 2008-07-03 08:54:48 UTC= (rev 9059) +++ trunk/ws/docs/reference/en/modules/bottomup.xml 2008-07-03 09:02:36 UTC= (rev 9060) @@ -1,137 +0,0 @@ - - - Creating a Web service from a Java bean using JBoss WS - The Web Service wizard assists you in creating a new Web service, = configuring it for deployment, and deploying the Web service to a server. - To create a Web service from a bean using JBoss WS: - Setup JBoss WS and development enviro= nment. - Creating a Dynamic Web project= . - Add JBossWS Facet to Web project. - Create a Web Service from a java bean: - - - Switch to the Java EE perspective Win= dow > Open Perspective > Java EE. - - - In the Project Explorer view, select the bean that you cr= eated or imported into the source folder of your Web project. = -
- Create a new Bean Class - - - - - -
-
- - Click File > New > Other.Select Web Services in order to display the various Web service w= izards. Select the Web Service wizard. Click Next butt= on. = -
- New Web Service - - - - - -
= -
- - In the first Web Service wizard page: select Bo= ttom up Java bean Web service as your Web service type, and sele= ct the Java bean from which the service will be created. = -
- Set Web Service Common values - - - - - -
- - - Select the stages of Web service development that y= ou want to complete using the slider: - - = - Develop: this will develop the WSDL definitio= n and implementation of the Web service. This includes such tasks as creati= ng the modules which will contain the generated code, WSDL files, deploymen= t descriptors, and Java files when appropriate.> = - - = - Assemble: this ensures the project that will = host the Web service or client gets associated to an EAR when required by t= he target application server.> = - - = - Deploy: this will create the deployment code = for the service.> = - - = - Install: this will install and configure the = Web module and EARs on the target server.> = - - = - Start: this will start the server once the se= rvice has been installed on it. The server-config.wsdd file will be generat= ed.> = - - = - Test: this will provide various options for t= esting the service, such as using the Web Service Explorer or sample JSPs> = - = - = - - Select your server: the default server is displaye= d. If you want to deploy your service to a different server click the link = to specify a different server. - Select your runtime: ensure the JBoss WS runtime i= s selected. - Select the service project: the project selected i= n your workspace is displayed. To select a different project click on the p= roject link. If you are deploying to JBoss Application Server you will also= be asked to select the EAR associated with the project. Ensure that the pr= oject selected as the Client Web Project is different from the Service Web = Project, or the service will be overwritten by the client's generated artif= acts. - If you want to create a client, select the type of= proxy to be generated and repeat the above steps for the client. The bette= r way is to create a web service client project seperately. - - Click Next button. -
- - In the JBoss Web Service Code Generation Configuration pa= ge, you set values: = -
- Set Web Service values about Code Generation - - - - - -
- - - Generate WSDL file: select it, you will get a gener= ated WSDL file in your project. But this wsdl's services' address location = values are not real address. - - After the Web service has been created, the follow= ing may occur depending on the options you selected: - Update the default web.xml: select it, you may test= the web service by Explorer. - - - Click Next button. -
= - - In this page, the project is deployed to the server. you = can start server and test the web service. If you want to publish the web s= ervice to a UDDI registry, you may click Next button t= o publish it. If not, you may click Finish button. -
- Start a Server - - - - - -
-
= -
- After the Web Service has been created, the following may occur= depending on the options you selected: - - - the generated web services codes - - - If have selected to generate WSDL file, you will get the = file in your project's WebContent > wsdl folder. -
- The generated WSDL file - - - - - -
-
- - If have selected to update the default web.xml, you will = test the web service in browser.Open the Explorer, input the url for the we= b service according to web.xml plus ?wsdl., you will g= et the WSDL file from Explorer. -
- The Updated web.xml - - - - - -
-
-
-
Modified: trunk/ws/docs/reference/en/modules/topdown.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/ws/docs/reference/en/modules/topdown.xml 2008-07-03 08:54:48 UTC = (rev 9059) +++ trunk/ws/docs/reference/en/modules/topdown.xml 2008-07-03 09:02:36 UTC = (rev 9060) @@ -20,7 +20,7 @@ Dynamic Web Project - + @@ -37,7 +37,7 @@ Dynamic Web Project Wizard - + @@ -48,7 +48,7 @@ Configures Web Module Settings - + @@ -184,7 +184,7 @@ Create a new Bean Class - + <= /imagedata> @@ -195,7 +195,7 @@ New Web Service - + = @@ -206,7 +206,7 @@ Set Web Service Common values - + @@ -247,7 +247,7 @@ Set Web Service values about Code Generation - + @@ -267,7 +267,7 @@ Start a Server - + @@ -284,7 +284,7 @@ The generated WSDL file - + @@ -295,7 +295,7 @@ The Updated web.xml - + --===============1243764102909187493==--