From seam-commits at lists.jboss.org Tue Aug 14 13:20:43 2012 Content-Type: multipart/mixed; boundary="===============2489631549537967922==" MIME-Version: 1.0 From: seam-commits at lists.jboss.org To: seam-commits at lists.jboss.org Subject: [seam-commits] Seam SVN: r15039 - branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US. Date: Tue, 14 Aug 2012 13:20:42 -0400 Message-ID: <201208141720.q7EHKgT8029656@svn01.web.mwc.hst.phx2.redhat.com> --===============2489631549537967922== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: manaRH Date: 2012-08-14 13:20:41 -0400 (Tue, 14 Aug 2012) New Revision: 15039 Modified: branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Webse= rvices.xml Log: JBSEAM-5013 webservices updated Modified: branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-U= S/Webservices.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 --- branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Webs= ervices.xml 2012-08-14 16:42:50 UTC (rev 15038) +++ branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Webs= ervices.xml 2012-08-14 17:20:41 UTC (rev 15039) @@ -2,7 +2,7 @@ Web Services = - Seam integrates with JBossWS to allow standard JEE web services to tak= e full advantage of Seam's contextual framework, + Seam integrates with JBossWS to allow standard Java EE web services to= take full advantage of Seam's contextual framework, including support for conversational web services. This chapter walks = through the steps required to allow web = services to run within a Seam environment. @@ -17,28 +17,20 @@ = - A special configuration file, standard-jaxws-endpoint-confi= g.xml should be placed = + A special configuration file, soap-handlers.xml s= hould be placed = into the META-INF directory of the jar file that contains the = web service classes. This file contains the following SOAP handler = configuration: = - - - Seam WebService Endpoint - - - ##SOAP11_HTTP - - SOAP Request Handler - org.jboss.seam.webservice.SOAPRequest= Handler - - - - -]]> + + + + + SOAP Request Handler + org.jboss.seam.webservice.SOAPRequestHandler + + +]]> = = @@ -51,19 +43,21 @@ = + xmlns:sb=3D"http://seambay.example.seam.jboss.org/"> - 2 + 4 - + + 100 + - = + ]]> = As you can see in the above SOAP message, there is a conver= sationId element within the - SOAP header that contains the conversation ID for the request, in th= is case 2. = + SOAP header that contains the conversation ID for the request, in th= is case 4. = Unfortunately, because web services may be consumed by a variety of = web service clients written in a = variety of languages, it is up to the developer to implement convers= ation ID propagation between individual = web services that are intended to be used within the scope of a sing= le conversation. @@ -75,14 +69,14 @@ able to read the conversation ID from the request. Here's an example= of a response to the above request message: = - - - 2 - - - - - = + + + 4 + + + + + = ]]> = @@ -127,7 +121,9 @@ =