http://git-wip-us.apache.org/repos/asf/servicemix-features/blob/d358d2ea/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/addressing/addressing-hpux.xml ---------------------------------------------------------------------- diff --git a/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/addressing/addressing-hpux.xml b/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/addressing/addressing-hpux.xml deleted file mode 100644 index d371e1e..0000000 --- a/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/addressing/addressing-hpux.xml +++ /dev/null @@ -1,33 +0,0 @@ -<?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. ---> -<beans xmlns="http://www.springframework.org/schema/beans" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xmlns:http="http://cxf.apache.org/transports/http/configuration" - xsi:schemaLocation=" -http://cxf.apache.org/transports/http/configuration http://cxf.apache.org/schemas/configuration/http-conf.xsd -http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd"> - - <http:conduit name="{http://apache.org/hello_world_soap_http}SoapPort.http-conduit"> - <http:client Connection="Keep-Alive" DecoupledEndpoint="http://localhost:9999/decoupled_endpoint"/> - </http:conduit> - - <import resource="wsa_interceptors.xml"/> -</beans> -
http://git-wip-us.apache.org/repos/asf/servicemix-features/blob/d358d2ea/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/addressing/addressing.xml ---------------------------------------------------------------------- diff --git a/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/addressing/addressing.xml b/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/addressing/addressing.xml deleted file mode 100644 index ff15fbb..0000000 --- a/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/addressing/addressing.xml +++ /dev/null @@ -1,33 +0,0 @@ -<?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. ---> -<beans xmlns="http://www.springframework.org/schema/beans" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xmlns:http="http://cxf.apache.org/transports/http/configuration" - xsi:schemaLocation=" -http://cxf.apache.org/transports/http/configuration http://cxf.apache.org/schemas/configuration/http-conf.xsd -http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd"> - - <http:conduit name="{http://apache.org/hello_world_soap_http}SoapPort.http-conduit"> - <http:client DecoupledEndpoint="http://localhost:9999/decoupled_endpoint"/> - </http:conduit> - - <import resource="wsa_interceptors.xml"/> -</beans> - http://git-wip-us.apache.org/repos/asf/servicemix-features/blob/d358d2ea/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/addressing/hello_world.wsdl ---------------------------------------------------------------------- diff --git a/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/addressing/hello_world.wsdl b/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/addressing/hello_world.wsdl deleted file mode 100644 index d51693c..0000000 --- a/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/addressing/hello_world.wsdl +++ /dev/null @@ -1,407 +0,0 @@ -<?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 xmlns="http://schemas.xmlsoap.org/wsdl/" - xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" - xmlns:tns="http://apache.org/hello_world_soap_http" - xmlns:x1="http://apache.org/hello_world_soap_http/types" - xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" - xmlns:xsd="http://www.w3.org/2001/XMLSchema" - targetNamespace="http://apache.org/hello_world_soap_http" name="HelloWorld"> - <wsdl:types> - <schema targetNamespace="http://apache.org/hello_world_soap_http/types" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:x1="http://apache.org/hello_world_soap_http/types"> <!--elementFormDefault="qualified"--> - <element name="sayHi"> - <complexType/> - </element> - <element name="sayHiResponse"> - <complexType> - <sequence> - <element name="responseType" type="string"/> - </sequence> - </complexType> - </element> - <element name="greetMe"> - <complexType> - <sequence> - <element name="requestType" type="string"/> - </sequence> - </complexType> - </element> - <element name="greetMeResponse"> - <complexType> - <sequence> - <element name="responseType" type="string"/> - </sequence> - </complexType> - </element> - - <element name="testNillable"> - <complexType> - <sequence> - <element name="NillElem" nillable="true" type="string"/> - <element name="intElem" type="int"/> - </sequence> - </complexType> - </element> - <element name="testNillableResponse"> - <complexType> - <sequence> - <element name="responseType" nillable="true" type="string"/> - </sequence> - </complexType> - </element> - - <element name="greetMeLater"> - <complexType> - <sequence> - <element name="requestType" type="long"/> - </sequence> - </complexType> - </element> - <element name="greetMeLaterResponse"> - <complexType> - <sequence> - <element name="responseType" type="string"/> - </sequence> - </complexType> - </element> - <element name="greetMeSometime"> - <complexType> - <sequence> - <element name="requestType" type="string"/> - </sequence> - </complexType> - </element> - <element name="greetMeSometimeResponse"> - <complexType> - <sequence> - <element name="responseType" type="string"/> - </sequence> - </complexType> - </element> - <element name="greetMeOneWay"> - <complexType> - <sequence> - <element name="requestType" type="string"/> - </sequence> - </complexType> - </element> - <element name="testDocLitFault"> - <complexType> - <sequence> - <element name="faultType" type="string"/> - </sequence> - </complexType> - </element> - <element name="testDocLitFaultResponse"> - <complexType> - <sequence/> - </complexType> - </element> - <complexType name="ErrorCode"> - <sequence> - <element name="minor" type="short"/> - <element name="major" type="short"/> - </sequence> - </complexType> - <element name="NoSuchCodeLit"> - <complexType> - <sequence> - <element name="code" type="x1:ErrorCode"/> - </sequence> - </complexType> - </element> - <element name="BadRecordLit" type="string"/> - <complexType name="BadRecord"> - <sequence> - <element name="reason" type="string"/> - <element name="code" type="short"/> - </sequence> - </complexType> - <complexType name="addNumbers"> - <sequence> - <element name="arg0" type="int"/> - <element name="arg1" type="int"/> - </sequence> - </complexType> - <element name="addNumbers" type="x1:addNumbers"/> - <complexType name="addNumbersResponse"> - <sequence> - <element name="return" type="int"/> - </sequence> - </complexType> - <element name="addNumbersResponse" type="x1:addNumbersResponse"/> - <complexType name="stringStruct"> - <sequence> - <element name="arg0" type="string"/> - <element name="arg1" type="string"/> - </sequence> - </complexType> - <element name="BareDocument" type="string"/> - <element name="BareDocumentResponse"> - <complexType> - <sequence> - <element name="company" type="string"/> - </sequence> - <attribute name="id" type="int"/> - </complexType> - </element> - </schema> - </wsdl:types> - <wsdl:message name="sayHiRequest"> - <wsdl:part name="in" element="x1:sayHi"/> - </wsdl:message> - <wsdl:message name="sayHiResponse"> - <wsdl:part name="out" element="x1:sayHiResponse"/> - </wsdl:message> - <wsdl:message name="greetMeRequest"> - <wsdl:part name="in" element="x1:greetMe"/> - </wsdl:message> - <wsdl:message name="greetMeResponse"> - <wsdl:part name="out" element="x1:greetMeResponse"/> - </wsdl:message> - <wsdl:message name="testNillableRequest"> - <wsdl:part name="in" element="x1:testNillable"/> - </wsdl:message> - <wsdl:message name="testNillableResponse"> - <wsdl:part name="out" element="x1:testNillableResponse"/> - </wsdl:message> - <wsdl:message name="greetMeLaterRequest"> - <wsdl:part name="in" element="x1:greetMeLater"/> - </wsdl:message> - <wsdl:message name="greetMeLaterResponse"> - <wsdl:part name="out" element="x1:greetMeLaterResponse"/> - </wsdl:message> - <wsdl:message name="greetMeSometimeRequest"> - <wsdl:part name="in" element="x1:greetMeSometime"/> - </wsdl:message> - <wsdl:message name="greetMeSometimeResponse"> - <wsdl:part name="out" element="x1:greetMeSometimeResponse"/> - </wsdl:message> - <wsdl:message name="greetMeOneWayRequest"> - <wsdl:part name="in" element="x1:greetMeOneWay"/> - </wsdl:message> - <wsdl:message name="testDocLitFaultRequest"> - <wsdl:part name="in" element="x1:testDocLitFault"/> - </wsdl:message> - <wsdl:message name="testDocLitFaultResponse"> - <wsdl:part name="out" element="x1:testDocLitFaultResponse"/> - </wsdl:message> - <wsdl:message name="NoSuchCodeLitFault"> - <wsdl:part name="NoSuchCodeLit" element="x1:NoSuchCodeLit"/> - </wsdl:message> - <wsdl:message name="BadRecordLitFault"> - <wsdl:part name="BadRecordLit" element="x1:BadRecordLit"/> - </wsdl:message> - <wsdl:message name="testDocLitBareRequest"> - <wsdl:part name="in" element="x1:BareDocument"/> - </wsdl:message> - <wsdl:message name="testDocLitBareResponse"> - <wsdl:part name="out" element="x1:BareDocumentResponse"/> - </wsdl:message> - <wsdl:portType name="Greeter"> - <wsdl:operation name="sayHi"> - <wsdl:input name="sayHiRequest" message="tns:sayHiRequest"/> - <wsdl:output name="sayHiResponse" message="tns:sayHiResponse"/> - </wsdl:operation> - <wsdl:operation name="greetMe"> - <wsdl:input name="greetMeRequest" message="tns:greetMeRequest"/> - <wsdl:output name="greetMeResponse" message="tns:greetMeResponse"/> - </wsdl:operation> - <wsdl:operation name="testNillable"> - <wsdl:input name="testNillableRequest" message="tns:testNillableRequest"/> - <wsdl:output name="testNillableResponse" message="tns:testNillableResponse"/> - </wsdl:operation> - <wsdl:operation name="greetMeLater"> - <wsdl:input name="greetMeLaterRequest" message="tns:greetMeLaterRequest"/> - <wsdl:output name="greetMeLaterResponse" message="tns:greetMeLaterResponse"/> - </wsdl:operation> - <wsdl:operation name="greetMeSometime"> - <wsdl:input name="greetMeSometimeRequest" message="tns:greetMeSometimeRequest"/> - <wsdl:output name="greetMeSometimeResponse" message="tns:greetMeSometimeResponse"/> - </wsdl:operation> - <wsdl:operation name="greetMeOneWay"> - <wsdl:input name="greetMeOneWayRequest" message="tns:greetMeOneWayRequest"/> - </wsdl:operation> - <wsdl:operation name="testDocLitFault"> - <wsdl:input name="testDocLitFaultRequest" message="tns:testDocLitFaultRequest"/> - <wsdl:output name="testDocLitFaultResponse" message="tns:testDocLitFaultResponse"/> - <wsdl:fault name="NoSuchCodeLitFault" message="tns:NoSuchCodeLitFault"/> - <wsdl:fault name="BadRecordLitFault" message="tns:BadRecordLitFault"/> - </wsdl:operation> - - </wsdl:portType> - - <wsdl:portType name="DocLitBare"> - <wsdl:operation name="testDocLitBare"> - <wsdl:input name="testDocLitBareRequest" message="tns:testDocLitBareRequest"/> - <wsdl:output name="testDocLitBareResponse" message="tns:testDocLitBareResponse"/> - </wsdl:operation> - </wsdl:portType> - <wsdl:binding name="Greeter_SOAPBinding" type="tns:Greeter"> - <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> - <wsdl:operation name="sayHi"> - <soap:operation style="document"/> - <wsdl:input> - <soap:body use="literal"/> - </wsdl:input> - <wsdl:output> - <soap:body use="literal"/> - </wsdl:output> - </wsdl:operation> - <wsdl:operation name="greetMe"> - <soap:operation style="document"/> - <wsdl:input> - <soap:body use="literal"/> - </wsdl:input> - <wsdl:output> - <soap:body use="literal"/> - </wsdl:output> - </wsdl:operation> - <wsdl:operation name="testNillable"> - <soap:operation style="document"/> - <wsdl:input> - <soap:body use="literal"/> - </wsdl:input> - <wsdl:output> - <soap:body use="literal"/> - </wsdl:output> - </wsdl:operation> - <wsdl:operation name="greetMeLater"> - <soap:operation style="document"/> - <wsdl:input> - <soap:body use="literal"/> - </wsdl:input> - <wsdl:output> - <soap:body use="literal"/> - </wsdl:output> - </wsdl:operation> - <wsdl:operation name="greetMeSometime"> - <soap:operation style="document"/> - <wsdl:input> - <soap:body use="literal"/> - </wsdl:input> - <wsdl:output> - <soap:body use="literal"/> - </wsdl:output> - </wsdl:operation> - <wsdl:operation name="greetMeOneWay"> - <soap:operation style="document"/> - <wsdl:input> - <soap:body use="literal"/> - </wsdl:input> - </wsdl:operation> - <wsdl:operation name="testDocLitFault"> - <soap:operation style="document"/> - <wsdl:input> - <soap:body use="literal"/> - </wsdl:input> - <wsdl:output> - <soap:body use="literal"/> - </wsdl:output> - <wsdl:fault name="NoSuchCodeLitFault"> - <soap:fault name="NoSuchCodeLitFault" use="literal"/> - </wsdl:fault> - <wsdl:fault name="BadRecordLitFault"> - <soap:fault name="BadRecordLitFault" use="literal"/> - </wsdl:fault> - </wsdl:operation> - - </wsdl:binding> - <wsdl:binding name="Doc_Lit_Bare_SOAPBinding" type="tns:DocLitBare"> - <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> - <wsdl:operation name="testDocLitBare"> - <soap:operation style="document" soapAction="http://apache.org/hello_world_soap_http/testDocLitBare"/> - <wsdl:input name="testDocLitBareRequest"> - <soap:body use="literal"/> - </wsdl:input> - <wsdl:output name="testDocLitBareResponse"> - <soap:body use="literal"/> - </wsdl:output> - </wsdl:operation> - </wsdl:binding> - - - <wsdl:service name="SOAPService"> - <wsdl:port name="SoapPort" binding="tns:Greeter_SOAPBinding"> - <soap:address location="http://localhost:19000/SoapContext/SoapPort"/> - </wsdl:port> - - <wsdl:port name="SoapPort1" binding="tns:Greeter_SOAPBinding"> - <soap:address location="http://localhost:7000/SoapContext/SoapPort"/> - </wsdl:port> - </wsdl:service> - - <wsdl:service name="SOAPProviderService"> - <wsdl:port name="SoapProviderPort" binding="tns:Greeter_SOAPBinding"> - <soap:address location="http://localhost:9003/SoapContext/SoapProviderPort"/> - </wsdl:port> - </wsdl:service> - - <wsdl:service name="SOAPDispatchService"> - <wsdl:port name="SoapDispatchPort" binding="tns:Greeter_SOAPBinding"> - <soap:address location="http://localhost:9006/SOAPDispatchService/SoapDispatchPort"/> - </wsdl:port> - </wsdl:service> - - <wsdl:service name="SOAPService_DocLitBare"> - <wsdl:port name="SoapPort2" binding="tns:Doc_Lit_Bare_SOAPBinding"> - <soap:address location="http://localhost:7600/SoapContext/SoapPort"/> - </wsdl:port> - </wsdl:service> - <wsdl:service name="SOAPServiceAddressingDocLitBare"> - <wsdl:port name="SoapPort" binding="tns:Doc_Lit_Bare_SOAPBinding"> - <soap:address location="http://localhost:7600/SoapContext/SoapPort"/> - <wswa:UsingAddressing xmlns:wswa="http://www.w3.org/2005/02/addressing/wsdl"/> - </wsdl:port> - </wsdl:service> - <wsdl:service name="SOAPService_Test1"> - <wsdl:port name="SoapPort_Test1" binding="tns:Greeter_SOAPBinding"> - <soap:address location="http://localhost:9100"/> - </wsdl:port> - <wsdl:port name="SoapPort_Test2" binding="tns:Greeter_SOAPBinding"> - <soap:address location="http://localhost:9101"/> - </wsdl:port> - </wsdl:service> - <wsdl:service name="SOAPServiceAddressing"> - <wsdl:port name="SoapPort" binding="tns:Greeter_SOAPBinding"> - <soap:address location="http://localhost:9008/SoapContext/SoapPort"/> - <wswa:UsingAddressing xmlns:wswa="http://www.w3.org/2005/02/addressing/wsdl"/> - </wsdl:port> - </wsdl:service> - <wsdl:service name="SOAPServiceConcurrencyTest"> - <wsdl:port name="SoapPort" binding="tns:Greeter_SOAPBinding"> - <soap:address location="http://localhost:9009/SoapContext/SoapPort"/> - </wsdl:port> - </wsdl:service> - <wsdl:service name="SOAPServiceBogusAddressTest"> - <wsdl:port name="SoapPort" binding="tns:Greeter_SOAPBinding"> - <soap:address location="FOO"/> - </wsdl:port> - </wsdl:service> - <wsdl:service name="SOAPServiceMultiPortTypeTest"> - <wsdl:port name="GreeterPort" binding="tns:Greeter_SOAPBinding"> - <soap:address location="http://localhost:9020/MultiPort/GreeterPort"/> - </wsdl:port> - <wsdl:port name="DocLitBarePort" binding="tns:Doc_Lit_Bare_SOAPBinding"> - <soap:address location="http://localhost:9021/MultiPort/DocBarePort"/> - </wsdl:port> - </wsdl:service> -</wsdl:definitions> - http://git-wip-us.apache.org/repos/asf/servicemix-features/blob/d358d2ea/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/addressing/server.xml ---------------------------------------------------------------------- diff --git a/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/addressing/server.xml b/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/addressing/server.xml deleted file mode 100644 index 04831b2..0000000 --- a/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/addressing/server.xml +++ /dev/null @@ -1,89 +0,0 @@ -<?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. ---> -<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:test="http://cxf.apache.org/greeter_control" - xmlns:cxf="http://camel.apache.org/schema/cxf" - xmlns:smx="http://servicemix.apache.org/camelEndpoint/" - xmlns:camel="http://camel.apache.org/schema/spring" - xsi:schemaLocation=" - http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd - http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd - http://camel.apache.org/schema/cxf http://camel.apache.org/schema/cxf/camel-cxf.xsd - http://servicemix.apache.org/camelEndpoint/ http://servicemix.apache.org/camelEndpoint/.xsd - http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd - "> - - <import resource="classpath:META-INF/cxf/cxf.xml"/> - - <bean class="org.apache.camel.component.cxf.transport.CamelTransportFactory" lazy-init="true"> - <property name="bus" ref="cxf"/> - <property name="camelContext" ref="camel_context"/> - <property name="transportIds"> - <list> - <value>http://cxf.apache.org/transports/camel</value> - </list> - </property> - </bean> - - <camel:camelContext id="camel_context"> - </camel:camelContext> - - <bean id="mapAggregator" class="org.apache.cxf.ws.addressing.MAPAggregator"/> - <bean id="mapCodec" class="org.apache.cxf.ws.addressing.soap.MAPCodec"/> - <bean class="org.apache.servicemix.camel.nmr.ws.addressing.MAPVerifier" id="mapVerifier"/> - <bean class="org.apache.servicemix.camel.nmr.ws.addressing.HeaderVerifier" id="headVerifier"/> - <cxf:cxfEndpoint id="routerEndpoint" name="test:GreeterPort" address="camel://jetty:http://localhost:9008/SoapContext/SoapPort" bus="cxf" serviceClass="org.apache.hello_world_soap_http.Greeter"> - <cxf:properties> - <entry key="dataFormat" value="POJO"/> - </cxf:properties> - <cxf:features> - <bean class="org.apache.cxf.feature.LoggingFeature"/> - </cxf:features> - <cxf:outInterceptors> - <ref bean="mapVerifier"/> - <ref bean="headVerifier"/> - </cxf:outInterceptors> - <cxf:inInterceptors> - <ref bean="mapVerifier"/> - <ref bean="headVerifier"/> - </cxf:inInterceptors> - - <cxf:outFaultInterceptors> - <ref bean="mapVerifier"/> - <ref bean="headVerifier"/> - </cxf:outFaultInterceptors> - <cxf:inFaultInterceptors> - <ref bean="mapVerifier"/> - <ref bean="headVerifier"/> - </cxf:inFaultInterceptors> - - </cxf:cxfEndpoint> - - - <cxf:cxfEndpoint id="serviceEndpoint" address="local://smx/hello_world" - serviceClass="org.apache.hello_world_soap_http.Greeter"> - <cxf:properties> - <entry key="dataFormat" value="POJO"/> - </cxf:properties> - </cxf:cxfEndpoint> - -</beans> http://git-wip-us.apache.org/repos/asf/servicemix-features/blob/d358d2ea/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/addressing/wsa_interceptors.xml ---------------------------------------------------------------------- diff --git a/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/addressing/wsa_interceptors.xml b/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/addressing/wsa_interceptors.xml deleted file mode 100644 index adf0734..0000000 --- a/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/addressing/wsa_interceptors.xml +++ /dev/null @@ -1,63 +0,0 @@ -<?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. ---> -<beans xmlns="http://www.springframework.org/schema/beans" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xmlns:http-conf="http://cxf.apache.org/transports/http/configuration" - xmlns:jaxws="http://cxf.apache.org/jaxws" - xmlns:cxf="http://cxf.apache.org/core" - xsi:schemaLocation=" -http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd -http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd -http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd"> - - <bean id="mapAggregator" class="org.apache.cxf.ws.addressing.MAPAggregator"/> - <bean id="mapCodec" class="org.apache.cxf.ws.addressing.soap.MAPCodec"/> - <bean id="loggingIn" class="org.apache.cxf.interceptor.LoggingInInterceptor"/> - - <!-- We are adding the interceptors to the bus as we will have only one endpoint/service/bus. --> - - <cxf:bus> - <cxf:inInterceptors> - <ref bean="mapAggregator"/> - <ref bean="mapCodec"/> - <ref bean="loggingIn"/> - </cxf:inInterceptors> - <cxf:inFaultInterceptors> - <ref bean="mapAggregator"/> - <ref bean="mapCodec"/> - </cxf:inFaultInterceptors> - <cxf:outInterceptors> - <ref bean="mapAggregator"/> - <ref bean="mapCodec"/> - </cxf:outInterceptors> - <cxf:outFaultInterceptors> - <ref bean="mapAggregator"/> - <ref bean="mapCodec"/> - </cxf:outFaultInterceptors> - </cxf:bus> - - <jaxws:client name="{http://apache.org/hello_world_soap_http}SoapPort" - createdFromAPI="true"> - <jaxws:conduitSelector> - <bean class="org.apache.cxf.endpoint.DeferredConduitSelector"/> - </jaxws:conduitSelector> - </jaxws:client> - -</beans> http://git-wip-us.apache.org/repos/asf/servicemix-features/blob/d358d2ea/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/policy/addr-external.xml ---------------------------------------------------------------------- diff --git a/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/policy/addr-external.xml b/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/policy/addr-external.xml deleted file mode 100644 index 4742a68..0000000 --- a/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/policy/addr-external.xml +++ /dev/null @@ -1,33 +0,0 @@ -<?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. ---> -<attachments xmlns:wsp="http://www.w3.org/2006/07/ws-policy" xmlns:wsa="http://www.w3.org/2005/08/addressing"> - <wsp:PolicyAttachment> - <wsp:AppliesTo> - <wsa:EndpointReference> - <wsa:Address>http://localhost:9020/SoapContext/GreeterPort</wsa:Address> - </wsa:EndpointReference> - </wsp:AppliesTo> - <wsp:Policy> - <wsam:Addressing xmlns:wsam="http://www.w3.org/2007/02/addressing/metadata"> - <wsp:Policy/> - </wsam:Addressing> - </wsp:Policy> - </wsp:PolicyAttachment> -</attachments> http://git-wip-us.apache.org/repos/asf/servicemix-features/blob/d358d2ea/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/policy/addr.xml ---------------------------------------------------------------------- diff --git a/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/policy/addr.xml b/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/policy/addr.xml deleted file mode 100644 index ee00425..0000000 --- a/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/policy/addr.xml +++ /dev/null @@ -1,41 +0,0 @@ -<?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. ---> -<beans xmlns="http://www.springframework.org/schema/beans" - xmlns:http="http://cxf.apache.org/transports/http/configuration" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation=" -http://cxf.apache.org/transports/http/configuration http://cxf.apache.org/schemas/configuration/http-conf.xsd -http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd"> - - <http:conduit name="{http://cxf.apache.org/greeter_control}GreeterPort.http-conduit"> - <http:client DecoupledEndpoint="http://localhost:9999/decoupled_endpoint"/> - </http:conduit> - - <bean id="org.apache.cxf.ws.policy.PolicyEngine" class="org.apache.cxf.ws.policy.PolicyEngineImpl"> - <property name="bus" ref="cxf"/> - <property name="enabled" value="true"/> - </bean> - - <bean class="org.apache.cxf.ws.policy.attachment.external.ExternalAttachmentProvider"> - <constructor-arg ref="cxf"/> - <property name="location" value="org/apache/servicemix/camel/ws/policy/addr-external.xml"/> - </bean> - -</beans> http://git-wip-us.apache.org/repos/asf/servicemix-features/blob/d358d2ea/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/policy/server.xml ---------------------------------------------------------------------- diff --git a/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/policy/server.xml b/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/policy/server.xml deleted file mode 100644 index d1c287a..0000000 --- a/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/policy/server.xml +++ /dev/null @@ -1,66 +0,0 @@ -<?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. ---> -<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:test="http://cxf.apache.org/greeter_control" - xmlns:cxf="http://camel.apache.org/schema/cxf" - xmlns:camel="http://camel.apache.org/schema/spring" - xmlns:smx="http://servicemix.apache.org/camelEndpoint/" - xsi:schemaLocation=" - http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd - http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd - http://camel.apache.org/schema/cxf http://camel.apache.org/schema/cxf/camel-cxf.xsd - http://servicemix.apache.org/camelEndpoint/ http://servicemix.apache.org/camelEndpoint/.xsd - http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd - "> - - <import resource="classpath:META-INF/cxf/cxf.xml"/> - - <bean class="org.apache.camel.component.cxf.transport.CamelTransportFactory" lazy-init="true"> - <property name="bus" ref="cxf"/> - <property name="camelContext" ref="camel_context"/> - <property name="transportIds"> - <list> - <value>http://cxf.apache.org/transports/camel</value> - </list> - </property> - </bean> - - <camel:camelContext id="camel_context"> - </camel:camelContext> - - <cxf:cxfEndpoint id="routerEndpoint" name="test:GreeterPort" address="camel://jetty:http://localhost:9020/SoapContext/GreeterPort" serviceClass="org.apache.cxf.greeter_control.Greeter"> - <cxf:features> - <bean class="org.apache.cxf.feature.LoggingFeature"/> - </cxf:features> - <cxf:properties> - <entry key="setDefaultBus" value="true"/> - </cxf:properties> - </cxf:cxfEndpoint> - - - <cxf:cxfEndpoint id="serviceEndpoint" address="local://smx/hello_world" - serviceClass="org.apache.cxf.greeter_control.Greeter"> - <cxf:properties> - <entry key="setDefaultBus" value="true"/> - </cxf:properties> - </cxf:cxfEndpoint> -</beans> http://git-wip-us.apache.org/repos/asf/servicemix-features/blob/d358d2ea/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/policy/xbean.xml ---------------------------------------------------------------------- diff --git a/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/policy/xbean.xml b/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/policy/xbean.xml deleted file mode 100644 index b53b44b..0000000 --- a/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/policy/xbean.xml +++ /dev/null @@ -1,69 +0,0 @@ -<?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. - ---> -<beans xmlns:sm="http://servicemix.apache.org/config/1.0" - xmlns:cxfse="http://servicemix.apache.org/cxfse/1.0" - xmlns:cxfbc="http://servicemix.apache.org/cxfbc/1.0" - xmlns:test="urn:test" - xmlns:greeter="http://cxf.apache.org/greeter_control"> - - <sm:container id="jbi" embedded="true"> - - <sm:endpoints> - <cxfse:endpoint> - <cxfse:pojo> - <bean class="org.apache.servicemix.cxfbc.ws.policy.GreeterImpl" /> - </cxfse:pojo> - <cxfse:inInterceptors> - <bean class="org.apache.cxf.interceptor.LoggingInInterceptor"/> - </cxfse:inInterceptors> - <cxfse:outInterceptors> - <bean class="org.apache.cxf.interceptor.LoggingOutInterceptor"/> - </cxfse:outInterceptors> - <cxfse:inFaultInterceptors> - <bean class="org.apache.cxf.interceptor.LoggingInInterceptor"/> - </cxfse:inFaultInterceptors> - <cxfse:outFaultInterceptors> - <bean class="org.apache.cxf.interceptor.LoggingOutInterceptor"/> - </cxfse:outFaultInterceptors> - </cxfse:endpoint> - <cxfbc:consumer wsdl="/wsdl/greeter_control.wsdl" - targetEndpoint="GreeterPort" - targetService="greeter:BasicGreeterService" - targetInterface="greeter:Greeter" - busCfg="org/apache/servicemix/cxfbc/ws/policy/addr.xml" - > - <cxfbc:inInterceptors> - <bean class="org.apache.cxf.interceptor.LoggingInInterceptor"/> - </cxfbc:inInterceptors> - <cxfbc:outInterceptors> - <bean class="org.apache.cxf.interceptor.LoggingOutInterceptor"/> - </cxfbc:outInterceptors> - <cxfbc:inFaultInterceptors> - <bean class="org.apache.cxf.interceptor.LoggingInInterceptor"/> - </cxfbc:inFaultInterceptors> - <cxfbc:outFaultInterceptors> - <bean class="org.apache.cxf.interceptor.LoggingOutInterceptor"/> - </cxfbc:outFaultInterceptors> - </cxfbc:consumer> - </sm:endpoints> - - </sm:container> - -</beans> http://git-wip-us.apache.org/repos/asf/servicemix-features/blob/d358d2ea/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/rm/atmostonce.xml ---------------------------------------------------------------------- diff --git a/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/rm/atmostonce.xml b/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/rm/atmostonce.xml deleted file mode 100644 index a33631f..0000000 --- a/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/rm/atmostonce.xml +++ /dev/null @@ -1,45 +0,0 @@ -<?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. ---> -<beans xmlns="http://www.springframework.org/schema/beans" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xmlns:wsrm-mgr="http://cxf.apache.org/ws/rm/manager" - xmlns:wsrm-policy="http://schemas.xmlsoap.org/ws/2005/02/rm/policy" - xsi:schemaLocation=" -http://schemas.xmlsoap.org/ws/2005/02/rm/policy http://schemas.xmlsoap.org/ws/2005/02/rm/wsrm-policy.xsd -http://cxf.apache.org/ws/rm/manager http://cxf.apache.org/schemas/configuration/wsrm-manager.xsd -http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd"> - - <import resource="rminterceptors.xml" /> - - <wsrm-mgr:rmManager id="org.apache.cxf.ws.rm.RMManager"> - <wsrm-policy:RMAssertion> - <wsrm-policy:BaseRetransmissionInterval Milliseconds="60000" /> - <wsrm-policy:AcknowledgementInterval Milliseconds="10000" /> - </wsrm-policy:RMAssertion> - <wsrm-mgr:deliveryAssurance> - <wsrm-mgr:AtMostOnce /> - </wsrm-mgr:deliveryAssurance> - <wsrm-mgr:destinationPolicy> - <wsrm-mgr:acksPolicy intraMessageThreshold="0" /> - </wsrm-mgr:destinationPolicy> - </wsrm-mgr:rmManager> - - -</beans> http://git-wip-us.apache.org/repos/asf/servicemix-features/blob/d358d2ea/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/rm/decoupled.xml ---------------------------------------------------------------------- diff --git a/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/rm/decoupled.xml b/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/rm/decoupled.xml deleted file mode 100644 index 607089c..0000000 --- a/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/rm/decoupled.xml +++ /dev/null @@ -1,56 +0,0 @@ -<?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. ---> -<beans xmlns="http://www.springframework.org/schema/beans" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xmlns:http="http://cxf.apache.org/transports/http/configuration" - xmlns:cxf="http://cxf.apache.org/core" - xsi:schemaLocation=" -http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd -http://cxf.apache.org/transports/http/configuration http://cxf.apache.org/schemas/configuration/http-conf.xsd -http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd"> - - <http:conduit name="{http://cxf.apache.org/greeter_control}GreeterPort.http-conduit"> - <http:client DecoupledEndpoint="http://localhost:9995/decoupled_endpoint"/> - </http:conduit> - - <bean id="mapAggregator" class="org.apache.cxf.ws.addressing.MAPAggregator"/> - <bean id="mapCodec" class="org.apache.cxf.ws.addressing.soap.MAPCodec"/> - - - <cxf:bus> - <cxf:inInterceptors> - <ref bean="mapAggregator"/> - <ref bean="mapCodec"/> - </cxf:inInterceptors> - <cxf:inFaultInterceptors> - <ref bean="mapAggregator"/> - <ref bean="mapCodec"/> - </cxf:inFaultInterceptors> - <cxf:outInterceptors> - <ref bean="mapAggregator"/> - <ref bean="mapCodec"/> - </cxf:outInterceptors> - <cxf:outFaultInterceptors> - <ref bean="mapAggregator"/> - <ref bean="mapCodec"/> - </cxf:outFaultInterceptors> - </cxf:bus> - -</beans> http://git-wip-us.apache.org/repos/asf/servicemix-features/blob/d358d2ea/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/rm/deferred.xml ---------------------------------------------------------------------- diff --git a/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/rm/deferred.xml b/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/rm/deferred.xml deleted file mode 100644 index 86d75db..0000000 --- a/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/rm/deferred.xml +++ /dev/null @@ -1,41 +0,0 @@ -<?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. ---> -<beans xmlns="http://www.springframework.org/schema/beans" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xmlns:wsrm-mgr="http://cxf.apache.org/ws/rm/manager" - xmlns:wsrm-policy="http://schemas.xmlsoap.org/ws/2005/02/rm/policy" - xsi:schemaLocation=" -http://schemas.xmlsoap.org/ws/2005/02/rm/policy http://schemas.xmlsoap.org/ws/2005/02/rm/wsrm-policy.xsd -http://cxf.apache.org/ws/rm/manager http://cxf.apache.org/schemas/configuration/wsrm-manager.xsd -http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd"> - - <import resource="rminterceptors.xml"/> - - <wsrm-mgr:rmManager id="org.apache.cxf.ws.rm.RMManager"> - <wsrm-policy:RMAssertion> - <wsrm-policy:BaseRetransmissionInterval Milliseconds="10000"/> - <wsrm-policy:AcknowledgementInterval Milliseconds="2000"/> - </wsrm-policy:RMAssertion> - <wsrm-mgr:destinationPolicy> - <wsrm-mgr:acksPolicy intraMessageThreshold="0"/> - </wsrm-mgr:destinationPolicy> - </wsrm-mgr:rmManager> - -</beans> http://git-wip-us.apache.org/repos/asf/servicemix-features/blob/d358d2ea/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/rm/inactivity-timeout.xml ---------------------------------------------------------------------- diff --git a/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/rm/inactivity-timeout.xml b/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/rm/inactivity-timeout.xml deleted file mode 100644 index b4f5dd1..0000000 --- a/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/rm/inactivity-timeout.xml +++ /dev/null @@ -1,38 +0,0 @@ -<?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. ---> -<beans xmlns="http://www.springframework.org/schema/beans" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xmlns:wsrm-mgr="http://cxf.apache.org/ws/rm/manager" - xmlns:wsrm-policy="http://schemas.xmlsoap.org/ws/2005/02/rm/policy" - xsi:schemaLocation=" -http://schemas.xmlsoap.org/ws/2005/02/rm/policy http://schemas.xmlsoap.org/ws/2005/02/rm/wsrm-policy.xsd -http://cxf.apache.org/ws/rm/manager http://cxf.apache.org/schemas/configuration/wsrm-manager.xsd -http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd"> - - <import resource="rminterceptors.xml" /> - - <wsrm-mgr:rmManager id="org.apache.cxf.ws.rm.RMManager"> - <wsrm-policy:RMAssertion> - <wsrm-policy:InactivityTimeout Milliseconds="200" /> - </wsrm-policy:RMAssertion> - </wsrm-mgr:rmManager> - - -</beans> http://git-wip-us.apache.org/repos/asf/servicemix-features/blob/d358d2ea/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/rm/message-loss-server.xml ---------------------------------------------------------------------- diff --git a/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/rm/message-loss-server.xml b/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/rm/message-loss-server.xml deleted file mode 100644 index 55dd281..0000000 --- a/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/rm/message-loss-server.xml +++ /dev/null @@ -1,83 +0,0 @@ -<?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. ---> -<beans xmlns="http://www.springframework.org/schema/beans" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xmlns:wsrm-mgr="http://cxf.apache.org/ws/rm/manager" - xmlns:wsrm-policy="http://schemas.xmlsoap.org/ws/2005/02/rm/policy" - xmlns:http-conf="http://cxf.apache.org/transports/http/configuration" - xmlns:cxf="http://cxf.apache.org/core" - xsi:schemaLocation=" -http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd -http://schemas.xmlsoap.org/ws/2005/02/rm/policy http://schemas.xmlsoap.org/ws/2005/02/rm/wsrm-policy.xsd -http://cxf.apache.org/ws/rm/manager http://cxf.apache.org/schemas/configuration/wsrm-manager.xsd -http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd"> - - <bean id="mapAggregator" class="org.apache.cxf.ws.addressing.MAPAggregator"/> - <bean id="mapCodec" class="org.apache.cxf.ws.addressing.soap.MAPCodec"/> - <bean id="rmLogicalOut" class="org.apache.cxf.ws.rm.RMOutInterceptor"> - <property name="bus" ref="cxf"/> - </bean> - <bean id="rmLogicalIn" class="org.apache.cxf.ws.rm.RMInInterceptor"> - <property name="bus" ref="cxf"/> - </bean> - <bean id="rmCodec" class="org.apache.cxf.ws.rm.soap.RMSoapInterceptor"/> - <bean id="messageLoss" class="org.apache.servicemix.cxfbc.ws.rm.MessageLossSimulator"/> - - <!-- We are adding the interceptors to the bus as we will have only one endpoint/service/bus. --> - - <cxf:bus> - <cxf:inInterceptors> - <ref bean="mapAggregator"/> - <ref bean="mapCodec"/> - <ref bean="rmLogicalIn"/> - <ref bean="rmCodec"/> - </cxf:inInterceptors> - <cxf:inFaultInterceptors> - <ref bean="mapAggregator"/> - <ref bean="mapCodec"/> - <ref bean="rmLogicalIn"/> - <ref bean="rmCodec"/> - </cxf:inFaultInterceptors> - <cxf:outInterceptors> - <ref bean="mapAggregator"/> - <ref bean="mapCodec"/> - <ref bean="rmLogicalOut"/> - <ref bean="rmCodec"/> - <ref bean="messageLoss"/> - </cxf:outInterceptors> - <cxf:outFaultInterceptors> - <ref bean="mapAggregator"/> - <ref bean="mapCodec"/> - <ref bean="rmLogicalOut"/> - <ref bean="rmCodec"/> - </cxf:outFaultInterceptors> - </cxf:bus> - - - - <wsrm-mgr:rmManager id="org.apache.cxf.ws.rm.RMManager"> - <wsrm-policy:RMAssertion> - <!-- avoid server side resends, change programatically for client --> - <wsrm-policy:BaseRetransmissionInterval Milliseconds="2000" /> - </wsrm-policy:RMAssertion> - </wsrm-mgr:rmManager> - - -</beans> http://git-wip-us.apache.org/repos/asf/servicemix-features/blob/d358d2ea/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/rm/message-loss.xml ---------------------------------------------------------------------- diff --git a/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/rm/message-loss.xml b/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/rm/message-loss.xml deleted file mode 100644 index 946fdef..0000000 --- a/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/rm/message-loss.xml +++ /dev/null @@ -1,41 +0,0 @@ -<?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. ---> -<beans xmlns="http://www.springframework.org/schema/beans" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xmlns:wsrm-mgr="http://cxf.apache.org/ws/rm/manager" - xmlns:wsrm-policy="http://schemas.xmlsoap.org/ws/2005/02/rm/policy" - xmlns:http-conf="http://cxf.apache.org/transports/http/configuration" - xsi:schemaLocation=" -http://schemas.xmlsoap.org/ws/2005/02/rm/policy http://schemas.xmlsoap.org/ws/2005/02/rm/wsrm-policy.xsd -http://cxf.apache.org/ws/rm/manager http://cxf.apache.org/schemas/configuration/wsrm-manager.xsd -http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd"> - - <import resource="rminterceptors.xml" /> - - <wsrm-mgr:rmManager id="org.apache.cxf.ws.rm.RMManager"> - <wsrm-policy:RMAssertion> - <!-- avoid server side resends, change programatically for client --> - <wsrm-policy:BaseRetransmissionInterval Milliseconds="60000" /> - <wsrm-policy:AcknowledgementInterval Milliseconds="2000" /> - </wsrm-policy:RMAssertion> - </wsrm-mgr:rmManager> - - -</beans> http://git-wip-us.apache.org/repos/asf/servicemix-features/blob/d358d2ea/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/rm/no-offer.xml ---------------------------------------------------------------------- diff --git a/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/rm/no-offer.xml b/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/rm/no-offer.xml deleted file mode 100644 index 938b0b6..0000000 --- a/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/rm/no-offer.xml +++ /dev/null @@ -1,42 +0,0 @@ -<?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. ---> -<beans xmlns="http://www.springframework.org/schema/beans" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xmlns:wsrm-mgr="http://cxf.apache.org/ws/rm/manager" - xmlns:wsrm-policy="http://schemas.xmlsoap.org/ws/2005/02/rm/policy" - xsi:schemaLocation=" -http://schemas.xmlsoap.org/ws/2005/02/rm/policy http://schemas.xmlsoap.org/ws/2005/02/rm/wsrm-policy.xsd -http://cxf.apache.org/ws/rm/manager http://cxf.apache.org/schemas/configuration/wsrm-manager.xsd -http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd"> - - <import resource="rminterceptors.xml" /> - - <wsrm-mgr:rmManager id="org.apache.cxf.ws.rm.RMManager"> - <wsrm-policy:RMAssertion> - <wsrm-policy:BaseRetransmissionInterval Milliseconds="60000" /> - <wsrm-policy:AcknowledgementInterval Milliseconds="60000" /> - </wsrm-policy:RMAssertion> - <wsrm-mgr:sourcePolicy includeOffer="false"/> - <wsrm-mgr:destinationPolicy> - <wsrm-mgr:acksPolicy intraMessageThreshold="0" /> - </wsrm-mgr:destinationPolicy> - </wsrm-mgr:rmManager> - -</beans> http://git-wip-us.apache.org/repos/asf/servicemix-features/blob/d358d2ea/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/rm/rminterceptors.xml ---------------------------------------------------------------------- diff --git a/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/rm/rminterceptors.xml b/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/rm/rminterceptors.xml deleted file mode 100644 index fa7f90f..0000000 --- a/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/rm/rminterceptors.xml +++ /dev/null @@ -1,64 +0,0 @@ -<?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. ---> -<beans xmlns="http://www.springframework.org/schema/beans" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xmlns:cxf="http://cxf.apache.org/core" - xsi:schemaLocation=" -http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd -http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd"> - - <bean id="mapAggregator" class="org.apache.cxf.ws.addressing.MAPAggregator"/> - <bean id="mapCodec" class="org.apache.cxf.ws.addressing.soap.MAPCodec"/> - <bean id="rmLogicalOut" class="org.apache.cxf.ws.rm.RMOutInterceptor"> - <property name="bus" ref="cxf"/> - </bean> - <bean id="rmLogicalIn" class="org.apache.cxf.ws.rm.RMInInterceptor"> - <property name="bus" ref="cxf"/> - </bean> - <bean id="rmCodec" class="org.apache.cxf.ws.rm.soap.RMSoapInterceptor"/> - - - <cxf:bus> - <cxf:inInterceptors> - <ref bean="mapAggregator"/> - <ref bean="mapCodec"/> - <ref bean="rmLogicalIn"/> - <ref bean="rmCodec"/> - </cxf:inInterceptors> - <cxf:inFaultInterceptors> - <ref bean="mapAggregator"/> - <ref bean="mapCodec"/> - <ref bean="rmLogicalIn"/> - <ref bean="rmCodec"/> - </cxf:inFaultInterceptors> - <cxf:outInterceptors> - <ref bean="mapAggregator"/> - <ref bean="mapCodec"/> - <ref bean="rmLogicalOut"/> - <ref bean="rmCodec"/> - </cxf:outInterceptors> - <cxf:outFaultInterceptors> - <ref bean="mapAggregator"/> - <ref bean="mapCodec"/> - <ref bean="rmLogicalOut"/> - <ref bean="rmCodec"/> - </cxf:outFaultInterceptors> - </cxf:bus> -</beans> http://git-wip-us.apache.org/repos/asf/servicemix-features/blob/d358d2ea/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/rm/seqlength1.xml ---------------------------------------------------------------------- diff --git a/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/rm/seqlength1.xml b/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/rm/seqlength1.xml deleted file mode 100644 index 4af5c7e..0000000 --- a/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/rm/seqlength1.xml +++ /dev/null @@ -1,35 +0,0 @@ -<?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. ---> -<beans xmlns="http://www.springframework.org/schema/beans" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xmlns:wsrm-mgr="http://cxf.apache.org/ws/rm/manager" - xsi:schemaLocation=" -http://cxf.apache.org/ws/rm/manager http://cxf.apache.org/schemas/configuration/wsrm-manager.xsd -http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd"> - - <import resource="rminterceptors.xml" /> - - <wsrm-mgr:rmManager id="org.apache.cxf.ws.rm.RMManager"> - <wsrm-mgr:sourcePolicy> - <wsrm-mgr:sequenceTerminationPolicy maxLength="1" /> - </wsrm-mgr:sourcePolicy> - </wsrm-mgr:rmManager> - -</beans> http://git-wip-us.apache.org/repos/asf/servicemix-features/blob/d358d2ea/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/rm/seqlength10.xml ---------------------------------------------------------------------- diff --git a/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/rm/seqlength10.xml b/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/rm/seqlength10.xml deleted file mode 100644 index f83070f..0000000 --- a/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/rm/seqlength10.xml +++ /dev/null @@ -1,36 +0,0 @@ -<?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. ---> -<beans xmlns="http://www.springframework.org/schema/beans" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xmlns:wsrm-mgr="http://cxf.apache.org/ws/rm/manager" - xmlns:http="http://cxf.apache.org/transports/http/configuration" - xsi:schemaLocation=" -http://cxf.apache.org/ws/rm/manager http://cxf.apache.org/schemas/configuration/wsrm-manager.xsd -http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd"> - - <import resource="rminterceptors.xml" /> - - <wsrm-mgr:rmManager id="org.apache.cxf.ws.rm.RMManager"> - <wsrm-mgr:sourcePolicy> - <wsrm-mgr:sequenceTerminationPolicy maxLength="10" /> - </wsrm-mgr:sourcePolicy> - </wsrm-mgr:rmManager> - -</beans> http://git-wip-us.apache.org/repos/asf/servicemix-features/blob/d358d2ea/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/rm/sequence.xml ---------------------------------------------------------------------- diff --git a/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/rm/sequence.xml b/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/rm/sequence.xml deleted file mode 100644 index 99c0d85..0000000 --- a/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/rm/sequence.xml +++ /dev/null @@ -1,106 +0,0 @@ -<?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. - ---> -<beans xmlns:sm="http://servicemix.apache.org/config/1.0" - xmlns:cxfse="http://servicemix.apache.org/cxfse/1.0" - xmlns:cxfbc="http://servicemix.apache.org/cxfbc/1.0" - xmlns:greeter="http://cxf.apache.org/greeter_control"> - - <sm:container id="jbi" embedded="true"> - - <sm:endpoints> - <cxfse:endpoint> - <cxfse:pojo> - <bean class="org.apache.servicemix.cxfbc.ws.rm.ControlImpl" /> - </cxfse:pojo> - <cxfse:inInterceptors> - <bean class="org.apache.cxf.interceptor.LoggingInInterceptor"/> - </cxfse:inInterceptors> - <cxfse:outInterceptors> - <bean class="org.apache.cxf.interceptor.LoggingOutInterceptor"/> - </cxfse:outInterceptors> - <cxfse:inFaultInterceptors> - <bean class="org.apache.cxf.interceptor.LoggingInInterceptor"/> - </cxfse:inFaultInterceptors> - <cxfse:outFaultInterceptors> - <bean class="org.apache.cxf.interceptor.LoggingOutInterceptor"/> - </cxfse:outFaultInterceptors> - </cxfse:endpoint> - <cxfse:endpoint> - <cxfse:pojo> - <bean class="org.apache.servicemix.cxfbc.ws.rm.GreeterImpl" /> - </cxfse:pojo> - <cxfse:inInterceptors> - <bean class="org.apache.cxf.interceptor.LoggingInInterceptor"/> - </cxfse:inInterceptors> - <cxfse:outInterceptors> - <bean class="org.apache.cxf.interceptor.LoggingOutInterceptor"/> - </cxfse:outInterceptors> - <cxfse:inFaultInterceptors> - <bean class="org.apache.cxf.interceptor.LoggingInInterceptor"/> - </cxfse:inFaultInterceptors> - <cxfse:outFaultInterceptors> - <bean class="org.apache.cxf.interceptor.LoggingOutInterceptor"/> - </cxfse:outFaultInterceptors> - </cxfse:endpoint> - <cxfbc:consumer wsdl="/wsdl/greeter_control.wsdl" - targetEndpoint="ControlPort" - targetService="greeter:ControlService" - targetInterface="greeter:Control" - > - <cxfbc:inInterceptors> - <bean class="org.apache.cxf.interceptor.LoggingInInterceptor"/> - </cxfbc:inInterceptors> - <cxfbc:outInterceptors> - <bean class="org.apache.cxf.interceptor.LoggingOutInterceptor"/> - </cxfbc:outInterceptors> - <cxfbc:inFaultInterceptors> - <bean class="org.apache.cxf.interceptor.LoggingInInterceptor"/> - </cxfbc:inFaultInterceptors> - <cxfbc:outFaultInterceptors> - <bean class="org.apache.cxf.interceptor.LoggingOutInterceptor"/> - </cxfbc:outFaultInterceptors> - </cxfbc:consumer> - <cxfbc:consumer wsdl="/wsdl/greeter_control.wsdl" - targetEndpoint="GreeterPort" - targetService="greeter:GreeterService" - targetInterface="greeter:Greeter" - busCfg="org/apache/servicemix/cxfbc/ws/rm/rminterceptors.xml" - > - <cxfbc:inInterceptors> - <bean class="org.apache.cxf.interceptor.LoggingInInterceptor"/> - </cxfbc:inInterceptors> - <cxfbc:outInterceptors> - <bean class="org.apache.cxf.interceptor.LoggingOutInterceptor"/> - <!--WrappedOutInterceptor and BareOutInterceptor are used for send back ws-rm message--> - <bean class="org.apache.cxf.interceptor.WrappedOutInterceptor"/> - <bean class="org.apache.cxf.interceptor.BareOutInterceptor"/> - </cxfbc:outInterceptors> - <cxfbc:inFaultInterceptors> - <bean class="org.apache.cxf.interceptor.LoggingInInterceptor"/> - </cxfbc:inFaultInterceptors> - <cxfbc:outFaultInterceptors> - <bean class="org.apache.cxf.interceptor.LoggingOutInterceptor"/> - </cxfbc:outFaultInterceptors> - </cxfbc:consumer> - </sm:endpoints> - - </sm:container> - -</beans> http://git-wip-us.apache.org/repos/asf/servicemix-features/blob/d358d2ea/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/rm/server.xml ---------------------------------------------------------------------- diff --git a/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/rm/server.xml b/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/rm/server.xml deleted file mode 100644 index 6b4fcb0..0000000 --- a/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/rm/server.xml +++ /dev/null @@ -1,88 +0,0 @@ -<?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. ---> -<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:test="http://cxf.apache.org/greeter_control" - xmlns:cxf="http://camel.apache.org/schema/cxf" - xmlns:camel="http://camel.apache.org/schema/spring" - xmlns:http="http://cxf.apache.org/transports/http/configuration" - xsi:schemaLocation=" - http://cxf.apache.org/transports/http/configuration http://cxf.apache.org/schemas/configuration/http-conf.xsd - http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd - http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd - http://camel.apache.org/schema/cxf http://camel.apache.org/schema/cxf/camel-cxf.xsd - http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd - "> - <import resource="classpath:META-INF/cxf/cxf.xml"/> - - <bean class="org.apache.camel.component.cxf.transport.CamelTransportFactory" lazy-init="true"> - <property name="bus" ref="cxf"/> - <property name="camelContext" ref="camel_context"/> - <property name="transportIds"> - <list> - <value>http://cxf.apache.org/transports/camel</value> - </list> - </property> - </bean> - <http:conduit name="{http://cxf.apache.org/greeter_control}GreeterPort.http-conduit"> - <http:client AllowChunking="false" DecoupledEndpoint="http://localhost:9995/decoupled_endpoint"/> - </http:conduit> - <camel:camelContext id="camel_context"> - </camel:camelContext> - - <bean id="mapAggregator" class="org.apache.cxf.ws.addressing.MAPAggregator"/> - <bean id="mapCodec" class="org.apache.cxf.ws.addressing.soap.MAPCodec"/> - <cxf:cxfEndpoint id="routerEndpoint" name="test:GreeterPort" address="camel://jetty:http://localhost:9020/SoapContext/GreeterPort" serviceClass="org.apache.cxf.greeter_control.Greeter"> - <cxf:properties> - <entry key="dataFormat" value="POJO"/> - <entry key="setDefaultBus" value="true"/> - </cxf:properties> - <cxf:features> - <bean class="org.apache.cxf.feature.LoggingFeature"/> - </cxf:features> - <cxf:inInterceptors> - <ref bean="mapAggregator"/> - <ref bean="mapCodec"/> - </cxf:inInterceptors> - <cxf:inFaultInterceptors> - <ref bean="mapAggregator"/> - <ref bean="mapCodec"/> - </cxf:inFaultInterceptors> - <cxf:outInterceptors> - <ref bean="mapAggregator"/> - <ref bean="mapCodec"/> - </cxf:outInterceptors> - <cxf:outFaultInterceptors> - <ref bean="mapAggregator"/> - <ref bean="mapCodec"/> - </cxf:outFaultInterceptors> - </cxf:cxfEndpoint> - - - <cxf:cxfEndpoint id="serviceEndpoint" address="local://smx/hello_world" - serviceClass="org.apache.cxf.greeter_control.Greeter"> - <cxf:properties> - <entry key="dataFormat" value="POJO"/> - <entry key="setDefaultBus" value="true"/> - </cxf:properties> - </cxf:cxfEndpoint> - -</beans> http://git-wip-us.apache.org/repos/asf/servicemix-features/blob/d358d2ea/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/rm/suppressed.xml ---------------------------------------------------------------------- diff --git a/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/rm/suppressed.xml b/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/rm/suppressed.xml deleted file mode 100644 index df97f46..0000000 --- a/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/rm/suppressed.xml +++ /dev/null @@ -1,41 +0,0 @@ -<?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. ---> -<beans xmlns="http://www.springframework.org/schema/beans" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xmlns:wsrm-mgr="http://cxf.apache.org/ws/rm/manager" - xmlns:wsrm-policy="http://schemas.xmlsoap.org/ws/2005/02/rm/policy" - xsi:schemaLocation=" -http://schemas.xmlsoap.org/ws/2005/02/rm/policy http://schemas.xmlsoap.org/ws/2005/02/rm/wsrm-policy.xsd -http://cxf.apache.org/ws/rm/manager http://cxf.apache.org/schemas/configuration/wsrm-manager.xsd -http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd"> - - <import resource="rminterceptors.xml" /> - - <wsrm-mgr:rmManager id="org.apache.cxf.ws.rm.RMManager"> - <wsrm-policy:RMAssertion> - <wsrm-policy:BaseRetransmissionInterval Milliseconds="3000" /> - <wsrm-policy:AcknowledgementInterval Milliseconds="99999999" /> - </wsrm-policy:RMAssertion> - <wsrm-mgr:destinationPolicy> - <wsrm-mgr:acksPolicy intraMessageThreshold="0" /> - </wsrm-mgr:destinationPolicy> - </wsrm-mgr:rmManager> - -</beans> http://git-wip-us.apache.org/repos/asf/servicemix-features/blob/d358d2ea/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/rm/terminate-on-shutdown.xml ---------------------------------------------------------------------- diff --git a/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/rm/terminate-on-shutdown.xml b/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/rm/terminate-on-shutdown.xml deleted file mode 100644 index 2b3948d..0000000 --- a/camel/servicemix-camel/src/test/resources/org/apache/servicemix/camel/ws/rm/terminate-on-shutdown.xml +++ /dev/null @@ -1,44 +0,0 @@ -<?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. ---> -<beans xmlns="http://www.springframework.org/schema/beans" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xmlns:wsrm-mgr="http://cxf.apache.org/ws/rm/manager" - xmlns:wsrm-policy="http://schemas.xmlsoap.org/ws/2005/02/rm/policy" - xsi:schemaLocation=" -http://schemas.xmlsoap.org/ws/2005/02/rm/policy http://schemas.xmlsoap.org/ws/2005/02/rm/wsrm-policy.xsd -http://cxf.apache.org/ws/rm/manager http://cxf.apache.org/schemas/configuration/wsrm-manager.xsd -http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd"> - - <import resource="rminterceptors.xml"/> - - <wsrm-mgr:rmManager id="org.apache.cxf.ws.rm.RMManager"> - <wsrm-policy:RMAssertion> - <wsrm-policy:BaseRetransmissionInterval Milliseconds="10000"/> - <wsrm-policy:AcknowledgementInterval Milliseconds="10000"/> - </wsrm-policy:RMAssertion> - <wsrm-mgr:sourcePolicy> - <wsrm-mgr:sequenceTerminationPolicy terminateOnShutdown="true"/> - </wsrm-mgr:sourcePolicy> - <wsrm-mgr:destinationPolicy> - <wsrm-mgr:acksPolicy intraMessageThreshold="0"/> - </wsrm-mgr:destinationPolicy> - </wsrm-mgr:rmManager> - -</beans>
