Skip to content

Commit 6c8ac54

Browse files
committed
SWS-603 - Drop OXM chapter from ref docs
1 parent 8b8d3a8 commit 6c8ac54

File tree

8 files changed

+21
-787
lines changed

8 files changed

+21
-787
lines changed

src/docbkx/client.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<title>Introduction</title>
88
<para>
99
Spring-WS provides a client-side Web service API that allows for consistent, XML-driven access to
10-
Web services. It also caters for the use of <link linkend="oxm">marshallers and unmarshallers</link>
10+
Web services. It also caters for the use of marshallers and unmarshallers
1111
so that your service tier code can deal exclusively with Java objects.
1212
</para>
1313
<para>
@@ -284,7 +284,9 @@ public class WebServiceClient {
284284
<classname>WebServiceTemplate</classname> class delegates the conversion of the request object
285285
to XML to a <interfacename>Marshaller</interfacename>, and the conversion of the response
286286
XML to an object to an <interfacename>Unmarshaller</interfacename>. (For more information
287-
about marshalling and unmarshaller, refer to <xref linkend="oxm"/>.) By using the
287+
about marshalling and unmarshaller, refer to
288+
<ulink url="http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/oxm.html">the Spring documentation</ulink>.)
289+
By using the
288290
marshallers, your application code can focus on the business object that is being sent or
289291
received and not be concerned with the details of how it is represented as XML. In order to
290292
use the marshalling functionality, you have to set a marshaller and unmarshaller with the

src/docbkx/index.xml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,16 +59,14 @@
5959
to both client- and server-side WS, a chapter devoted to the specifics
6060
of <link linkend="server">writing server-side Web services</link>,
6161
a chapter about using Web services on
62-
<link linkend="client">the client-side</link>, and chapters on using
63-
<link linkend="security">WS-Security</link> and
64-
<link linkend="oxm">Object/XML mapping</link>.
62+
<link linkend="client">the client-side</link>, and a chapters on using
63+
<link linkend="security">WS-Security</link>.
6564
</para>
6665
</partintro>
6766
<xi:include href="common.xml"/>
6867
<xi:include href="server.xml"/>
6968
<xi:include href="client.xml"/>
7069
<xi:include href="security.xml"/>
71-
<xi:include href="oxm.xml"/>
7270
</part>
7371
<part id="resources">
7472
<title>Other Resources</title>

src/docbkx/oxm.xml

Lines changed: 0 additions & 747 deletions
This file was deleted.

src/docbkx/preface.xml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,10 @@
1616
on this XML, and not on Java.
1717
</para>
1818
<para>
19-
Spring Web Services focusses on creating these document-driven Web services.
19+
Spring Web Services focuses on creating these document-driven Web services.
2020
Spring Web Services facilitates contract-first SOAP service development, allowing for the creation of
2121
flexible web services using one of the many ways to manipulate XML payloads.
22-
Spring-WS provides a powerful <link linkend="server">message dispatching framework</link>, various <link
23-
linkend="oxm">XML marshalling</link> techniques that can be used outside a Web service environment, a <link
22+
Spring-WS provides a powerful <link linkend="server">message dispatching framework</link>, a <link
2423
linkend="security">WS-Security</link> solution that integrates with your existing application security
2524
solution, and a <link linkend="client">Client-side API</link> that follows the familiar Spring template pattern.
2625
</para>
-207 Bytes
Loading

src/docbkx/server.xml

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
Spring-WS's XML handling is extremely flexible. An endpoint can choose from
2525
a large amount of XML handling libraries supported by Spring-WS, including the DOM family (W3C DOM, JDOM,
2626
dom4j, and XOM), SAX or StAX for faster performance, XPath to extract information from the message, or even
27-
<link linkend="oxm">marshalling techniques</link> (JAXB, Castor, XMLBeans, JiBX, or XStream) to convert
27+
marshalling techniques (JAXB, Castor, XMLBeans, JiBX, or XStream) to convert
2828
the XML to objects and vice-versa.
2929
</para>
3030
</section>
@@ -314,18 +314,6 @@
314314
the dispatcher servlet does not load the default adapters, and is unable to handle standard Spring-MVC
315315
<interfacename>Controllers</interfacename>. Therefore, we add the
316316
<classname>SimpleControllerHandlerAdapter</classname> at the end.
317-
<footnote>
318-
<para>
319-
By default, the Spring MVC <classname>DispatcherServlet</classname> configures the following
320-
handler adapters in version 2.5:
321-
<itemizedlist>
322-
<listitem><para><classname>org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter</classname></para></listitem>
323-
<listitem><para><classname>org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter</classname></para></listitem>
324-
<listitem><para><classname>org.springframework.web.servlet.mvc.throwaway.ThrowawayControllerHandlerAdapter</classname></para></listitem>
325-
<listitem><para><classname>org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter</classname></para></listitem>
326-
</itemizedlist>
327-
</para>
328-
</footnote>
329317
</para>
330318
<para>
331319
In a similar fashion, you can wire up a <classname>WsdlDefinitionHandlerAdapter</classname> to make sure
@@ -669,7 +657,7 @@ public class SampleEndpoint extends AbstractDomPayloadEndpoint {
669657
Rather than handling XML directly using DOM, you can use marshalling to convert the payload of the XML
670658
message into a Java Object. Spring Web Services offers the
671659
<classname>AbstractMarshallingPayloadEndpoint</classname> for this purpose, which is built on the
672-
marshalling abstraction described in <xref linkend="oxm"/>. The
660+
Spring's OXM package. The
673661
<classname>AbstractMarshallingPayloadEndpoint</classname> has two properties:
674662
<property>marshaller</property> and <property>unmarshaller</property>, in which you can inject in the
675663
constructor or by setters.
@@ -721,7 +709,9 @@ public class MarshallingOrderEndpoint extends AbstractMarshallingPayloadEndpoint
721709
]]><lineannotation>&lt;!-- Other beans, such as the endpoint mapping --&gt;</lineannotation><![CDATA[
722710
</beans>]]></programlisting>
723711
<para>
724-
In this sample, we configure a <link linkend="oxm-jaxb2">Jaxb2Marshaller</link> for the
712+
In this sample, we configure a
713+
<ulink url="http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/oxm.html#oxm-jaxb2">Jaxb2Marshaller</ulink>
714+
for the
725715
<classname>OrderRequest</classname> and <classname>Order</classname> classes, and inject that
726716
marshaller together with the
727717
<classname>DefaultOrderService</classname> into our endpoint. This business service is not shown, but
@@ -756,7 +746,8 @@ public class MarshallingOrderEndpoint extends AbstractMarshallingPayloadEndpoint
756746
</SOAP-ENV:Body>
757747
</SOAP-ENV:Envelope>]]></programlisting>
758748
<para>
759-
Instead of JAXB 2, we could have used any of the other marshallers described in <xref linkend="oxm"/>.
749+
Instead of JAXB 2, we could have used <ulink
750+
url="http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/oxm.html">any Spring OXM marshallers</ulink>.
760751
The only thing that would change in the above example is the configuration of the
761752
<literal>marshaller</literal> bean.
762753
</para>

src/docbkx/tutorial.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@ public class HolidayEndpoint extends AbstractJDomPayloadEndpoint {
620620
</programlistingco>
621621
<para>
622622
Using JDOM is just one of the options to handle the XML: other options include DOM, dom4j, XOM,
623-
SAX, and StAX, but also <link linkend="oxm">marshalling techniques</link> like JAXB, Castor, XMLBeans,
623+
SAX, and StAX, but also marshalling techniques like JAXB, Castor, XMLBeans,
624624
JiBX, and XStream. We chose JDOM because it gives us access to the raw XML, and because it
625625
is based on classes (not interfaces and factory methods as with W3C DOM and dom4j), which makes the
626626
code less verbose. We use XPath because it is less fragile than marshalling technologies: we don't

src/docbkx/what-is-spring-ws.xml

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,8 @@
7979
<section>
8080
<title>Runtime environment</title>
8181
<para>
82-
Spring Web Services runs within a standard Java 1.3 Runtime Environment. It also supports Java 5.0,
83-
although the Java types which are specific to this release are packaged in a separate modules with the
84-
suffix "tiger" in their JAR filename. Note that the security module also requires Java 5.
82+
Spring Web Services requires a standard Java 1.5 Runtime Environment. Java 1.6 is also supported.
83+
Spring-WS also requires Spring 3.0 or higher.
8584
</para>
8685
<para>
8786
Spring-WS consists of a number of modules, which are described in the remainder of this section.
@@ -96,7 +95,7 @@
9695
</listitem>
9796
<listitem>
9897
<para>
99-
The Core package (<filename>spring-ws-core.jar</filename> and <filename>spring-ws-core-tiger.jar</filename>)
98+
The Core package (<filename>spring-ws-core.jar</filename>)
10099
is the central part of the Spring's Web services functionality.
101100
It provides the central <link linkend="web-service-messages">
102101
<classname>WebServiceMessage</classname></link> and <link linkend="soap-message">
@@ -110,22 +109,14 @@
110109
The <link linkend="security">Security</link> package (<filename>spring-ws-security.jar</filename>)
111110
provides a WS-Security implementation that integrates
112111
with the core Web service package. It allows you to add principal tokens, sign, and decrypt and encrypt SOAP
113-
messages. Addtionally, it allows you to leverage your existing Acegi security implementation for
112+
messages. Additionally, it allows you to leverage your existing Spring Security security implementation for
114113
authentication and authorization.
115114
</para>
116115
</listitem>
117-
<listitem>
118-
<para>
119-
The <link linkend="oxm">OXM</link> package (<filename>spring-oxm.jar</filename> and
120-
<filename>spring-oxm-tiger.jar</filename>) provides integration for popular XML marshalling APIs, including
121-
JAXB 1 and 2. Using the OXM package means that you benefit from a unified exception hierarchy, and can wire
122-
up your favorite XML marshalling technology easily.
123-
</para>
124-
</listitem>
125116
</itemizedlist>
126117
<para>
127118
The following figure illustrates the Spring-WS modules and the dependencies between them. Arrows indicate
128-
dependencies, i.e. Spring-WS Core depends on Spring-XML and Spring-OXM.
119+
dependencies, i.e. Spring-WS Core depends on Spring-XML and the OXM module found in Spring 3.
129120
<mediaobject>
130121
<imageobject role="fo">
131122
<imagedata fileref="src/docbkx/resources/images/spring-deps.png"

0 commit comments

Comments
 (0)