You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by en...@apache.org on 2009/05/18 16:07:06 UTC
svn commit: r775958 - in
/servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test:
java/org/apache/servicemix/common/wsdl1/
resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-bindings/
resources/org/apache/servicemix/common/wsdl1...
Author: enolan
Date: Mon May 18 14:07:04 2009
New Revision: 775958
URL: http://svn.apache.org/viewvc?rev=775958&view=rev
Log:
SMXCOMP-519 - Add new tests for the wsdl1 package
Added:
servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/java/org/apache/servicemix/common/wsdl1/Wsdl1DeployerTest.java (with props)
servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl/
servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-bindings/
servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-bindings/helloworld.wsdl (with props)
servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-bindings/lib/
servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-bindings/lib/classpath.zip (with props)
servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-bindings/xbean.xml (with props)
servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-invalid/
servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-invalid/helloworld.wsdl (with props)
servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-invalid/lib/
servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-invalid/lib/classpath.zip (with props)
servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-invalid/xbean.xml (with props)
servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-nobinding/
servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-nobinding/helloworld.wsdl (with props)
servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-nobinding/lib/
servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-nobinding/lib/classpath.zip (with props)
servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-nobinding/xbean.xml (with props)
servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-noservice/
servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-noservice/helloworld.wsdl (with props)
servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-noservice/lib/
servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-noservice/lib/classpath.zip (with props)
servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-noservice/xbean.xml (with props)
servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-ports/
servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-ports/helloworld.wsdl (with props)
servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-ports/lib/
servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-ports/lib/classpath.zip (with props)
servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-ports/xbean.xml (with props)
servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl/helloworld.wsdl (with props)
servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl/lib/
servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl/lib/classpath.zip (with props)
servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl/xbean.xml (with props)
Added: servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/java/org/apache/servicemix/common/wsdl1/Wsdl1DeployerTest.java
URL: http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/java/org/apache/servicemix/common/wsdl1/Wsdl1DeployerTest.java?rev=775958&view=auto
==============================================================================
--- servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/java/org/apache/servicemix/common/wsdl1/Wsdl1DeployerTest.java (added)
+++ servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/java/org/apache/servicemix/common/wsdl1/Wsdl1DeployerTest.java Mon May 18 14:07:04 2009
@@ -0,0 +1,224 @@
+/*
+ * 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.servicemix.common.wsdl1;
+
+import java.io.File;
+import java.net.URL;
+import java.util.List;
+
+import javax.jbi.management.DeploymentException;
+import javax.jbi.messaging.MessageExchange;
+import javax.jbi.messaging.MessageExchange.Role;
+import javax.wsdl.WSDLException;
+import javax.wsdl.extensions.ExtensibilityElement;
+import javax.wsdl.xml.WSDLReader;
+
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
+import org.apache.servicemix.common.ServiceMixComponent;
+import org.apache.servicemix.common.endpoints.SimpleEndpoint;
+
+import org.apache.servicemix.common.ServiceUnit;
+import org.apache.servicemix.common.DefaultComponent;
+
+import junit.framework.TestCase;
+
+public class Wsdl1DeployerTest extends TestCase {
+
+ private static transient Log logger = LogFactory.getLog(Wsdl1DeployerTest.class);
+
+ // Test to Deploy Service Unit
+ public void testDeploy() throws Exception {
+
+ MyWsdl1Deployer deployer = new MyWsdl1Deployer(new MyComponent() { });
+ boolean candeploy = deployer.canDeploy("xbean-wsdl", getServiceUnitPath("org/apache/servicemix/common/wsdl1/xbean-wsdl"));
+ assertTrue(candeploy);
+ ServiceUnit su = deployer.deploy("xbean-wsdl", getServiceUnitPath("org/apache/servicemix/common/wsdl1/xbean-wsdl"));
+ assertNotNull(su);
+ assertNotNull(su.getEndpoints());
+ assertEquals(su.getName(), "xbean-wsdl");
+ }
+
+ // Test to Deploy Service Unit with no endpoint
+ public void testEndpointDeploy() throws Exception {
+
+ MyWsdl1EndpointDeployer deployer = new MyWsdl1EndpointDeployer(new MyComponent() { });
+ boolean candeploy = deployer.canDeploy("xbean-wsdl", getServiceUnitPath("org/apache/servicemix/common/wsdl1/xbean-wsdl"));
+ assertTrue(candeploy);
+ try {
+ ServiceUnit su = deployer.deploy("xbean-wsdl", getServiceUnitPath("org/apache/servicemix/common/wsdl1/xbean-wsdl"));
+ fail();
+ } catch (DeploymentException ex) {
+ // Deploy - Invalid wsdl: no endpoints found
+ }
+ }
+
+ public void testNoWsdlDeploy() throws Exception {
+
+ MyWsdl1Deployer deployer = new MyWsdl1Deployer(new MyComponent() { });
+ boolean candeploy = deployer.canDeploy("xbean-inline", getServiceUnitPath("xbean-inline"));
+ assertFalse(candeploy);
+ try {
+ ServiceUnit su = deployer.deploy("xbean-inline", getServiceUnitPath("xbean-inline"));
+ fail();
+ } catch (DeploymentException ex) {
+ // Should catch this exception - No wsdl found
+ }
+ }
+
+ public void testInvalidWsdlDeploy() throws Exception {
+
+ MyWsdl1Deployer deployer = new MyWsdl1Deployer(new MyComponent() { });
+ boolean candeploy = deployer.canDeploy("xbean-wsdl-invalid", getServiceUnitPath("org/apache/servicemix/common/wsdl1/xbean-wsdl-invalid"));
+ assertTrue(candeploy);
+ try {
+ ServiceUnit su = deployer.deploy("xbean-wsdl-invalid", getServiceUnitPath("org/apache/servicemix/common/wsdl1/xbean-wsdl-invalid"));
+ fail();
+ } catch (Exception e) {
+ // "Deploy - Could not parse wsdl File"
+ }
+ }
+
+ public void testWsdlNoServiceDeploy() throws Exception {
+
+ MyWsdl1Deployer deployer = new MyWsdl1Deployer(new MyComponent() { });
+ try {
+ ServiceUnit su = deployer.deploy("xbean-wsdl-noservice", getServiceUnitPath("org/apache/servicemix/common/wsdl1/xbean-wsdl-noservice"));
+ fail();
+ } catch (Exception e) {
+ // "Deploy - no defined services"
+ }
+ }
+
+ public void testWsdlNoBindingDeploy() throws Exception {
+
+ MyWsdl1Deployer deployer = new MyWsdl1Deployer(new MyComponent() { });
+ try {
+ ServiceUnit su = deployer.deploy("xbean-wsdl-nobinding", getServiceUnitPath("org/apache/servicemix/common/wsdl1/xbean-wsdl-nobinding"));
+ fail();
+ } catch (Exception e) {
+ // "Deploy - no matching binding element found"
+ }
+ }
+
+ public void testWsdlMultiplePorts() throws Exception {
+
+ MyWsdl1Deployer deployer = new MyWsdl1Deployer(new MyComponent() { });
+ try {
+ ServiceUnit su = deployer.deploy("xbean-wsdl-ports", getServiceUnitPath("org/apache/servicemix/common/wsdl1/xbean-wsdl-ports"));
+ fail();
+ } catch (Exception e) {
+ // "Deploy - more than one port element match"
+ }
+ }
+
+ public void testWsdlMultipleBindings() throws Exception {
+
+ MyWsdl1Deployer deployer = new MyWsdl1Deployer(new MyComponent() { });
+ try {
+ ServiceUnit su = deployer.deploy("xbean-wsdl-bindings", getServiceUnitPath("org/apache/servicemix/common/wsdl1/xbean-wsdl-bindings"));
+ fail();
+ } catch (Exception e) {
+ // "Deploy - more than one binding element match"
+ }
+ }
+
+ protected String getServiceUnitPath(String name) {
+ URL url = getClass().getClassLoader().getResource(name + "/xbean.xml");
+ File path = new File(url.getFile());
+ path = path.getParentFile();
+ return path.getAbsolutePath();
+ }
+
+ public class MyWsdl1Deployer extends AbstractWsdl1Deployer {
+
+ WSDLReader reader = null;
+
+ public MyWsdl1Deployer(ServiceMixComponent component) {
+ super(component);
+ try {
+ reader = createWsdlReader();
+ } catch (WSDLException ex) {
+ //
+ }
+ }
+
+ protected MyEndpoint createEndpoint(ExtensibilityElement portElement,
+ ExtensibilityElement bindingElement,
+ JbiEndpoint jbiEndpoint) {
+ return new MyEndpoint();
+ }
+
+ protected boolean filterPortElement(ExtensibilityElement element) {
+ return true;
+ }
+
+ protected boolean filterBindingElement(ExtensibilityElement element) {
+ return true;
+ }
+
+ }
+
+ public class MyWsdl1EndpointDeployer extends MyWsdl1Deployer {
+ WSDLReader reader = null;
+
+ public MyWsdl1EndpointDeployer(ServiceMixComponent component) {
+ super(component);
+ try {
+ reader = createWsdlReader();
+ } catch (WSDLException ex) {
+ //
+ }
+ }
+
+ protected MyEndpoint createEndpoint(ExtensibilityElement portElement,
+ ExtensibilityElement bindingElement,
+ JbiEndpoint jbiEndpoint) {
+ return null;
+ }
+ }
+
+ protected class MyComponent extends DefaultComponent {
+ public MyComponent() {
+ super();
+ }
+
+ public List getConfiguredEndpoints() {
+ return null;
+ }
+
+ public Class[] getEndpointClasses() {
+ return new Class[1];
+ }
+ }
+
+ public class MyEndpoint extends SimpleEndpoint {
+ public Role getRole() {
+ return javax.jbi.messaging.MessageExchange.Role.PROVIDER;
+ }
+
+ public void stop() throws Exception {
+ }
+
+ public void start() throws Exception {
+ }
+
+ public void process(javax.jbi.messaging.MessageExchange exchange) throws Exception {
+ }
+
+ }
+}
Propchange: servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/java/org/apache/servicemix/common/wsdl1/Wsdl1DeployerTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-bindings/helloworld.wsdl
URL: http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-bindings/helloworld.wsdl?rev=775958&view=auto
==============================================================================
--- servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-bindings/helloworld.wsdl (added)
+++ servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-bindings/helloworld.wsdl Mon May 18 14:07:04 2009
@@ -0,0 +1,125 @@
+<?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_soap_http_provider"
+ xmlns="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+ xmlns:tns="http://apache.org/hello_world_soap_http_provider"
+ xmlns:jbi="http://servicemix.org/wsdl/jbi/"
+ xmlns:x1="http://apache.org/hello_world_soap_http_provider/types"
+ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+ <wsdl:types>
+ <schema targetNamespace="http://apache.org/hello_world_soap_http_provider/types"
+ xmlns="http://www.w3.org/2001/XMLSchema"
+ xmlns:tns="http://apache.org/hello_world_soap_http_provider/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>
+ </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: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:portType>
+
+ <wsdl:binding name="Greeter_SOAPBinding" type="tns:Greeter">
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+
+ <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:binding>
+
+ <wsdl:service name="SOAPService">
+ <wsdl:port binding="tns:Greeter_SOAPBinding" name="SoapPort">
+ <jbi:endpoint required="true" role="provider" defaultOperation="sayHi"/>
+ <jbi:endpoint required="true" role="consumer" defaultMep="in-only"/>
+ <soap:address location="http://localhost:9000/SoapContext/SoapPort"/>
+ </wsdl:port>
+ </wsdl:service>
+</wsdl:definitions>
+
Propchange: servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-bindings/helloworld.wsdl
------------------------------------------------------------------------------
svn:eol-style = native
Added: servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-bindings/lib/classpath.zip
URL: http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-bindings/lib/classpath.zip?rev=775958&view=auto
==============================================================================
Binary file - no diff available.
Propchange: servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-bindings/lib/classpath.zip
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-bindings/xbean.xml
URL: http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-bindings/xbean.xml?rev=775958&view=auto
==============================================================================
--- servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-bindings/xbean.xml (added)
+++ servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-bindings/xbean.xml Mon May 18 14:07:04 2009
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Copyright (C) 2007-2008 IONA Technologies PLC.
+ All Rights Reserved.
+
+ Licensed 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:cxfbc="http://servicemix.apache.org/cxfbc/1.0"
+ xmlns:tns="http://apache.org/hello_world_soap_http_provider">
+
+ <cxfbc:consumer wsdl="classpath:helloworld.wsdl"
+ targetService="tns:SOAPService"
+ targetInterface="tns:Greeter"
+ timeout="20000"/>
+
+
+</beans>
+
Propchange: servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-bindings/xbean.xml
------------------------------------------------------------------------------
svn:eol-style = native
Added: servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-invalid/helloworld.wsdl
URL: http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-invalid/helloworld.wsdl?rev=775958&view=auto
==============================================================================
--- servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-invalid/helloworld.wsdl (added)
+++ servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-invalid/helloworld.wsdl Mon May 18 14:07:04 2009
@@ -0,0 +1,126 @@
+<?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_soap_http_provider"
+ xmlns="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+ xmlns:tns="http://apache.org/hello_world_soap_http_provider"
+ xmlns:jbi="http://servicemix.org/wsdl/jbi/"
+ xmlns:x1="http://apache.org/hello_world_soap_http_provider/types"
+ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+ <wsdl:typesincorrect>
+ <schema targetNamespace="http://apache.org/hello_world_soap_http_provider/types"
+ xmlns="http://www.w3.org/2001/XMLSchema"
+ xmlns:tns="http://apache.org/hello_world_soap_http_provider/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>
+ </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: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: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 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:binding>
+
+ <wsdl:service name="SOAPService">
+ <wsdl:port binding="tns:Greeter_SOAPBinding" name="SoapPort">
+ <jbi:endpoint required="true" role="provider" defaultOperation="sayHi"/>
+ <jbi:endpoint required="true" role="consumer" defaultMep="in-only"/>
+ <jbi:endpoint required="true" role="provider" defaultMep="robust-in-only"/>
+ <jbi:endpoint required="true" role="provider" defaultMep="in-out"/>
+ <soap:address location="http://localhost:9000/SoapContext/SoapPort"/>
+ </wsdl:port>
+ </wsdl:service>
+</wsdl:definitions>
+
Propchange: servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-invalid/helloworld.wsdl
------------------------------------------------------------------------------
svn:eol-style = native
Added: servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-invalid/lib/classpath.zip
URL: http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-invalid/lib/classpath.zip?rev=775958&view=auto
==============================================================================
Binary file - no diff available.
Propchange: servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-invalid/lib/classpath.zip
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-invalid/xbean.xml
URL: http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-invalid/xbean.xml?rev=775958&view=auto
==============================================================================
--- servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-invalid/xbean.xml (added)
+++ servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-invalid/xbean.xml Mon May 18 14:07:04 2009
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Copyright (C) 2007-2008 IONA Technologies PLC.
+ All Rights Reserved.
+
+ Licensed 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:cxfbc="http://servicemix.apache.org/cxfbc/1.0"
+ xmlns:tns="http://apache.org/hello_world_soap_http_provider">
+
+ <cxfbc:consumer wsdl="classpath:helloworld.wsdl"
+ targetService="tns:SOAPService"
+ targetInterface="tns:Greeter"
+ timeout="20000"/>
+
+
+</beans>
+
Propchange: servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-invalid/xbean.xml
------------------------------------------------------------------------------
svn:eol-style = native
Added: servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-nobinding/helloworld.wsdl
URL: http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-nobinding/helloworld.wsdl?rev=775958&view=auto
==============================================================================
--- servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-nobinding/helloworld.wsdl (added)
+++ servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-nobinding/helloworld.wsdl Mon May 18 14:07:04 2009
@@ -0,0 +1,101 @@
+<?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_soap_http_provider"
+ xmlns="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+ xmlns:tns="http://apache.org/hello_world_soap_http_provider"
+ xmlns:jbi="http://servicemix.org/wsdl/jbi/"
+ xmlns:x1="http://apache.org/hello_world_soap_http_provider/types"
+ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+ <wsdl:types>
+ <schema targetNamespace="http://apache.org/hello_world_soap_http_provider/types"
+ xmlns="http://www.w3.org/2001/XMLSchema"
+ xmlns:tns="http://apache.org/hello_world_soap_http_provider/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>
+ </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: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:portType>
+
+ <wsdl:service name="SOAPService">
+ <wsdl:port binding="tns:Greeter_SOAPBinding" name="SoapPort">
+ <jbi:endpoint required="true" role="provider" defaultOperation="sayHi"/>
+ <jbi:endpoint required="true" role="consumer" defaultMep="in-only"/>
+ <jbi:endpoint required="true" role="provider" defaultMep="robust-in-only"/>
+ <jbi:endpoint required="true" role="provider" defaultMep="in-out"/>
+ <soap:address location="http://localhost:9000/SoapContext/SoapPort"/>
+ </wsdl:port>
+ </wsdl:service>
+</wsdl:definitions>
+
Propchange: servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-nobinding/helloworld.wsdl
------------------------------------------------------------------------------
svn:eol-style = native
Added: servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-nobinding/lib/classpath.zip
URL: http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-nobinding/lib/classpath.zip?rev=775958&view=auto
==============================================================================
Binary file - no diff available.
Propchange: servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-nobinding/lib/classpath.zip
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-nobinding/xbean.xml
URL: http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-nobinding/xbean.xml?rev=775958&view=auto
==============================================================================
--- servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-nobinding/xbean.xml (added)
+++ servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-nobinding/xbean.xml Mon May 18 14:07:04 2009
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Copyright (C) 2007-2008 IONA Technologies PLC.
+ All Rights Reserved.
+
+ Licensed 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:cxfbc="http://servicemix.apache.org/cxfbc/1.0"
+ xmlns:tns="http://apache.org/hello_world_soap_http_provider">
+
+ <cxfbc:consumer wsdl="classpath:helloworld.wsdl"
+ targetService="tns:SOAPService"
+ targetInterface="tns:Greeter"
+ timeout="20000"/>
+
+
+</beans>
+
Propchange: servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-nobinding/xbean.xml
------------------------------------------------------------------------------
svn:eol-style = native
Added: servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-noservice/helloworld.wsdl
URL: http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-noservice/helloworld.wsdl?rev=775958&view=auto
==============================================================================
--- servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-noservice/helloworld.wsdl (added)
+++ servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-noservice/helloworld.wsdl Mon May 18 14:07:04 2009
@@ -0,0 +1,116 @@
+<?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_soap_http_provider"
+ xmlns="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+ xmlns:tns="http://apache.org/hello_world_soap_http_provider"
+ xmlns:jbi="http://servicemix.org/wsdl/jbi/"
+ xmlns:x1="http://apache.org/hello_world_soap_http_provider/types"
+ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+ <wsdl:types>
+ <schema targetNamespace="http://apache.org/hello_world_soap_http_provider/types"
+ xmlns="http://www.w3.org/2001/XMLSchema"
+ xmlns:tns="http://apache.org/hello_world_soap_http_provider/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>
+ </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: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: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 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:binding>
+</wsdl:definitions>
+
Propchange: servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-noservice/helloworld.wsdl
------------------------------------------------------------------------------
svn:eol-style = native
Added: servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-noservice/lib/classpath.zip
URL: http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-noservice/lib/classpath.zip?rev=775958&view=auto
==============================================================================
Binary file - no diff available.
Propchange: servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-noservice/lib/classpath.zip
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-noservice/xbean.xml
URL: http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-noservice/xbean.xml?rev=775958&view=auto
==============================================================================
--- servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-noservice/xbean.xml (added)
+++ servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-noservice/xbean.xml Mon May 18 14:07:04 2009
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Copyright (C) 2007-2008 IONA Technologies PLC.
+ All Rights Reserved.
+
+ Licensed 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:cxfbc="http://servicemix.apache.org/cxfbc/1.0"
+ xmlns:tns="http://apache.org/hello_world_soap_http_provider">
+
+ <cxfbc:consumer wsdl="classpath:helloworld.wsdl"
+ targetService="tns:SOAPService"
+ targetInterface="tns:Greeter"
+ timeout="20000"/>
+
+
+</beans>
+
Propchange: servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-noservice/xbean.xml
------------------------------------------------------------------------------
svn:eol-style = native
Added: servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-ports/helloworld.wsdl
URL: http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-ports/helloworld.wsdl?rev=775958&view=auto
==============================================================================
--- servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-ports/helloworld.wsdl (added)
+++ servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-ports/helloworld.wsdl Mon May 18 14:07:04 2009
@@ -0,0 +1,141 @@
+<?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_soap_http_provider"
+ xmlns="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+ xmlns:tns="http://apache.org/hello_world_soap_http_provider"
+ xmlns:my="http://servicemix.org/wsdl/my/"
+ xmlns:x1="http://apache.org/hello_world_soap_http_provider/types"
+ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+ <wsdl:types>
+ <schema targetNamespace="http://apache.org/hello_world_soap_http_provider/types"
+ xmlns="http://www.w3.org/2001/XMLSchema"
+ xmlns:tns="http://apache.org/hello_world_soap_http_provider/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>
+ </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: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: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 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:binding>
+
+ <wsdl:binding name="Greeter_SOAPBinding2" type="tns:Greeter">
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+ <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:binding>
+
+ <wsdl:service name="SOAPService">
+ <wsdl:port binding="tns:Greeter_SOAPBinding" name="SoapPort">
+ <my:endpoint required="true" role="provider" defaultOperation="sayHi"/>
+ <my:endpoint required="true" role="consumer" defaultMep="in-only"/>
+ <soap:address location="http://localhost:9000/SoapContext/SoapPort"/>
+ </wsdl:port>
+ <wsdl:port binding="tns:Greeter_SOAPBinding2" name="SoapPort2">
+ <my:endpoint required="true" role="provider" defaultOperation="sayHi"/>
+ <soap:address location="http://localhost:9000/SoapContext/SoapPort"/>
+ </wsdl:port>
+ </wsdl:service>
+</wsdl:definitions>
+
Propchange: servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-ports/helloworld.wsdl
------------------------------------------------------------------------------
svn:eol-style = native
Added: servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-ports/lib/classpath.zip
URL: http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-ports/lib/classpath.zip?rev=775958&view=auto
==============================================================================
Binary file - no diff available.
Propchange: servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-ports/lib/classpath.zip
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-ports/xbean.xml
URL: http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-ports/xbean.xml?rev=775958&view=auto
==============================================================================
--- servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-ports/xbean.xml (added)
+++ servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-ports/xbean.xml Mon May 18 14:07:04 2009
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Copyright (C) 2007-2008 IONA Technologies PLC.
+ All Rights Reserved.
+
+ Licensed 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:cxfbc="http://servicemix.apache.org/cxfbc/1.0"
+ xmlns:tns="http://apache.org/hello_world_soap_http_provider">
+
+ <cxfbc:consumer wsdl="classpath:helloworld.wsdl"
+ targetService="tns:SOAPService"
+ targetInterface="tns:Greeter"
+ timeout="20000"/>
+
+
+</beans>
+
Propchange: servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl-ports/xbean.xml
------------------------------------------------------------------------------
svn:eol-style = native
Added: servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl/helloworld.wsdl
URL: http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl/helloworld.wsdl?rev=775958&view=auto
==============================================================================
--- servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl/helloworld.wsdl (added)
+++ servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl/helloworld.wsdl Mon May 18 14:07:04 2009
@@ -0,0 +1,126 @@
+<?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_soap_http_provider"
+ xmlns="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+ xmlns:tns="http://apache.org/hello_world_soap_http_provider"
+ xmlns:jbi="http://servicemix.org/wsdl/jbi/"
+ xmlns:x1="http://apache.org/hello_world_soap_http_provider/types"
+ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+ <wsdl:types>
+ <schema targetNamespace="http://apache.org/hello_world_soap_http_provider/types"
+ xmlns="http://www.w3.org/2001/XMLSchema"
+ xmlns:tns="http://apache.org/hello_world_soap_http_provider/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>
+ </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: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: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 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:binding>
+
+ <wsdl:service name="SOAPService">
+ <wsdl:port binding="tns:Greeter_SOAPBinding" name="SoapPort">
+ <jbi:endpoint required="true" role="provider" defaultOperation="sayHi"/>
+ <jbi:endpoint required="true" role="consumer" defaultMep="in-only"/>
+ <jbi:endpoint required="true" role="provider" defaultMep="robust-in-only"/>
+ <jbi:endpoint required="true" role="provider" defaultMep="in-out"/>
+ <soap:address location="http://localhost:9000/SoapContext/SoapPort"/>
+ </wsdl:port>
+ </wsdl:service>
+</wsdl:definitions>
+
Propchange: servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl/helloworld.wsdl
------------------------------------------------------------------------------
svn:eol-style = native
Added: servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl/lib/classpath.zip
URL: http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl/lib/classpath.zip?rev=775958&view=auto
==============================================================================
Binary file - no diff available.
Propchange: servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl/lib/classpath.zip
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl/xbean.xml
URL: http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl/xbean.xml?rev=775958&view=auto
==============================================================================
--- servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl/xbean.xml (added)
+++ servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl/xbean.xml Mon May 18 14:07:04 2009
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Copyright (C) 2007-2008 IONA Technologies PLC.
+ All Rights Reserved.
+
+ Licensed 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:cxfbc="http://servicemix.apache.org/cxfbc/1.0"
+ xmlns:tns="http://apache.org/hello_world_soap_http_provider">
+
+ <cxfbc:consumer wsdl="classpath:helloworld.wsdl"
+ targetService="tns:SOAPService"
+ targetInterface="tns:Greeter"
+ timeout="20000"/>
+
+
+</beans>
+
Propchange: servicemix/smx3/branches/servicemix-3.2/common/servicemix-common/src/test/resources/org/apache/servicemix/common/wsdl1/xbean-wsdl/xbean.xml
------------------------------------------------------------------------------
svn:eol-style = native