[jboss-cvs] JBossAS SVN: r104030 - in projects/docs/enterprise/5.0/CXF_User_Guide: en-US and 1 other directory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Apr 15 21:31:58 EDT 2010


Author: rebecca.newton
Date: 2010-04-15 21:31:57 -0400 (Thu, 15 Apr 2010)
New Revision: 104030

Modified:
   projects/docs/enterprise/5.0/CXF_User_Guide/en-US/CXF_User_Guide.xml
   projects/docs/enterprise/5.0/CXF_User_Guide/en-US/Chapter_Four_WS_Addressing.xml
   projects/docs/enterprise/5.0/CXF_User_Guide/en-US/Chapter_Two_Installation.xml
   projects/docs/enterprise/5.0/CXF_User_Guide/publican.cfg
Log:
Added chapter five and edited chapter two

Modified: projects/docs/enterprise/5.0/CXF_User_Guide/en-US/CXF_User_Guide.xml
===================================================================
--- projects/docs/enterprise/5.0/CXF_User_Guide/en-US/CXF_User_Guide.xml	2010-04-16 01:27:04 UTC (rev 104029)
+++ projects/docs/enterprise/5.0/CXF_User_Guide/en-US/CXF_User_Guide.xml	2010-04-16 01:31:57 UTC (rev 104030)
@@ -10,6 +10,7 @@
   <xi:include href="Chapter_Two_Installation.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
   <xi:include href="Chapter_Three_CXF_Integration.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
   <xi:include href="Chapter_Four_WS_Addressing.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+  <xi:include href="Chapter_Five_WXF_Addressing_Config.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
 	<xi:include href="Revision_History.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
 	<!-- </index> -->
 </book>

Modified: projects/docs/enterprise/5.0/CXF_User_Guide/en-US/Chapter_Four_WS_Addressing.xml
===================================================================
--- projects/docs/enterprise/5.0/CXF_User_Guide/en-US/Chapter_Four_WS_Addressing.xml	2010-04-16 01:27:04 UTC (rev 104029)
+++ projects/docs/enterprise/5.0/CXF_User_Guide/en-US/Chapter_Four_WS_Addressing.xml	2010-04-16 01:31:57 UTC (rev 104030)
@@ -4,21 +4,49 @@
 ]>
 <!-- Copyright 2010 Red Hat, Inc Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.-->
 <chapter> 
-  <title> Chapter Four WS Addressing </title>
+  <title> WS Addressing </title>
   <para> CXF provides support for the 2004-08 and 1.0 versions of WS-Addressing.
 
-To enable WS-Addressing you may enable the WSAddressingFeature on your service. If you wish to use XML to configure this, you may use the following syntax: </para>
+  To enable WS-Addressing, enable the WSAddressingFeature on your service. If you wish to use XML to  configure this, use the following syntax: </para>
 
-<programlisting><![CDATA[<jaxws:endpoint id="{your.service.namespace}YourPortName">
+  <programlisting><![CDATA[<jaxws:endpoint id="{your.service.namespace}YourPortName">
   <jaxws:features>
     <wsa:addressing xmlns:wsa="http://cxf.apache.org/ws/addressing"/>
   </jaxws:features>
-</jaxws:endpoint>]]> 
+  </jaxws:endpoint>]]> 
   </programlisting>
    <para>You can also use the same exact syntax with a <![CDATA[<jaxws:client><]]> </para>
   <programlisting><![CDATA[ <jaxws: client id="{your.service.namespace}YourPortName">
   <jaxws:features>
     <wsa:addressing xmlns:wsa="http://cxf.apache.org/ws/addressing"/>
   </jaxws:features>
-</jaxws:client>]]></programlisting>
+  </jaxws:client>]]></programlisting>
+  <para> From an API point of view this looks very similar: </para>
+  <programlisting><![CDATA[import org.apache.cxf.jaxws.EndpointImpl;
+  import org.apache.cxf.ws.addressing.WSAddressingFeature;
+
+  MyServiceImpl implementor =  new MyServiceImpl()
+  EndpointImpl ep = (EndpointImpl) Endpoint.create(implementor);
+  ep.getFeatures().add(new WSAddressingFeature());
+  ep.publish("http://some/address");]]></programlisting>
+  <para> You can also use it with the ClientProxyFactoryBeans and ServerFactoryBeans (and their JAX-WS  versions, namely JaxWsProxyFactoryBean and JaxWsServerFactoryBean): </para>
+  <programlisting><![CDATA[ import org.apache.cxf.frontend.simple.ClientProxyFactoryBean;
+  import org.apache.cxf.ws.addressing.WSAddressingFeature;
+
+  ClientProxyFactoryBean factory = new ClientProxyFactoryBean();
+  factory.setServiceClass(MyService.class);
+  factory.setAddress("http://acme.come/some-service");
+  factory.getFeatures().add(new WSAddressingFeature());
+  MyService client = (MyService) factory.create();]]></programlisting>
+
+  <!-- <section>
+  <title> Enabling WS-Addressing with WS-Policy </title> 
+  <para> More information required </para>
+  </section>-->
+
+  <!-- <section>
+  <title> Configuring your actions and setting up decoupled endpoints </title>
+  <para> More information required </para>
+  </section> -->
+  
   </chapter>

Modified: projects/docs/enterprise/5.0/CXF_User_Guide/en-US/Chapter_Two_Installation.xml
===================================================================
--- projects/docs/enterprise/5.0/CXF_User_Guide/en-US/Chapter_Two_Installation.xml	2010-04-16 01:27:04 UTC (rev 104029)
+++ projects/docs/enterprise/5.0/CXF_User_Guide/en-US/Chapter_Two_Installation.xml	2010-04-16 01:31:57 UTC (rev 104030)
@@ -7,37 +7,33 @@
 
 <chapter>
 	<title>Installation</title>
-	<para>
-In order to install JBossWS the following steps are necessary:
 
+<warning><title> Installing JBoss Web Services CXF is irreversible. </title>
+  <para>
+  You should make a complete backup of your JBoss Enterprise Application Platform installation before       installing JBoss Web Services CXF. </para> 
+ </warning> 
+
+<para> Follow these steps to install JBoss Web Services CXF: 
+
 <orderedlist>
   <listitem>
-    <para> Copy ant.properties.examples to ant.properties </para>
+    <para>Download and unzip the <filename>jbossws-cxf-3.1.2.SP3-3.SP3.6.ep5.el4-tp-installer.zip</filename> in the home directory (your $JBOSS_HOME) of a pristine Enterprise Application Platform installation. </para>
   </listitem>
-  <listitem> 
-    <para> Modify the target container location in ant.properties </para>
-   </listitem>
-   <listitem>
-      <para> Execute 
-        ant deploy-jboss510</para>
+  <listitem>
+    <para>Run ant in the created directory, jbossws-cxf-tp-installer. </para>
   </listitem>
-   <listitem>
-     <para> Execute the samples to verify your installation 
-        'ant tests'
-
-     You should see no errors </para>
-   </listitem>
  </orderedlist>
-</para>
+  </para>
+
+<note><title> Note </title>
 <para>
-Please consult the wiki for detailed up to date install instructions
-http://labs.jboss.com/portal/jbossws/
+This step will replace JBoss Web Services Native with JBoss Web Services CXF in every configuration that contains JBoss Web Services Native </para></note>
 
-After the jbossws.sar is deployed you should be able to access JBossWS under
+<para> After the jbossws.sar is deployed you should be able to access JBossWS under
 http://localhost:8080/jbossws
 
 If you have any questions, please post to the userforum:
-http://community.jboss.org/en/jbosswebservices/cxf?view=discussions
+<ulink url="http://community.jboss.org/en/jbosswebservices/cxf?view=discussions" />
 
 Enjoy,
 The JBossWS Team

Modified: projects/docs/enterprise/5.0/CXF_User_Guide/publican.cfg
===================================================================
--- projects/docs/enterprise/5.0/CXF_User_Guide/publican.cfg	2010-04-16 01:27:04 UTC (rev 104029)
+++ projects/docs/enterprise/5.0/CXF_User_Guide/publican.cfg	2010-04-16 01:31:57 UTC (rev 104030)
@@ -3,5 +3,5 @@
 
 xml_lang: en-US
 type: Book
-brand: common
+brand: JBoss
 




More information about the jboss-cvs-commits mailing list