You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by ff...@apache.org on 2006/11/09 10:43:58 UTC
svn commit: r472833 - in /incubator/cxf/trunk/integration/jbi/src/test:
java/org/apache/cxf/jbi/se/ resources/components/
resources/components/CXFServiceEngine/
resources/components/CXFServiceEngine/version_1/
resources/components/CXFServiceEngine/vers...
Author: ffang
Date: Thu Nov 9 01:43:57 2006
New Revision: 472833
URL: http://svn.apache.org/viewvc?view=rev&rev=472833
Log:
[CXF-38] JBI Integration - add test CXFServiceUnit and CXFServiceUnitManager
Added:
incubator/cxf/trunk/integration/jbi/src/test/java/org/apache/cxf/jbi/se/CXFServiceUnitTest.java (with props)
incubator/cxf/trunk/integration/jbi/src/test/resources/components/
incubator/cxf/trunk/integration/jbi/src/test/resources/components/CXFServiceEngine/
incubator/cxf/trunk/integration/jbi/src/test/resources/components/CXFServiceEngine/version_1/
incubator/cxf/trunk/integration/jbi/src/test/resources/components/CXFServiceEngine/version_1/META-INF/
incubator/cxf/trunk/integration/jbi/src/test/resources/components/CXFServiceEngine/version_1/META-INF/cxf-config.xml (with props)
incubator/cxf/trunk/integration/jbi/src/test/resources/components/CXFServiceEngine/version_1/META-INF/jbi.xml (with props)
incubator/cxf/trunk/integration/jbi/src/test/resources/service-assemblies/
incubator/cxf/trunk/integration/jbi/src/test/resources/service-assemblies/cxf-demo-service-assembly/
incubator/cxf/trunk/integration/jbi/src/test/resources/service-assemblies/cxf-demo-service-assembly/state.xml (with props)
incubator/cxf/trunk/integration/jbi/src/test/resources/service-assemblies/cxf-demo-service-assembly/version_1/
incubator/cxf/trunk/integration/jbi/src/test/resources/service-assemblies/cxf-demo-service-assembly/version_1/sus/
incubator/cxf/trunk/integration/jbi/src/test/resources/service-assemblies/cxf-demo-service-assembly/version_1/sus/CXFServiceEngine/
incubator/cxf/trunk/integration/jbi/src/test/resources/service-assemblies/cxf-demo-service-assembly/version_1/sus/CXFServiceEngine/JBIDemoSE_AProvider/
incubator/cxf/trunk/integration/jbi/src/test/resources/service-assemblies/cxf-demo-service-assembly/version_1/sus/CXFServiceEngine/JBIDemoSE_AProvider/META-INF/
incubator/cxf/trunk/integration/jbi/src/test/resources/service-assemblies/cxf-demo-service-assembly/version_1/sus/CXFServiceEngine/JBIDemoSE_AProvider/META-INF/MANIFEST.MF
incubator/cxf/trunk/integration/jbi/src/test/resources/service-assemblies/cxf-demo-service-assembly/version_1/sus/CXFServiceEngine/JBIDemoSE_AProvider/META-INF/hello_world.wsdl (with props)
incubator/cxf/trunk/integration/jbi/src/test/resources/service-assemblies/cxf-demo-service-assembly/version_1/sus/CXFServiceEngine/JBIDemoSE_AProvider/META-INF/jbi.xml (with props)
incubator/cxf/trunk/integration/jbi/src/test/resources/service-assemblies/cxf-demo-service-assembly/version_1/sus/CXFServiceEngine/JBIDemoSE_AProvider/org/
incubator/cxf/trunk/integration/jbi/src/test/resources/service-assemblies/cxf-demo-service-assembly/version_1/sus/CXFServiceEngine/JBIDemoSE_AProvider/org/apache/
incubator/cxf/trunk/integration/jbi/src/test/resources/service-assemblies/cxf-demo-service-assembly/version_1/sus/CXFServiceEngine/JBIDemoSE_AProvider/org/apache/hello_world/
incubator/cxf/trunk/integration/jbi/src/test/resources/service-assemblies/cxf-demo-service-assembly/version_1/sus/CXFServiceEngine/JBIDemoSE_AProvider/org/apache/hello_world/Greeter.class (with props)
incubator/cxf/trunk/integration/jbi/src/test/resources/service-assemblies/cxf-demo-service-assembly/version_1/sus/CXFServiceEngine/JBIDemoSE_AProvider/org/apache/hello_world/HelloWorldService.class (with props)
incubator/cxf/trunk/integration/jbi/src/test/resources/service-assemblies/cxf-demo-service-assembly/version_1/sus/CXFServiceEngine/JBIDemoSE_AProvider/org/apache/hello_world/PingMeFault.class (with props)
incubator/cxf/trunk/integration/jbi/src/test/resources/service-assemblies/cxf-demo-service-assembly/version_1/sus/CXFServiceEngine/JBIDemoSE_AProvider/org/apache/hello_world/types/
incubator/cxf/trunk/integration/jbi/src/test/resources/service-assemblies/cxf-demo-service-assembly/version_1/sus/CXFServiceEngine/JBIDemoSE_AProvider/test/
incubator/cxf/trunk/integration/jbi/src/test/resources/service-assemblies/cxf-demo-service-assembly/version_1/sus/CXFServiceEngine/JBIDemoSE_AProvider/test/provider/
incubator/cxf/trunk/integration/jbi/src/test/resources/service-assemblies/cxf-demo-service-assembly/version_1/sus/CXFServiceEngine/JBIDemoSE_AProvider/test/provider/HelloWorldProvider.class (with props)
incubator/cxf/trunk/integration/jbi/src/test/resources/wsdl/
incubator/cxf/trunk/integration/jbi/src/test/resources/wsdl/hello_world.wsdl (with props)
Modified:
incubator/cxf/trunk/integration/jbi/src/test/java/org/apache/cxf/jbi/se/CXFServiceUnitManagerTest.java
Modified: incubator/cxf/trunk/integration/jbi/src/test/java/org/apache/cxf/jbi/se/CXFServiceUnitManagerTest.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/integration/jbi/src/test/java/org/apache/cxf/jbi/se/CXFServiceUnitManagerTest.java?view=diff&rev=472833&r1=472832&r2=472833
==============================================================================
--- incubator/cxf/trunk/integration/jbi/src/test/java/org/apache/cxf/jbi/se/CXFServiceUnitManagerTest.java (original)
+++ incubator/cxf/trunk/integration/jbi/src/test/java/org/apache/cxf/jbi/se/CXFServiceUnitManagerTest.java Thu Nov 9 01:43:57 2006
@@ -30,22 +30,24 @@
import org.apache.cxf.bus.spring.SpringBusFactory;
import org.apache.cxf.common.i18n.Message;
import org.apache.cxf.common.logging.LogUtils;
+import org.apache.cxf.configuration.Configurer;
import org.easymock.EasyMock;
public class CXFServiceUnitManagerTest extends TestCase {
private static final Logger LOG = LogUtils.getL7dLogger(CXFServiceUnitManagerTest.class);
- //private static final String CELTIX_CONFIG =
- // "/components/CXFServiceEngine/version_1/META-INF/celtix-config.xml";
+ private static final String CELTIX_CONFIG =
+ "/components/CXFServiceEngine/version_1/META-INF/cxf-config.xml";
private CXFServiceUnitManager csuManager;
private ComponentContext ctx = EasyMock.createMock(ComponentContext.class);
private Bus bus;
public void setUp() throws Exception {
Thread.currentThread().setContextClassLoader(getClass().getClassLoader());
- //System.setProperty("celtix.config.file", getClass().getResource(CELTIX_CONFIG).toString());
+ System.setProperty(Configurer.USER_CFG_FILE_PROPERTY_NAME,
+ getClass().getResource(CELTIX_CONFIG).toString());
bus = new SpringBusFactory().createBus();
ComponentClassLoader componentClassLoader =
new ComponentClassLoader(new URL[0], getClass().getClassLoader());
Added: incubator/cxf/trunk/integration/jbi/src/test/java/org/apache/cxf/jbi/se/CXFServiceUnitTest.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/integration/jbi/src/test/java/org/apache/cxf/jbi/se/CXFServiceUnitTest.java?view=auto&rev=472833
==============================================================================
--- incubator/cxf/trunk/integration/jbi/src/test/java/org/apache/cxf/jbi/se/CXFServiceUnitTest.java (added)
+++ incubator/cxf/trunk/integration/jbi/src/test/java/org/apache/cxf/jbi/se/CXFServiceUnitTest.java Thu Nov 9 01:43:57 2006
@@ -0,0 +1,134 @@
+/**
+ * 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.
+ */
+
+package org.apache.cxf.jbi.se;
+
+import java.net.URL;
+import java.util.logging.Logger;
+
+import javax.jbi.JBIException;
+import javax.jbi.component.ComponentContext;
+import javax.jbi.messaging.DeliveryChannel;
+
+import junit.framework.TestCase;
+
+import org.apache.cxf.Bus;
+import org.apache.cxf.BusException;
+import org.apache.cxf.bus.spring.SpringBusFactory;
+import org.apache.cxf.common.i18n.Message;
+import org.apache.cxf.common.logging.LogUtils;
+import org.apache.cxf.configuration.Configurer;
+import org.apache.cxf.jbi.transport.JBITransportFactory;
+import org.apache.cxf.transport.ConduitInitiatorManager;
+import org.easymock.classextension.EasyMock;
+
+
+public class CXFServiceUnitTest extends TestCase {
+
+ private static final Logger LOG = LogUtils.getL7dLogger(CXFServiceUnitTest.class);
+ private static final String ROOT_PATH =
+ "/service-assemblies/cxf-demo-service-assembly/version_1/sus/"
+ + "CXFServiceEngine/JBIDemoSE_AProvider";
+ private static final String CELTIX_CONFIG =
+ "/components/CXFServiceEngine/version_1/META-INF/cxf-config.xml";
+ private CXFServiceUnit csu;
+ private CXFServiceUnitManager csuManager;
+ private ComponentContext ctx = EasyMock.createMock(ComponentContext.class);
+ private DeliveryChannel channel = EasyMock.createMock(DeliveryChannel.class);
+ private String absCsuPath;
+ private Bus bus;
+ private JBITransportFactory jbiTransportFactory;
+
+ public void setUp() throws Exception {
+ Thread.currentThread().setContextClassLoader(getClass().getClassLoader());
+ absCsuPath = getClass().getResource(ROOT_PATH).getFile();
+
+ System.setProperty(Configurer.USER_CFG_FILE_PROPERTY_NAME,
+ getClass().getResource(CELTIX_CONFIG).toString());
+ bus = new SpringBusFactory().createBus();
+
+ ComponentClassLoader componentClassLoader =
+ new ComponentClassLoader(new URL[0], getClass().getClassLoader());
+
+ csuManager = new CXFServiceUnitManager(bus, ctx, componentClassLoader);
+
+ csu = new CXFServiceUnit(bus, absCsuPath, componentClassLoader);
+ registerJBITransport(bus, csuManager);
+ channel.accept();
+ EasyMock.expectLastCall().andReturn(null);
+ EasyMock.expectLastCall().anyTimes();
+
+ EasyMock.replay(channel);
+ }
+
+ public void tearDown() throws Exception {
+ bus.shutdown(false);
+ }
+
+ public void testPrepare() throws Exception {
+ csu.prepare(ctx);
+ assertTrue(csu.isServiceProvider());
+ assertEquals(csu.getServiceName().getNamespaceURI(), "http://apache.org/hello_world");
+ assertEquals(csu.getServiceName().getLocalPart(), "HelloWorldService");
+ }
+
+ public void testEndpintName() throws Exception {
+ assertEquals(csu.getEndpointName(), "SE_Endpoint");
+ }
+
+ public void testServiceName() throws Exception {
+ csu.prepare(ctx);
+ assertEquals(csu.getServiceName().getNamespaceURI(), "http://apache.org/hello_world");
+ assertEquals(csu.getServiceName().getLocalPart(), "HelloWorldService");
+ }
+
+ public void testStart() throws Exception {
+
+ }
+
+ public void testStop() throws Exception {
+
+ }
+
+ void registerJBITransport(Bus argBus, CXFServiceUnitManager mgr) throws JBIException {
+ try {
+ getTransportFactory().setBus(argBus);
+ getTransportFactory().setServiceUnitManager(mgr);
+ } catch (Exception ex) {
+ LOG.severe(new Message("SE.FAILED.REGISTER.TRANSPORT.FACTORY",
+ LOG).toString());
+ throw new JBIException(new Message("SE.FAILED.REGISTER.TRANSPORT.FACTORY",
+ LOG).toString(), ex);
+ }
+ }
+ protected JBITransportFactory getTransportFactory() throws JBIException, BusException {
+ assert bus != null;
+
+ if (jbiTransportFactory == null) {
+ jbiTransportFactory = (JBITransportFactory)bus.getExtension(ConduitInitiatorManager.class).
+ getConduitInitiator(CXFServiceEngine.JBI_TRANSPORT_ID);
+ jbiTransportFactory.setBus(bus);
+ jbiTransportFactory.setDeliveryChannel(ctx.getDeliveryChannel());
+
+ }
+ return jbiTransportFactory;
+ }
+
+
+}
Propchange: incubator/cxf/trunk/integration/jbi/src/test/java/org/apache/cxf/jbi/se/CXFServiceUnitTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/cxf/trunk/integration/jbi/src/test/java/org/apache/cxf/jbi/se/CXFServiceUnitTest.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Added: incubator/cxf/trunk/integration/jbi/src/test/resources/components/CXFServiceEngine/version_1/META-INF/cxf-config.xml
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/integration/jbi/src/test/resources/components/CXFServiceEngine/version_1/META-INF/cxf-config.xml?view=auto&rev=472833
==============================================================================
--- incubator/cxf/trunk/integration/jbi/src/test/resources/components/CXFServiceEngine/version_1/META-INF/cxf-config.xml (added)
+++ incubator/cxf/trunk/integration/jbi/src/test/resources/components/CXFServiceEngine/version_1/META-INF/cxf-config.xml Thu Nov 9 01:43:57 2006
@@ -0,0 +1,19 @@
+<!--/**
+ * 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.
+ */
+-->
Propchange: incubator/cxf/trunk/integration/jbi/src/test/resources/components/CXFServiceEngine/version_1/META-INF/cxf-config.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/cxf/trunk/integration/jbi/src/test/resources/components/CXFServiceEngine/version_1/META-INF/cxf-config.xml
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange: incubator/cxf/trunk/integration/jbi/src/test/resources/components/CXFServiceEngine/version_1/META-INF/cxf-config.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: incubator/cxf/trunk/integration/jbi/src/test/resources/components/CXFServiceEngine/version_1/META-INF/jbi.xml
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/integration/jbi/src/test/resources/components/CXFServiceEngine/version_1/META-INF/jbi.xml?view=auto&rev=472833
==============================================================================
--- incubator/cxf/trunk/integration/jbi/src/test/resources/components/CXFServiceEngine/version_1/META-INF/jbi.xml (added)
+++ incubator/cxf/trunk/integration/jbi/src/test/resources/components/CXFServiceEngine/version_1/META-INF/jbi.xml Thu Nov 9 01:43:57 2006
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<!--/**
+ * 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.
+ */-->
+<jbi version="1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xmlns="http://java.sun.com/xml/ns/jbi" xsi:schemaLocation="http://java.sun.com/xml/ns/jbi ./jbi.xsd">
+
+ <component type="service-engine">
+ <identification>
+ <name>CXFServiceEngine</name>
+ <description>This is a cxf service engine</description>
+ </identification>
+ <component-class-name description="description">org.apache.cxf.jbi.se.CXFServiceEngine</component-class-name>
+ <component-class-path>
+ <path-element>cxf-incubator.jar</path-element>
+ </component-class-path>
+ <bootstrap-class-name>org.apache.cxf.jbi.se.CXFBootstrap</bootstrap-class-name>
+ <bootstrap-class-path>
+ <path-element>cxf-incubator.jar</path-element>
+ </bootstrap-class-path>
+ </component>
+</jbi>
Propchange: incubator/cxf/trunk/integration/jbi/src/test/resources/components/CXFServiceEngine/version_1/META-INF/jbi.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/cxf/trunk/integration/jbi/src/test/resources/components/CXFServiceEngine/version_1/META-INF/jbi.xml
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange: incubator/cxf/trunk/integration/jbi/src/test/resources/components/CXFServiceEngine/version_1/META-INF/jbi.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: incubator/cxf/trunk/integration/jbi/src/test/resources/service-assemblies/cxf-demo-service-assembly/state.xml
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/integration/jbi/src/test/resources/service-assemblies/cxf-demo-service-assembly/state.xml?view=auto&rev=472833
==============================================================================
--- incubator/cxf/trunk/integration/jbi/src/test/resources/service-assemblies/cxf-demo-service-assembly/state.xml (added)
+++ incubator/cxf/trunk/integration/jbi/src/test/resources/service-assemblies/cxf-demo-service-assembly/state.xml Thu Nov 9 01:43:57 2006
@@ -0,0 +1,3 @@
+<properties>
+ <property name="state" value="Started"/>
+</properties>
\ No newline at end of file
Propchange: incubator/cxf/trunk/integration/jbi/src/test/resources/service-assemblies/cxf-demo-service-assembly/state.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/cxf/trunk/integration/jbi/src/test/resources/service-assemblies/cxf-demo-service-assembly/state.xml
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange: incubator/cxf/trunk/integration/jbi/src/test/resources/service-assemblies/cxf-demo-service-assembly/state.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: incubator/cxf/trunk/integration/jbi/src/test/resources/service-assemblies/cxf-demo-service-assembly/version_1/sus/CXFServiceEngine/JBIDemoSE_AProvider/META-INF/MANIFEST.MF
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/integration/jbi/src/test/resources/service-assemblies/cxf-demo-service-assembly/version_1/sus/CXFServiceEngine/JBIDemoSE_AProvider/META-INF/MANIFEST.MF?view=auto&rev=472833
==============================================================================
--- incubator/cxf/trunk/integration/jbi/src/test/resources/service-assemblies/cxf-demo-service-assembly/version_1/sus/CXFServiceEngine/JBIDemoSE_AProvider/META-INF/MANIFEST.MF (added)
+++ incubator/cxf/trunk/integration/jbi/src/test/resources/service-assemblies/cxf-demo-service-assembly/version_1/sus/CXFServiceEngine/JBIDemoSE_AProvider/META-INF/MANIFEST.MF Thu Nov 9 01:43:57 2006
@@ -0,0 +1,4 @@
+Manifest-Version: 1.0
+Ant-Version: Apache Ant 1.6.5
+Created-By: 1.5.0_06-b05 (Sun Microsystems Inc.)
+
Added: incubator/cxf/trunk/integration/jbi/src/test/resources/service-assemblies/cxf-demo-service-assembly/version_1/sus/CXFServiceEngine/JBIDemoSE_AProvider/META-INF/hello_world.wsdl
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/integration/jbi/src/test/resources/service-assemblies/cxf-demo-service-assembly/version_1/sus/CXFServiceEngine/JBIDemoSE_AProvider/META-INF/hello_world.wsdl?view=auto&rev=472833
==============================================================================
--- incubator/cxf/trunk/integration/jbi/src/test/resources/service-assemblies/cxf-demo-service-assembly/version_1/sus/CXFServiceEngine/JBIDemoSE_AProvider/META-INF/hello_world.wsdl (added)
+++ incubator/cxf/trunk/integration/jbi/src/test/resources/service-assemblies/cxf-demo-service-assembly/version_1/sus/CXFServiceEngine/JBIDemoSE_AProvider/META-INF/hello_world.wsdl Thu Nov 9 01:43:57 2006
@@ -0,0 +1,206 @@
+<?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="HelloWorld" targetNamespace="http://apache.org/hello_world"
+ xmlns="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+ xmlns:tns="http://apache.org/hello_world"
+ xmlns:x1="http://apache.org/hello_world/types"
+ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns:xformat="http://cxf.apache.org/bindings/xformat"
+ xmlns:jbi="http://apache.org/transport/jbi">
+
+ <wsdl:types>
+ <schema targetNamespace="http://apache.org/hello_world/types"
+ xmlns="http://www.w3.org/2001/XMLSchema"
+ xmlns:tns="http://apache.org/hello_world/types"
+ elementFormDefault="qualified">
+ <simpleType name="MyStringType">
+ <restriction base="string">
+ <maxLength value="30" />
+ </restriction>
+ </simpleType>
+
+ <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="tns:MyStringType"/>
+ </sequence>
+ </complexType>
+ </element>
+ <element name="greetMeResponse">
+ <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="pingMe">
+ <complexType/>
+ </element>
+ <element name="pingMeResponse">
+ <complexType/>
+ </element>
+ <element name="faultDetail">
+ <complexType>
+ <sequence>
+ <element name="minor" type="short"/>
+ <element name="major" type="short"/>
+ </sequence>
+ </complexType>
+ </element>
+ </schema>
+ </wsdl:types>
+ <wsdl:message name="sayHiRequest">
+ <wsdl:part element="x1:sayHi" name="in"/>
+ </wsdl:message>
+ <wsdl:message name="sayHiResponse">
+ <wsdl:part element="x1:sayHiResponse" name="out"/>
+ </wsdl:message>
+ <wsdl:message name="greetMeRequest">
+ <wsdl:part element="x1:greetMe" name="in"/>
+ </wsdl:message>
+ <wsdl:message name="greetMeResponse">
+ <wsdl:part element="x1:greetMeResponse" name="out"/>
+ </wsdl:message>
+ <wsdl:message name="greetMeOneWayRequest">
+ <wsdl:part element="x1:greetMeOneWay" name="in"/>
+ </wsdl:message>
+ <wsdl:message name="pingMeRequest">
+ <wsdl:part name="in" element="x1:pingMe"/>
+ </wsdl:message>
+ <wsdl:message name="pingMeResponse">
+ <wsdl:part name="out" element="x1:pingMeResponse"/>
+ </wsdl:message>
+ <wsdl:message name="pingMeFault">
+ <wsdl:part name="faultDetail" element="x1:faultDetail"/>
+ </wsdl:message>
+
+ <wsdl:portType name="Greeter">
+ <wsdl:operation name="sayHi">
+ <wsdl:input message="tns:sayHiRequest" name="sayHiRequest"/>
+ <wsdl:output message="tns:sayHiResponse" name="sayHiResponse"/>
+ </wsdl:operation>
+
+ <wsdl:operation name="greetMe">
+ <wsdl:input message="tns:greetMeRequest" name="greetMeRequest"/>
+ <wsdl:output message="tns:greetMeResponse" name="greetMeResponse"/>
+ </wsdl:operation>
+
+ <wsdl:operation name="greetMeOneWay">
+ <wsdl:input message="tns:greetMeOneWayRequest" name="greetMeOneWayRequest"/>
+ </wsdl:operation>
+
+ <wsdl:operation name="pingMe">
+ <wsdl:input name="pingMeRequest" message="tns:pingMeRequest"/>
+ <wsdl:output name="pingMeResponse" message="tns:pingMeResponse"/>
+ <wsdl:fault name="pingMeFault" message="tns:pingMeFault"/>
+ </wsdl:operation>
+ </wsdl:portType>
+ <wsdl:binding name="Greeter_SOAPBinding" type="tns:Greeter">
+ <!--soap:binding style="document" transport="http://apache.org/transport/jbi"/>
+
+ <wsdl:operation name="sayHi">
+ <soap:operation soapAction="" style="document"/>
+ <wsdl:input name="sayHiRequest">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="sayHiResponse">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+
+ <wsdl:operation name="greetMe">
+ <soap:operation soapAction="" style="document"/>
+ <wsdl:input name="greetMeRequest">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="greetMeResponse">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+
+ <wsdl:operation name="greetMeOneWay">
+ <soap:operation soapAction="" style="document"/>
+ <wsdl:input name="greetMeOneWayRequest">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ </wsdl:operation>
+
+ <wsdl:operation name="pingMe">
+ <soap:operation style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ <wsdl:fault name="pingMeFault">
+ <soap:fault name="pingMeFault" use="literal"/>
+ </wsdl:fault>
+ </wsdl:operation-->
+ <xformat:binding />
+
+ <wsdl:operation name="sayHi">
+ <wsdl:input name="sayHiRequest" />
+ <wsdl:output name="sayHiResponse" />
+ </wsdl:operation>
+
+ <wsdl:operation name="greetMe">
+ <wsdl:input name="greetMeRequest" />
+ <wsdl:output name="greetMeResponse" />
+ </wsdl:operation>
+
+ <wsdl:operation name="greetMeOneWay">
+ <wsdl:input name="greetMeOneWayRequest" />
+ </wsdl:operation>
+
+ <wsdl:operation name="pingMe">
+ <wsdl:input />
+ <wsdl:output />
+ <wsdl:fault name="pingMeFault" />
+ </wsdl:operation>
+
+
+ </wsdl:binding>
+ <wsdl:service name="HelloWorldService">
+ <wsdl:port binding="tns:Greeter_SOAPBinding" name="SoapPort">
+ <jbi:address location="http://localhost:9000/SoapContext/SoapPort"/>
+ </wsdl:port>
+ </wsdl:service>
+</wsdl:definitions>
+
Propchange: incubator/cxf/trunk/integration/jbi/src/test/resources/service-assemblies/cxf-demo-service-assembly/version_1/sus/CXFServiceEngine/JBIDemoSE_AProvider/META-INF/hello_world.wsdl
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/cxf/trunk/integration/jbi/src/test/resources/service-assemblies/cxf-demo-service-assembly/version_1/sus/CXFServiceEngine/JBIDemoSE_AProvider/META-INF/hello_world.wsdl
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange: incubator/cxf/trunk/integration/jbi/src/test/resources/service-assemblies/cxf-demo-service-assembly/version_1/sus/CXFServiceEngine/JBIDemoSE_AProvider/META-INF/hello_world.wsdl
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: incubator/cxf/trunk/integration/jbi/src/test/resources/service-assemblies/cxf-demo-service-assembly/version_1/sus/CXFServiceEngine/JBIDemoSE_AProvider/META-INF/jbi.xml
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/integration/jbi/src/test/resources/service-assemblies/cxf-demo-service-assembly/version_1/sus/CXFServiceEngine/JBIDemoSE_AProvider/META-INF/jbi.xml?view=auto&rev=472833
==============================================================================
--- incubator/cxf/trunk/integration/jbi/src/test/resources/service-assemblies/cxf-demo-service-assembly/version_1/sus/CXFServiceEngine/JBIDemoSE_AProvider/META-INF/jbi.xml (added)
+++ incubator/cxf/trunk/integration/jbi/src/test/resources/service-assemblies/cxf-demo-service-assembly/version_1/sus/CXFServiceEngine/JBIDemoSE_AProvider/META-INF/jbi.xml Thu Nov 9 01:43:57 2006
@@ -0,0 +1,36 @@
+<?xml version='1.0' ?>
+<!--
+ 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.
+-->
+<jbi version="1.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns="http://java.sun.com/xml/ns/jbi"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/jbi jbi.xsd">
+ <services binding-component = "false"
+ xmlns:sns1="http://apache.org/hello_world">
+
+ <provides interface-name = "sns1:Greeter"
+ service-name = "sns1:HelloWorldService"
+ endpoint-name = "SE_Endpoint">
+
+ </provides>
+
+ </services>
+</jbi>
Propchange: incubator/cxf/trunk/integration/jbi/src/test/resources/service-assemblies/cxf-demo-service-assembly/version_1/sus/CXFServiceEngine/JBIDemoSE_AProvider/META-INF/jbi.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/cxf/trunk/integration/jbi/src/test/resources/service-assemblies/cxf-demo-service-assembly/version_1/sus/CXFServiceEngine/JBIDemoSE_AProvider/META-INF/jbi.xml
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange: incubator/cxf/trunk/integration/jbi/src/test/resources/service-assemblies/cxf-demo-service-assembly/version_1/sus/CXFServiceEngine/JBIDemoSE_AProvider/META-INF/jbi.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: incubator/cxf/trunk/integration/jbi/src/test/resources/service-assemblies/cxf-demo-service-assembly/version_1/sus/CXFServiceEngine/JBIDemoSE_AProvider/org/apache/hello_world/Greeter.class
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/integration/jbi/src/test/resources/service-assemblies/cxf-demo-service-assembly/version_1/sus/CXFServiceEngine/JBIDemoSE_AProvider/org/apache/hello_world/Greeter.class?view=auto&rev=472833
==============================================================================
Binary file - no diff available.
Propchange: incubator/cxf/trunk/integration/jbi/src/test/resources/service-assemblies/cxf-demo-service-assembly/version_1/sus/CXFServiceEngine/JBIDemoSE_AProvider/org/apache/hello_world/Greeter.class
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/cxf/trunk/integration/jbi/src/test/resources/service-assemblies/cxf-demo-service-assembly/version_1/sus/CXFServiceEngine/JBIDemoSE_AProvider/org/apache/hello_world/HelloWorldService.class
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/integration/jbi/src/test/resources/service-assemblies/cxf-demo-service-assembly/version_1/sus/CXFServiceEngine/JBIDemoSE_AProvider/org/apache/hello_world/HelloWorldService.class?view=auto&rev=472833
==============================================================================
Binary file - no diff available.
Propchange: incubator/cxf/trunk/integration/jbi/src/test/resources/service-assemblies/cxf-demo-service-assembly/version_1/sus/CXFServiceEngine/JBIDemoSE_AProvider/org/apache/hello_world/HelloWorldService.class
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/cxf/trunk/integration/jbi/src/test/resources/service-assemblies/cxf-demo-service-assembly/version_1/sus/CXFServiceEngine/JBIDemoSE_AProvider/org/apache/hello_world/PingMeFault.class
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/integration/jbi/src/test/resources/service-assemblies/cxf-demo-service-assembly/version_1/sus/CXFServiceEngine/JBIDemoSE_AProvider/org/apache/hello_world/PingMeFault.class?view=auto&rev=472833
==============================================================================
Binary file - no diff available.
Propchange: incubator/cxf/trunk/integration/jbi/src/test/resources/service-assemblies/cxf-demo-service-assembly/version_1/sus/CXFServiceEngine/JBIDemoSE_AProvider/org/apache/hello_world/PingMeFault.class
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/cxf/trunk/integration/jbi/src/test/resources/service-assemblies/cxf-demo-service-assembly/version_1/sus/CXFServiceEngine/JBIDemoSE_AProvider/test/provider/HelloWorldProvider.class
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/integration/jbi/src/test/resources/service-assemblies/cxf-demo-service-assembly/version_1/sus/CXFServiceEngine/JBIDemoSE_AProvider/test/provider/HelloWorldProvider.class?view=auto&rev=472833
==============================================================================
Binary file - no diff available.
Propchange: incubator/cxf/trunk/integration/jbi/src/test/resources/service-assemblies/cxf-demo-service-assembly/version_1/sus/CXFServiceEngine/JBIDemoSE_AProvider/test/provider/HelloWorldProvider.class
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/cxf/trunk/integration/jbi/src/test/resources/wsdl/hello_world.wsdl
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/integration/jbi/src/test/resources/wsdl/hello_world.wsdl?view=auto&rev=472833
==============================================================================
--- incubator/cxf/trunk/integration/jbi/src/test/resources/wsdl/hello_world.wsdl (added)
+++ incubator/cxf/trunk/integration/jbi/src/test/resources/wsdl/hello_world.wsdl Thu Nov 9 01:43:57 2006
@@ -0,0 +1,206 @@
+<?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="HelloWorld" targetNamespace="http://apache.org/hello_world"
+ xmlns="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+ xmlns:tns="http://apache.org/hello_world"
+ xmlns:x1="http://apache.org/hello_world/types"
+ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns:xformat="http://cxf.apache.org/bindings/xformat"
+ xmlns:jbi="http://apache.org/transport/jbi">
+
+ <wsdl:types>
+ <schema targetNamespace="http://apache.org/hello_world/types"
+ xmlns="http://www.w3.org/2001/XMLSchema"
+ xmlns:tns="http://apache.org/hello_world/types"
+ elementFormDefault="qualified">
+ <simpleType name="MyStringType">
+ <restriction base="string">
+ <maxLength value="30" />
+ </restriction>
+ </simpleType>
+
+ <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="tns:MyStringType"/>
+ </sequence>
+ </complexType>
+ </element>
+ <element name="greetMeResponse">
+ <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="pingMe">
+ <complexType/>
+ </element>
+ <element name="pingMeResponse">
+ <complexType/>
+ </element>
+ <element name="faultDetail">
+ <complexType>
+ <sequence>
+ <element name="minor" type="short"/>
+ <element name="major" type="short"/>
+ </sequence>
+ </complexType>
+ </element>
+ </schema>
+ </wsdl:types>
+ <wsdl:message name="sayHiRequest">
+ <wsdl:part element="x1:sayHi" name="in"/>
+ </wsdl:message>
+ <wsdl:message name="sayHiResponse">
+ <wsdl:part element="x1:sayHiResponse" name="out"/>
+ </wsdl:message>
+ <wsdl:message name="greetMeRequest">
+ <wsdl:part element="x1:greetMe" name="in"/>
+ </wsdl:message>
+ <wsdl:message name="greetMeResponse">
+ <wsdl:part element="x1:greetMeResponse" name="out"/>
+ </wsdl:message>
+ <wsdl:message name="greetMeOneWayRequest">
+ <wsdl:part element="x1:greetMeOneWay" name="in"/>
+ </wsdl:message>
+ <wsdl:message name="pingMeRequest">
+ <wsdl:part name="in" element="x1:pingMe"/>
+ </wsdl:message>
+ <wsdl:message name="pingMeResponse">
+ <wsdl:part name="out" element="x1:pingMeResponse"/>
+ </wsdl:message>
+ <wsdl:message name="pingMeFault">
+ <wsdl:part name="faultDetail" element="x1:faultDetail"/>
+ </wsdl:message>
+
+ <wsdl:portType name="Greeter">
+ <wsdl:operation name="sayHi">
+ <wsdl:input message="tns:sayHiRequest" name="sayHiRequest"/>
+ <wsdl:output message="tns:sayHiResponse" name="sayHiResponse"/>
+ </wsdl:operation>
+
+ <wsdl:operation name="greetMe">
+ <wsdl:input message="tns:greetMeRequest" name="greetMeRequest"/>
+ <wsdl:output message="tns:greetMeResponse" name="greetMeResponse"/>
+ </wsdl:operation>
+
+ <wsdl:operation name="greetMeOneWay">
+ <wsdl:input message="tns:greetMeOneWayRequest" name="greetMeOneWayRequest"/>
+ </wsdl:operation>
+
+ <wsdl:operation name="pingMe">
+ <wsdl:input name="pingMeRequest" message="tns:pingMeRequest"/>
+ <wsdl:output name="pingMeResponse" message="tns:pingMeResponse"/>
+ <wsdl:fault name="pingMeFault" message="tns:pingMeFault"/>
+ </wsdl:operation>
+ </wsdl:portType>
+ <wsdl:binding name="Greeter_SOAPBinding" type="tns:Greeter">
+ <!--soap:binding style="document" transport="http://apache.org/transport/jbi"/>
+
+ <wsdl:operation name="sayHi">
+ <soap:operation soapAction="" style="document"/>
+ <wsdl:input name="sayHiRequest">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="sayHiResponse">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+
+ <wsdl:operation name="greetMe">
+ <soap:operation soapAction="" style="document"/>
+ <wsdl:input name="greetMeRequest">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="greetMeResponse">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+
+ <wsdl:operation name="greetMeOneWay">
+ <soap:operation soapAction="" style="document"/>
+ <wsdl:input name="greetMeOneWayRequest">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ </wsdl:operation>
+
+ <wsdl:operation name="pingMe">
+ <soap:operation style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ <wsdl:fault name="pingMeFault">
+ <soap:fault name="pingMeFault" use="literal"/>
+ </wsdl:fault>
+ </wsdl:operation-->
+ <xformat:binding />
+
+ <wsdl:operation name="sayHi">
+ <wsdl:input name="sayHiRequest" />
+ <wsdl:output name="sayHiResponse" />
+ </wsdl:operation>
+
+ <wsdl:operation name="greetMe">
+ <wsdl:input name="greetMeRequest" />
+ <wsdl:output name="greetMeResponse" />
+ </wsdl:operation>
+
+ <wsdl:operation name="greetMeOneWay">
+ <wsdl:input name="greetMeOneWayRequest" />
+ </wsdl:operation>
+
+ <wsdl:operation name="pingMe">
+ <wsdl:input />
+ <wsdl:output />
+ <wsdl:fault name="pingMeFault" />
+ </wsdl:operation>
+
+
+ </wsdl:binding>
+ <wsdl:service name="HelloWorldService">
+ <wsdl:port binding="tns:Greeter_SOAPBinding" name="SoapPort">
+ <jbi:address location="http://localhost:9000/SoapContext/SoapPort"/>
+ </wsdl:port>
+ </wsdl:service>
+</wsdl:definitions>
+
Propchange: incubator/cxf/trunk/integration/jbi/src/test/resources/wsdl/hello_world.wsdl
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/cxf/trunk/integration/jbi/src/test/resources/wsdl/hello_world.wsdl
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange: incubator/cxf/trunk/integration/jbi/src/test/resources/wsdl/hello_world.wsdl
------------------------------------------------------------------------------
svn:mime-type = text/xml