Author: gmazza
Date: Mon Oct 22 18:13:22 2012
New Revision: 1400978
URL: http://svn.apache.org/viewvc?rev=1400978&view=rev
Log:
Text, formatting updates to jms_spring_config sample
Added:
cxf/trunk/distribution/src/main/release/samples/jms_spring_config/src/main/config/
cxf/trunk/distribution/src/main/release/samples/jms_spring_config/src/main/config/CustomerService.wsdl
cxf/trunk/distribution/src/main/release/samples/jms_spring_config/src/main/config/binding.xml
Removed:
cxf/trunk/distribution/src/main/release/samples/jms_spring_config/wsdl/
Modified:
cxf/trunk/distribution/src/main/release/samples/jms_spring_config/README.txt
cxf/trunk/distribution/src/main/release/samples/jms_spring_config/pom.xml
cxf/trunk/distribution/src/main/release/samples/jms_spring_config/src/main/resources/client-applicationContext.xml
cxf/trunk/distribution/src/main/release/samples/jms_spring_config/src/main/resources/server-applicationContext.xml
Modified:
cxf/trunk/distribution/src/main/release/samples/jms_spring_config/README.txt
URL:
http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/jms_spring_config/README.txt?rev=1400978&r1=1400977&r2=1400978&view=diff
==============================================================================
---
cxf/trunk/distribution/src/main/release/samples/jms_spring_config/README.txt
(original)
+++
cxf/trunk/distribution/src/main/release/samples/jms_spring_config/README.txt
Mon Oct 22 18:13:22 2012
@@ -1,8 +1,10 @@
JMS Spring Config Demo
======================
-This is basically the wsdl first demo adapted to the jms transport. It uses
the jms config feature so the jms transport can be
-added to any existing service without changing the wsdl.
+This is basically the wsdl first demo adapted to the JMS transport. It uses
the JMS config feature so
+the JMS transport can be added to any existing service without changing the
wsdl (leaving the wsdl:service
+section disregarded.) While the service is deployed on Tomcat, no http
traffic is used to connect
+with the web service, instead the JMS transport is used.
The Demo consist of three parts:
@@ -21,9 +23,8 @@ zero objects would be used. This is main
For any other name the method will return a list of two Customer objects. The
number of objects can be increased to
test how fast CXF works for larger data.
-Now that the service is implemented it needs to be made available. In this
example a standalone server is used.
-This can be done either with the JAX-WS API demonstrated in the class
CustomerService or using a spring config as
-demonstrated in the class CustomerServiceSpringServer.
+Now that the service is implemented it needs to be made available. In this
example a standalone server is deployed
+via a WAR archive using the Spring config as demonstrated in the class
CustomerServiceSpringServer.
Client implementation
---------------------
@@ -52,7 +53,7 @@ located), the pom.xml file is used to bu
Using either UNIX or Windows:
- mvn install (builds the demo)
+ mvn clean install (builds the demo)
mvn -Pjms.broker (from one command line window)
mvn -Pserver (from as second command line window)
mvn -Pclient (from a third command line window)
Modified:
cxf/trunk/distribution/src/main/release/samples/jms_spring_config/pom.xml
URL:
http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/jms_spring_config/pom.xml?rev=1400978&r1=1400977&r2=1400978&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/jms_spring_config/pom.xml
(original)
+++ cxf/trunk/distribution/src/main/release/samples/jms_spring_config/pom.xml
Mon Oct 22 18:13:22 2012
@@ -30,11 +30,14 @@
<artifactId>cxf-samples</artifactId>
<version>2.7.1-SNAPSHOT</version>
</parent>
+
<properties>
<cxf.version>${project.version}</cxf.version>
<cxf.xjc-utils.version>2.6.0</cxf.xjc-utils.version>
<cxf.release.base>${basedir}/../..</cxf.release.base>
+ <wsdl.dir>${basedir}/src/main/config</wsdl.dir>
</properties>
+
<build>
<defaultGoal>install</defaultGoal>
<resources>
@@ -54,7 +57,7 @@
<webXml>src/main/webapp/WEB-INF/web.xml</webXml>
<webResources>
<resource>
- <directory>wsdl</directory>
+ <directory>${wsdl.dir}</directory>
<targetPath>WEB-INF</targetPath>
<includes>
<include>*.wsdl</include>
@@ -91,9 +94,9 @@
<configuration>
<wsdlOptions>
<wsdlOption>
-
<wsdl>${basedir}/wsdl/CustomerService.wsdl</wsdl>
+
<wsdl>${wsdl.dir}/CustomerService.wsdl</wsdl>
<bindingFiles>
-
<bindingFile>${basedir}/wsdl/binding.xml</bindingFile>
+
<bindingFile>${wsdl.dir}/binding.xml</bindingFile>
</bindingFiles>
</wsdlOption>
</wsdlOptions>
@@ -147,7 +150,7 @@
<configuration>
<mainClass>com.example.customerservice.client.CustomerServiceSpringClient</mainClass>
<arguments>
-
<argument>${basedir}/wsdl/CustomerService.wsdl</argument>
+
<argument>${wsdl.dir}/CustomerService.wsdl</argument>
</arguments>
</configuration>
</execution>
Added:
cxf/trunk/distribution/src/main/release/samples/jms_spring_config/src/main/config/CustomerService.wsdl
URL:
http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/jms_spring_config/src/main/config/CustomerService.wsdl?rev=1400978&view=auto
==============================================================================
---
cxf/trunk/distribution/src/main/release/samples/jms_spring_config/src/main/config/CustomerService.wsdl
(added)
+++
cxf/trunk/distribution/src/main/release/samples/jms_spring_config/src/main/config/CustomerService.wsdl
Mon Oct 22 18:13:22 2012
@@ -0,0 +1,147 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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.
+-->
+<wsdl:definitions name="CustomerServiceService"
+ targetNamespace="http://customerservice.example.com/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:tns="http://customerservice.example.com/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
+ <wsdl:types>
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ xmlns:tns="http://customerservice.example.com/"
+ attributeFormDefault="unqualified" elementFormDefault="unqualified"
+ targetNamespace="http://customerservice.example.com/">
+ <xs:element name="getCustomersByName"
type="tns:getCustomersByName" />
+ <xs:element name="getCustomersByNameResponse"
+ type="tns:getCustomersByNameResponse" />
+ <xs:element name="updateCustomer" type="tns:updateCustomer" />
+ <xs:complexType name="updateCustomer">
+ <xs:sequence>
+ <xs:element minOccurs="0" name="customer"
+ type="tns:customer" />
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="customer">
+ <xs:sequence>
+ <xs:element name="customerId" type="xs:int" />
+ <xs:element minOccurs="0" name="name"
+ type="xs:string" />
+ <xs:element maxOccurs="unbounded"
+ minOccurs="0" name="address" nillable="true"
+ type="xs:string" />
+ <xs:element minOccurs="0" name="numOrders"
+ type="xs:int" />
+ <xs:element name="revenue" type="xs:double" />
+ <xs:element minOccurs="0" name="test"
+ type="xs:decimal" />
+ <xs:element minOccurs="0" name="birthDate"
+ type="xs:date" />
+ <xs:element minOccurs="0" name="type"
+ type="tns:customerType" />
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="getCustomersByName">
+ <xs:sequence>
+ <xs:element minOccurs="0" name="name"
+ type="xs:string" />
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="getCustomersByNameResponse">
+ <xs:sequence>
+ <xs:element maxOccurs="unbounded"
+ minOccurs="0" name="return" type="tns:customer" />
+ </xs:sequence>
+ </xs:complexType>
+ <xs:simpleType name="customerType">
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="PRIVATE" />
+ <xs:enumeration value="BUSINESS" />
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:element name="NoSuchCustomer" type="tns:NoSuchCustomer" />
+ <xs:complexType name="NoSuchCustomer">
+ <xs:sequence>
+ <xs:element name="customerName" nillable="true"
+ type="xs:string" />
+ </xs:sequence>
+ </xs:complexType>
+ </xs:schema>
+ </wsdl:types>
+ <wsdl:message name="getCustomersByNameResponse">
+ <wsdl:part name="parameters" element="tns:getCustomersByNameResponse">
+ </wsdl:part>
+ </wsdl:message>
+ <wsdl:message name="getCustomersByName">
+ <wsdl:part name="parameters" element="tns:getCustomersByName">
+ </wsdl:part>
+ </wsdl:message>
+ <wsdl:message name="updateCustomer">
+ <wsdl:part name="parameters" element="tns:updateCustomer">
+ </wsdl:part>
+ </wsdl:message>
+ <wsdl:message name="NoSuchCustomerException">
+ <wsdl:part name="NoSuchCustomerException" element="tns:NoSuchCustomer">
+ </wsdl:part>
+ </wsdl:message>
+ <wsdl:portType name="CustomerService">
+ <wsdl:operation name="updateCustomer">
+ <wsdl:input name="updateCustomer" message="tns:updateCustomer">
+ </wsdl:input>
+ </wsdl:operation>
+ <wsdl:operation name="getCustomersByName">
+ <wsdl:input name="getCustomersByName"
message="tns:getCustomersByName">
+ </wsdl:input>
+ <wsdl:output name="getCustomersByNameResponse"
+ message="tns:getCustomersByNameResponse">
+ </wsdl:output>
+ <wsdl:fault name="NoSuchCustomerException"
+ message="tns:NoSuchCustomerException">
+ </wsdl:fault>
+ </wsdl:operation>
+ </wsdl:portType>
+ <wsdl:binding name="CustomerServiceServiceSoapBinding"
+ type="tns:CustomerService">
+ <soap:binding style="document"
+ transport="http://schemas.xmlsoap.org/soap/http" />
+ <wsdl:operation name="updateCustomer">
+ <soap:operation soapAction="" style="document" />
+ <wsdl:input name="updateCustomer">
+ <soap:body use="literal" />
+ </wsdl:input>
+ </wsdl:operation>
+ <wsdl:operation name="getCustomersByName">
+ <soap:operation soapAction="" style="document" />
+ <wsdl:input name="getCustomersByName">
+ <soap:body use="literal" />
+ </wsdl:input>
+ <wsdl:output name="getCustomersByNameResponse">
+ <soap:body use="literal" />
+ </wsdl:output>
+ <wsdl:fault name="NoSuchCustomerException">
+ <soap:fault name="NoSuchCustomerException"
+ use="literal" />
+ </wsdl:fault>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="CustomerServiceService">
+ <wsdl:port name="CustomerServicePort"
+ binding="tns:CustomerServiceServiceSoapBinding">
+ <soap:address location="http://localhost:9090/CustomerServicePort"
/>
+ </wsdl:port>
+ </wsdl:service>
+</wsdl:definitions>
Added:
cxf/trunk/distribution/src/main/release/samples/jms_spring_config/src/main/config/binding.xml
URL:
http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/jms_spring_config/src/main/config/binding.xml?rev=1400978&view=auto
==============================================================================
---
cxf/trunk/distribution/src/main/release/samples/jms_spring_config/src/main/config/binding.xml
(added)
+++
cxf/trunk/distribution/src/main/release/samples/jms_spring_config/src/main/config/binding.xml
Mon Oct 22 18:13:22 2012
@@ -0,0 +1,17 @@
+<jaxws:bindings wsdlLocation="CustomerService.wsdl"
+ xmlns:jaxws="http://java.sun.com/xml/ns/jaxws"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ xmlns:jxb="http://java.sun.com/xml/ns/jaxb"
+ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
+ <!-- <jaxws:enableAsyncMapping>true</jaxws:enableAsyncMapping> -->
+ <jaxws:bindings node="wsdl:definitions/wsdl:types/xs:schema">
+ <jxb:globalBindings>
+ <jxb:javaType name="java.util.Date" xmlType="xs:dateTime"
+
parseMethod="org.apache.cxf.xjc.runtime.DataTypeAdapter.parseDateTime"
+
printMethod="org.apache.cxf.xjc.runtime.DataTypeAdapter.printDateTime"/>
+ <jxb:javaType name="java.util.Date" xmlType="xs:date"
+
parseMethod="org.apache.cxf.xjc.runtime.DataTypeAdapter.parseDate"
+
printMethod="org.apache.cxf.xjc.runtime.DataTypeAdapter.printDate"/>
+ </jxb:globalBindings>
+ </jaxws:bindings>
+</jaxws:bindings>
\ No newline at end of file
Modified:
cxf/trunk/distribution/src/main/release/samples/jms_spring_config/src/main/resources/client-applicationContext.xml
URL:
http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/jms_spring_config/src/main/resources/client-applicationContext.xml?rev=1400978&r1=1400977&r2=1400978&view=diff
==============================================================================
---
cxf/trunk/distribution/src/main/release/samples/jms_spring_config/src/main/resources/client-applicationContext.xml
(original)
+++
cxf/trunk/distribution/src/main/release/samples/jms_spring_config/src/main/resources/client-applicationContext.xml
Mon Oct 22 18:13:22 2012
@@ -1,53 +1,51 @@
<?xml version="1.0" encoding="UTF-8"?>
- <!--
- Licensed to the Apache Software Foundation (ASF) under one or
more
- contributor license agreements. See the NOTICE file distributed
with
- this work for additional information regarding copyright
ownership.
- The ASF licenses this file to You 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
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You 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.
- -->
+ 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.
+-->
<beans xmlns="http://www.springframework.org/schema/beans"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:context="http://www.springframework.org/schema/context"
- xmlns:jaxws="http://cxf.apache.org/jaxws"
- xmlns:p="http://www.springframework.org/schema/p"
- xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
- http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context.xsd
- http://cxf.apache.org/core
http://cxf.apache.org/schemas/core.xsd
- http://cxf.apache.org/jaxws
http://cxf.apache.org/schemas/jaxws.xsd
-">
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
+ xmlns:jaxws="http://cxf.apache.org/jaxws"
xmlns:p="http://www.springframework.org/schema/p"
+ xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
+ http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context.xsd
+ http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd
+ http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd">
-<bean id="jmsConnectionFactory"
class="org.springframework.jms.connection.SingleConnectionFactory">
- <property name="targetConnectionFactory">
- <bean class="org.apache.activemq.ActiveMQConnectionFactory">
- <property name="brokerURL"
value="tcp://localhost:61616" />
- </bean>
- </property>
-</bean>
+ <bean id="jmsConnectionFactory"
+ class="org.springframework.jms.connection.SingleConnectionFactory">
+ <property name="targetConnectionFactory">
+ <bean class="org.apache.activemq.ActiveMQConnectionFactory">
+ <property name="brokerURL" value="tcp://localhost:61616" />
+ </bean>
+ </property>
+ </bean>
-<bean id="jmsConfig" class="org.apache.cxf.transport.jms.JMSConfiguration"
- p:connectionFactory-ref="jmsConnectionFactory"
- p:targetDestination="test.queue"
-/>
+ <bean id="jmsConfig" class="org.apache.cxf.transport.jms.JMSConfiguration"
+ p:connectionFactory-ref="jmsConnectionFactory"
+ p:targetDestination="test.queue" />
- <jaxws:client id="customerService"
- address="jms://"
- serviceClass="com.example.customerservice.CustomerService">
- <jaxws:features>
- <bean class="org.apache.cxf.feature.LoggingFeature" />
- <bean
class="org.apache.cxf.transport.jms.JMSConfigFeature"
p:jmsConfig-ref="jmsConfig" />
- </jaxws:features>
- </jaxws:client>
-
- <bean id="tester"
class="com.example.customerservice.client.CustomerServiceTester">
- <property name="customerService"
ref="customerService"></property>
- </bean>
+ <jaxws:client id="customerService" address="jms://"
+ serviceClass="com.example.customerservice.CustomerService">
+ <jaxws:features>
+ <bean class="org.apache.cxf.feature.LoggingFeature" />
+ <bean class="org.apache.cxf.transport.jms.JMSConfigFeature"
+ p:jmsConfig-ref="jmsConfig" />
+ </jaxws:features>
+ </jaxws:client>
+
+ <bean id="tester"
+ class="com.example.customerservice.client.CustomerServiceTester">
+ <property name="customerService" ref="customerService"></property>
+ </bean>
</beans>
Modified:
cxf/trunk/distribution/src/main/release/samples/jms_spring_config/src/main/resources/server-applicationContext.xml
URL:
http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/jms_spring_config/src/main/resources/server-applicationContext.xml?rev=1400978&r1=1400977&r2=1400978&view=diff
==============================================================================
---
cxf/trunk/distribution/src/main/release/samples/jms_spring_config/src/main/resources/server-applicationContext.xml
(original)
+++
cxf/trunk/distribution/src/main/release/samples/jms_spring_config/src/main/resources/server-applicationContext.xml
Mon Oct 22 18:13:22 2012
@@ -1,49 +1,49 @@
<?xml version="1.0" encoding="UTF-8"?>
- <!--
- Licensed to the Apache Software Foundation (ASF) under one or
more
- contributor license agreements. See the NOTICE file distributed
with
- this work for additional information regarding copyright
ownership.
- The ASF licenses this file to You 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
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You 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.
- -->
+ 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.
+-->
<beans xmlns="http://www.springframework.org/schema/beans"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:jaxws="http://cxf.apache.org/jaxws"
- xmlns:p="http://www.springframework.org/schema/p"
- xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
- http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context.xsd
- http://cxf.apache.org/core
http://cxf.apache.org/schemas/core.xsd
- http://cxf.apache.org/jaxws
http://cxf.apache.org/schemas/jaxws.xsd
-">
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:jaxws="http://cxf.apache.org/jaxws"
+ xmlns:p="http://www.springframework.org/schema/p"
+ xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
+ http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context.xsd
+ http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd
+ http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd">
-<bean id="jmsConnectionFactory"
class="org.springframework.jms.connection.SingleConnectionFactory">
- <property name="targetConnectionFactory">
- <bean class="org.apache.activemq.ActiveMQConnectionFactory">
- <property name="brokerURL"
value="tcp://localhost:61616" />
- </bean>
- </property>
-</bean>
+ <bean id="jmsConnectionFactory"
+ class="org.springframework.jms.connection.SingleConnectionFactory">
+ <property name="targetConnectionFactory">
+ <bean class="org.apache.activemq.ActiveMQConnectionFactory">
+ <property name="brokerURL" value="tcp://localhost:61616" />
+ </bean>
+ </property>
+ </bean>
-<bean id="jmsConfig" class="org.apache.cxf.transport.jms.JMSConfiguration"
- p:connectionFactory-ref="jmsConnectionFactory"
- p:targetDestination="test.queue"
-/>
+ <bean id="jmsConfig" class="org.apache.cxf.transport.jms.JMSConfiguration"
+ p:connectionFactory-ref="jmsConnectionFactory"
+ p:targetDestination="test.queue" />
- <!-- JMS Endpoint -->
- <jaxws:endpoint xmlns:customer="http://customerservice.example.com/"
- id="CustomerServiceHTTP" address="jms://"
-
implementor="com.example.customerservice.server.CustomerServiceImpl">
- <jaxws:features>
- <bean class="org.apache.cxf.feature.LoggingFeature" />
- <bean
class="org.apache.cxf.transport.jms.JMSConfigFeature"
p:jmsConfig-ref="jmsConfig" />
- </jaxws:features>
- </jaxws:endpoint>
+ <!-- JMS Endpoint -->
+ <jaxws:endpoint xmlns:customer="http://customerservice.example.com/"
+ id="CustomerServiceHTTP" address="jms://"
+ implementor="com.example.customerservice.server.CustomerServiceImpl">
+ <jaxws:features>
+ <bean class="org.apache.cxf.feature.LoggingFeature" />
+ <bean class="org.apache.cxf.transport.jms.JMSConfigFeature"
+ p:jmsConfig-ref="jmsConfig" />
+ </jaxws:features>
+ </jaxws:endpoint>
</beans>