You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2007/06/13 23:45:33 UTC
svn commit: r547040 [5/6] - in /incubator/cxf/trunk:
api/src/main/java/org/apache/cxf/phase/
api/src/main/java/org/apache/cxf/service/
api/src/main/java/org/apache/cxf/tools/validator/
api/src/main/java/org/apache/cxf/wsdl/ common/common/src/main/java/...
Modified: incubator/cxf/trunk/tools/wsdlto/misc/src/main/java/org/apache/cxf/tools/misc/processor/address/SoapAddress.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/wsdlto/misc/src/main/java/org/apache/cxf/tools/misc/processor/address/SoapAddress.java?view=diff&rev=547040&r1=547039&r2=547040
==============================================================================
--- incubator/cxf/trunk/tools/wsdlto/misc/src/main/java/org/apache/cxf/tools/misc/processor/address/SoapAddress.java (original)
+++ incubator/cxf/trunk/tools/wsdlto/misc/src/main/java/org/apache/cxf/tools/misc/processor/address/SoapAddress.java Wed Jun 13 14:45:28 2007
@@ -1,41 +1,41 @@
-/**
- * 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.tools.misc.processor.address;
-
-import java.util.HashMap;
-import java.util.Map;
-
-import org.apache.cxf.tools.common.ToolConstants;
-import org.apache.cxf.tools.common.ToolContext;
-
-public class SoapAddress extends XmlAddress {
-
- public Map<String, Object> buildAddressArguments(final ToolContext context) {
- Map<String, Object> args = new HashMap<String, Object>();
-
- args.putAll(super.buildAddressArguments(context));
-
- if (context.optionSet(ToolConstants.CFG_SOAP12)) {
- args.put(ToolConstants.CFG_SOAP12,
- context.get(ToolConstants.CFG_SOAP12));
- }
- return args;
- }
-}
+/**
+ * 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.tools.misc.processor.address;
+
+import java.util.HashMap;
+import java.util.Map;
+
+import org.apache.cxf.tools.common.ToolConstants;
+import org.apache.cxf.tools.common.ToolContext;
+
+public class SoapAddress extends XmlAddress {
+
+ public Map<String, Object> buildAddressArguments(final ToolContext context) {
+ Map<String, Object> args = new HashMap<String, Object>();
+
+ args.putAll(super.buildAddressArguments(context));
+
+ if (context.optionSet(ToolConstants.CFG_SOAP12)) {
+ args.put(ToolConstants.CFG_SOAP12,
+ context.get(ToolConstants.CFG_SOAP12));
+ }
+ return args;
+ }
+}
Propchange: incubator/cxf/trunk/tools/wsdlto/misc/src/main/java/org/apache/cxf/tools/misc/processor/address/SoapAddress.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/cxf/trunk/tools/wsdlto/misc/src/main/java/org/apache/cxf/tools/misc/processor/address/SoapAddress.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Modified: incubator/cxf/trunk/tools/wsdlto/misc/src/main/java/org/apache/cxf/tools/misc/processor/address/XmlAddress.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/wsdlto/misc/src/main/java/org/apache/cxf/tools/misc/processor/address/XmlAddress.java?view=diff&rev=547040&r1=547039&r2=547040
==============================================================================
--- incubator/cxf/trunk/tools/wsdlto/misc/src/main/java/org/apache/cxf/tools/misc/processor/address/XmlAddress.java (original)
+++ incubator/cxf/trunk/tools/wsdlto/misc/src/main/java/org/apache/cxf/tools/misc/processor/address/XmlAddress.java Wed Jun 13 14:45:28 2007
@@ -1,46 +1,46 @@
-/**
- * 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.tools.misc.processor.address;
-
-import java.util.HashMap;
-import java.util.Map;
-
-import org.apache.cxf.tools.common.ToolConstants;
-import org.apache.cxf.tools.common.ToolContext;
-
-public class XmlAddress implements Address {
-
- public Map<String, Object> buildAddressArguments(final ToolContext context) {
- Map<String, Object> args = new HashMap<String, Object>();
-
- if (context.optionSet(ToolConstants.CFG_ADDRESS)) {
- args.put(ToolConstants.CFG_ADDRESS,
- context.get(ToolConstants.CFG_ADDRESS));
- } else {
- args.put(ToolConstants.CFG_ADDRESS,
- HTTP_PREFIX + "/"
- + context.get(ToolConstants.CFG_SERVICE)
- + "/"
- + context.get(ToolConstants.CFG_PORT));
- }
-
- return args;
- }
-}
+/**
+ * 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.tools.misc.processor.address;
+
+import java.util.HashMap;
+import java.util.Map;
+
+import org.apache.cxf.tools.common.ToolConstants;
+import org.apache.cxf.tools.common.ToolContext;
+
+public class XmlAddress implements Address {
+
+ public Map<String, Object> buildAddressArguments(final ToolContext context) {
+ Map<String, Object> args = new HashMap<String, Object>();
+
+ if (context.optionSet(ToolConstants.CFG_ADDRESS)) {
+ args.put(ToolConstants.CFG_ADDRESS,
+ context.get(ToolConstants.CFG_ADDRESS));
+ } else {
+ args.put(ToolConstants.CFG_ADDRESS,
+ HTTP_PREFIX + "/"
+ + context.get(ToolConstants.CFG_SERVICE)
+ + "/"
+ + context.get(ToolConstants.CFG_PORT));
+ }
+
+ return args;
+ }
+}
Propchange: incubator/cxf/trunk/tools/wsdlto/misc/src/main/java/org/apache/cxf/tools/misc/processor/address/XmlAddress.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/cxf/trunk/tools/wsdlto/misc/src/main/java/org/apache/cxf/tools/misc/processor/address/XmlAddress.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Modified: incubator/cxf/trunk/tools/wsdlto/test/src/test/java/org/apache/cxf/tools/wsdlto/jaxws/wsdl11/JAXWSDefinitionBuilderTest.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/wsdlto/test/src/test/java/org/apache/cxf/tools/wsdlto/jaxws/wsdl11/JAXWSDefinitionBuilderTest.java?view=diff&rev=547040&r1=547039&r2=547040
==============================================================================
--- incubator/cxf/trunk/tools/wsdlto/test/src/test/java/org/apache/cxf/tools/wsdlto/jaxws/wsdl11/JAXWSDefinitionBuilderTest.java (original)
+++ incubator/cxf/trunk/tools/wsdlto/test/src/test/java/org/apache/cxf/tools/wsdlto/jaxws/wsdl11/JAXWSDefinitionBuilderTest.java Wed Jun 13 14:45:28 2007
@@ -1,112 +1,112 @@
-/**
- * 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.tools.wsdlto.jaxws.wsdl11;
-
-import java.util.Map;
-import javax.wsdl.Binding;
-import javax.wsdl.BindingInput;
-import javax.wsdl.BindingOperation;
-import javax.wsdl.Definition;
-import javax.wsdl.Port;
-import javax.wsdl.Service;
-import javax.wsdl.extensions.http.HTTPAddress;
-import javax.xml.namespace.QName;
-
-import org.apache.cxf.bindings.xformat.XMLBindingMessageFormat;
-import org.apache.cxf.tools.common.ToolContext;
-import org.apache.cxf.tools.wsdlto.frontend.jaxws.wsdl11.JAXWSDefinitionBuilder;
-import org.apache.cxf.transport.jms.AddressType;
-import org.junit.Assert;
-import org.junit.Before;
-import org.junit.Test;
-
-public class JAXWSDefinitionBuilderTest extends Assert {
- private ToolContext env;
-
- @Before
- public void setUp() {
- env = new ToolContext();
- }
-
-
- @Test
- public void testBuildDefinitionWithXMLBinding() {
- String qname = "http://apache.org/hello_world_xml_http/bare";
- String wsdlUrl = getClass().getResource("resources/hello_world_xml_bare.wsdl").toString();
-
- JAXWSDefinitionBuilder builder = new JAXWSDefinitionBuilder();
- builder.setContext(env);
- Definition def = builder.build(wsdlUrl);
- assertNotNull(def);
-
- Map services = def.getServices();
- assertNotNull(services);
- assertEquals(1, services.size());
- Service service = (Service)services.get(new QName(qname, "XMLService"));
- assertNotNull(service);
-
- Map ports = service.getPorts();
- assertNotNull(ports);
- assertEquals(1, ports.size());
- Port port = service.getPort("XMLPort");
- assertNotNull(port);
-
- assertEquals(1, port.getExtensibilityElements().size());
- assertTrue(port.getExtensibilityElements().get(0) instanceof HTTPAddress);
-
- Binding binding = port.getBinding();
- assertNotNull(binding);
- assertEquals(new QName(qname, "Greeter_XMLBinding"), binding.getQName());
-
- BindingOperation operation = binding.getBindingOperation("sayHi", null, null);
- assertNotNull(operation);
-
- BindingInput input = operation.getBindingInput();
- assertNotNull(input);
- assertEquals(1, input.getExtensibilityElements().size());
- assertTrue(input.getExtensibilityElements().get(0) instanceof XMLBindingMessageFormat);
- }
-
- @Test
- public void testBuildDefinitionWithJMSTransport() {
- String qname = "http://cxf.apache.org/hello_world_jms";
- String wsdlUrl = getClass().getResource("resources/jms_test.wsdl").toString();
-
- JAXWSDefinitionBuilder builder = new JAXWSDefinitionBuilder();
- builder.setContext(env);
- Definition def = builder.build(wsdlUrl);
- assertNotNull(def);
-
- Map services = def.getServices();
- assertNotNull(services);
- assertEquals(8, services.size());
- Service service = (Service)services.get(new QName(qname, "HelloWorldQueueBinMsgService"));
- assertNotNull(service);
-
- Map ports = service.getPorts();
- assertNotNull(ports);
- assertEquals(1, ports.size());
- Port port = service.getPort("HelloWorldQueueBinMsgPort");
- assertNotNull(port);
-
- assertEquals(3, port.getExtensibilityElements().size());
- assertTrue(port.getExtensibilityElements().get(0) instanceof AddressType);
- }
-}
+/**
+ * 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.tools.wsdlto.jaxws.wsdl11;
+
+import java.util.Map;
+import javax.wsdl.Binding;
+import javax.wsdl.BindingInput;
+import javax.wsdl.BindingOperation;
+import javax.wsdl.Definition;
+import javax.wsdl.Port;
+import javax.wsdl.Service;
+import javax.wsdl.extensions.http.HTTPAddress;
+import javax.xml.namespace.QName;
+
+import org.apache.cxf.bindings.xformat.XMLBindingMessageFormat;
+import org.apache.cxf.tools.common.ToolContext;
+import org.apache.cxf.tools.wsdlto.frontend.jaxws.wsdl11.JAXWSDefinitionBuilder;
+import org.apache.cxf.transport.jms.AddressType;
+import org.junit.Assert;
+import org.junit.Before;
+import org.junit.Test;
+
+public class JAXWSDefinitionBuilderTest extends Assert {
+ private ToolContext env;
+
+ @Before
+ public void setUp() {
+ env = new ToolContext();
+ }
+
+
+ @Test
+ public void testBuildDefinitionWithXMLBinding() {
+ String qname = "http://apache.org/hello_world_xml_http/bare";
+ String wsdlUrl = getClass().getResource("resources/hello_world_xml_bare.wsdl").toString();
+
+ JAXWSDefinitionBuilder builder = new JAXWSDefinitionBuilder();
+ builder.setContext(env);
+ Definition def = builder.build(wsdlUrl);
+ assertNotNull(def);
+
+ Map services = def.getServices();
+ assertNotNull(services);
+ assertEquals(1, services.size());
+ Service service = (Service)services.get(new QName(qname, "XMLService"));
+ assertNotNull(service);
+
+ Map ports = service.getPorts();
+ assertNotNull(ports);
+ assertEquals(1, ports.size());
+ Port port = service.getPort("XMLPort");
+ assertNotNull(port);
+
+ assertEquals(1, port.getExtensibilityElements().size());
+ assertTrue(port.getExtensibilityElements().get(0) instanceof HTTPAddress);
+
+ Binding binding = port.getBinding();
+ assertNotNull(binding);
+ assertEquals(new QName(qname, "Greeter_XMLBinding"), binding.getQName());
+
+ BindingOperation operation = binding.getBindingOperation("sayHi", null, null);
+ assertNotNull(operation);
+
+ BindingInput input = operation.getBindingInput();
+ assertNotNull(input);
+ assertEquals(1, input.getExtensibilityElements().size());
+ assertTrue(input.getExtensibilityElements().get(0) instanceof XMLBindingMessageFormat);
+ }
+
+ @Test
+ public void testBuildDefinitionWithJMSTransport() {
+ String qname = "http://cxf.apache.org/hello_world_jms";
+ String wsdlUrl = getClass().getResource("resources/jms_test.wsdl").toString();
+
+ JAXWSDefinitionBuilder builder = new JAXWSDefinitionBuilder();
+ builder.setContext(env);
+ Definition def = builder.build(wsdlUrl);
+ assertNotNull(def);
+
+ Map services = def.getServices();
+ assertNotNull(services);
+ assertEquals(8, services.size());
+ Service service = (Service)services.get(new QName(qname, "HelloWorldQueueBinMsgService"));
+ assertNotNull(service);
+
+ Map ports = service.getPorts();
+ assertNotNull(ports);
+ assertEquals(1, ports.size());
+ Port port = service.getPort("HelloWorldQueueBinMsgPort");
+ assertNotNull(port);
+
+ assertEquals(3, port.getExtensibilityElements().size());
+ assertTrue(port.getExtensibilityElements().get(0) instanceof AddressType);
+ }
+}
Propchange: incubator/cxf/trunk/tools/wsdlto/test/src/test/java/org/apache/cxf/tools/wsdlto/jaxws/wsdl11/JAXWSDefinitionBuilderTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/cxf/trunk/tools/wsdlto/test/src/test/java/org/apache/cxf/tools/wsdlto/jaxws/wsdl11/JAXWSDefinitionBuilderTest.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Modified: incubator/cxf/trunk/tools/wsdlto/test/src/test/java/org/apache/cxf/tools/wsdlto/jaxws/wsdl11/resources/hello_world_xml_bare.wsdl
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/wsdlto/test/src/test/java/org/apache/cxf/tools/wsdlto/jaxws/wsdl11/resources/hello_world_xml_bare.wsdl?view=diff&rev=547040&r1=547039&r2=547040
==============================================================================
--- incubator/cxf/trunk/tools/wsdlto/test/src/test/java/org/apache/cxf/tools/wsdlto/jaxws/wsdl11/resources/hello_world_xml_bare.wsdl (original)
+++ incubator/cxf/trunk/tools/wsdlto/test/src/test/java/org/apache/cxf/tools/wsdlto/jaxws/wsdl11/resources/hello_world_xml_bare.wsdl Wed Jun 13 14:45:28 2007
@@ -1,147 +1,147 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements. See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership. The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License. You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied. See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-<wsdl:definitions name="HelloWorld" targetNamespace="http://apache.org/hello_world_xml_http/bare"
- xmlns="http://schemas.xmlsoap.org/wsdl/"
- xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
- xmlns:xformat="http://cxf.apache.org/bindings/xformat"
- xmlns:tns="http://apache.org/hello_world_xml_http/bare"
- xmlns:x1="http://apache.org/hello_world_xml_http/bare/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_xml_http/bare/types"
- xmlns="http://www.w3.org/2001/XMLSchema"
- elementFormDefault="qualified">
-
- <element name="responseType" type="xsd:string"/>
- <element name="requestType" type="xsd:string"/>
- <element name="myComplexStruct" type="x1:myComplexStructType"/>
-
- <complexType name="myComplexStructType">
- <sequence>
- <element name="elem1" type="xsd:string"/>
- <element name="elem2" type="xsd:string"/>
- <element name="elem3" type="xsd:int"/>
- </sequence>
- </complexType>
- </schema>
- </wsdl:types>
-
- <wsdl:message name="sayHiRequest"/>
-
- <wsdl:message name="sayHiResponse">
- <wsdl:part type="xsd:string" name="out"/>
- </wsdl:message>
-
- <wsdl:message name="greetMeRequest">
- <wsdl:part element="x1:requestType" name="me"/>
- </wsdl:message>
-
- <wsdl:message name="greetMeResponse">
- <wsdl:part element="x1:responseType" name="theResponse"/>
- </wsdl:message>
-
- <wsdl:message name="sendReceiveDataRequest">
- <wsdl:part type="x1:myComplexStructType" name="in"/>
- </wsdl:message>
-
- <wsdl:message name="sendReceiveDataResponse">
- <wsdl:part type="x1:myComplexStructType" name="out"/>
- </wsdl:message>
-
- <wsdl:message name="multiParamPartRequest">
- <wsdl:part element="x1:requestType" name="in1"/>
- <wsdl:part element="x1:myComplexStruct" name="in2"/>
- </wsdl:message>
-
- <wsdl:message name="multiParamPartResponse">
- <wsdl:part element="x1:responseType" name="out1"/>
- </wsdl:message>
-
- <wsdl:message name="triPartRequest">
- <wsdl:part element="x1:requestType" name="in3"/>
- <wsdl:part element="x1:myComplexStruct" name="in1"/>
- <wsdl:part element="x1:requestType" name="in2"/>
- </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="sendReceiveData">
- <wsdl:input message="tns:sendReceiveDataRequest" name="SendReceiveDataRequest"/>
- <wsdl:output message="tns:sendReceiveDataResponse" name="SendReceiveDataResponse"/>
- </wsdl:operation>
- <wsdl:operation name="testMultiParamPart" parameterOrder="in2 in1">
- <wsdl:input message="tns:multiParamPartRequest" name="multiParamPartRequest"/>
- <wsdl:output message="tns:multiParamPartResponse" name="multiParamPartResponse"/>
- </wsdl:operation>
- <wsdl:operation name="testTriPart" parameterOrder="in1 in3 in2">
- <wsdl:input message="tns:triPartRequest" name="triPartRequest"/>
- <wsdl:output message="tns:multiParamPartResponse" name="multiParamPartResponse"/>
- </wsdl:operation>
- <wsdl:operation name="testTriPartNoOrder">
- <wsdl:input message="tns:triPartRequest" name="triPartRequest"/>
- <wsdl:output message="tns:multiParamPartResponse" name="multiParamPartResponse"/>
- </wsdl:operation>
- </wsdl:portType>
-
- <wsdl:binding name="Greeter_XMLBinding" type="tns:Greeter">
-
- <xformat:binding/>
-
- <wsdl:operation name="sayHi">
- <wsdl:input>
- <xformat:body rootNode="tns:sayHi"/>
- </wsdl:input>
- <wsdl:output/>
- </wsdl:operation>
-
- <wsdl:operation name="greetMe">
- <wsdl:input/>
- <wsdl:output/>
- </wsdl:operation>
-
- <wsdl:operation name="sendReceiveData">
- <wsdl:input/>
- <wsdl:output/>
- </wsdl:operation>
-
- <wsdl:operation name="testMultiParamPart">
- <wsdl:input>
- <xformat:body rootNode="tns:multiParamRootReq"/>
- </wsdl:input>
- <wsdl:output/>
- </wsdl:operation>
-
- </wsdl:binding>
-
- <wsdl:service name="XMLService">
- <wsdl:port binding="tns:Greeter_XMLBinding" name="XMLPort">
- <http:address location="http://localhost:9031/XMLService/XMLPort"/>
- </wsdl:port>
- </wsdl:service>
-</wsdl:definitions>
+<?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_xml_http/bare"
+ xmlns="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
+ xmlns:xformat="http://cxf.apache.org/bindings/xformat"
+ xmlns:tns="http://apache.org/hello_world_xml_http/bare"
+ xmlns:x1="http://apache.org/hello_world_xml_http/bare/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_xml_http/bare/types"
+ xmlns="http://www.w3.org/2001/XMLSchema"
+ elementFormDefault="qualified">
+
+ <element name="responseType" type="xsd:string"/>
+ <element name="requestType" type="xsd:string"/>
+ <element name="myComplexStruct" type="x1:myComplexStructType"/>
+
+ <complexType name="myComplexStructType">
+ <sequence>
+ <element name="elem1" type="xsd:string"/>
+ <element name="elem2" type="xsd:string"/>
+ <element name="elem3" type="xsd:int"/>
+ </sequence>
+ </complexType>
+ </schema>
+ </wsdl:types>
+
+ <wsdl:message name="sayHiRequest"/>
+
+ <wsdl:message name="sayHiResponse">
+ <wsdl:part type="xsd:string" name="out"/>
+ </wsdl:message>
+
+ <wsdl:message name="greetMeRequest">
+ <wsdl:part element="x1:requestType" name="me"/>
+ </wsdl:message>
+
+ <wsdl:message name="greetMeResponse">
+ <wsdl:part element="x1:responseType" name="theResponse"/>
+ </wsdl:message>
+
+ <wsdl:message name="sendReceiveDataRequest">
+ <wsdl:part type="x1:myComplexStructType" name="in"/>
+ </wsdl:message>
+
+ <wsdl:message name="sendReceiveDataResponse">
+ <wsdl:part type="x1:myComplexStructType" name="out"/>
+ </wsdl:message>
+
+ <wsdl:message name="multiParamPartRequest">
+ <wsdl:part element="x1:requestType" name="in1"/>
+ <wsdl:part element="x1:myComplexStruct" name="in2"/>
+ </wsdl:message>
+
+ <wsdl:message name="multiParamPartResponse">
+ <wsdl:part element="x1:responseType" name="out1"/>
+ </wsdl:message>
+
+ <wsdl:message name="triPartRequest">
+ <wsdl:part element="x1:requestType" name="in3"/>
+ <wsdl:part element="x1:myComplexStruct" name="in1"/>
+ <wsdl:part element="x1:requestType" name="in2"/>
+ </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="sendReceiveData">
+ <wsdl:input message="tns:sendReceiveDataRequest" name="SendReceiveDataRequest"/>
+ <wsdl:output message="tns:sendReceiveDataResponse" name="SendReceiveDataResponse"/>
+ </wsdl:operation>
+ <wsdl:operation name="testMultiParamPart" parameterOrder="in2 in1">
+ <wsdl:input message="tns:multiParamPartRequest" name="multiParamPartRequest"/>
+ <wsdl:output message="tns:multiParamPartResponse" name="multiParamPartResponse"/>
+ </wsdl:operation>
+ <wsdl:operation name="testTriPart" parameterOrder="in1 in3 in2">
+ <wsdl:input message="tns:triPartRequest" name="triPartRequest"/>
+ <wsdl:output message="tns:multiParamPartResponse" name="multiParamPartResponse"/>
+ </wsdl:operation>
+ <wsdl:operation name="testTriPartNoOrder">
+ <wsdl:input message="tns:triPartRequest" name="triPartRequest"/>
+ <wsdl:output message="tns:multiParamPartResponse" name="multiParamPartResponse"/>
+ </wsdl:operation>
+ </wsdl:portType>
+
+ <wsdl:binding name="Greeter_XMLBinding" type="tns:Greeter">
+
+ <xformat:binding/>
+
+ <wsdl:operation name="sayHi">
+ <wsdl:input>
+ <xformat:body rootNode="tns:sayHi"/>
+ </wsdl:input>
+ <wsdl:output/>
+ </wsdl:operation>
+
+ <wsdl:operation name="greetMe">
+ <wsdl:input/>
+ <wsdl:output/>
+ </wsdl:operation>
+
+ <wsdl:operation name="sendReceiveData">
+ <wsdl:input/>
+ <wsdl:output/>
+ </wsdl:operation>
+
+ <wsdl:operation name="testMultiParamPart">
+ <wsdl:input>
+ <xformat:body rootNode="tns:multiParamRootReq"/>
+ </wsdl:input>
+ <wsdl:output/>
+ </wsdl:operation>
+
+ </wsdl:binding>
+
+ <wsdl:service name="XMLService">
+ <wsdl:port binding="tns:Greeter_XMLBinding" name="XMLPort">
+ <http:address location="http://localhost:9031/XMLService/XMLPort"/>
+ </wsdl:port>
+ </wsdl:service>
+</wsdl:definitions>
Propchange: incubator/cxf/trunk/tools/wsdlto/test/src/test/java/org/apache/cxf/tools/wsdlto/jaxws/wsdl11/resources/hello_world_xml_bare.wsdl
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/cxf/trunk/tools/wsdlto/test/src/test/java/org/apache/cxf/tools/wsdlto/jaxws/wsdl11/resources/hello_world_xml_bare.wsdl
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange: incubator/cxf/trunk/tools/wsdlto/test/src/test/java/org/apache/cxf/tools/wsdlto/jaxws/wsdl11/resources/hello_world_xml_bare.wsdl
------------------------------------------------------------------------------
svn:mime-type = text/xml
Modified: incubator/cxf/trunk/tools/wsdlto/test/src/test/java/org/apache/cxf/tools/wsdlto/jaxws/wsdl11/resources/jms_test.wsdl
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/wsdlto/test/src/test/java/org/apache/cxf/tools/wsdlto/jaxws/wsdl11/resources/jms_test.wsdl?view=diff&rev=547040&r1=547039&r2=547040
==============================================================================
--- incubator/cxf/trunk/tools/wsdlto/test/src/test/java/org/apache/cxf/tools/wsdlto/jaxws/wsdl11/resources/jms_test.wsdl (original)
+++ incubator/cxf/trunk/tools/wsdlto/test/src/test/java/org/apache/cxf/tools/wsdlto/jaxws/wsdl11/resources/jms_test.wsdl Wed Jun 13 14:45:28 2007
@@ -1,434 +1,434 @@
-<?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.
--->
-<definitions name="HelloWorldService"
- targetNamespace="http://cxf.apache.org/hello_world_jms"
- xmlns="http://schemas.xmlsoap.org/wsdl/"
- xmlns:jms="http://cxf.apache.org/transports/jms"
- xmlns:x1="http://cxf.apache.org/hello_world_jms/types"
- xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
- xmlns:tns="http://cxf.apache.org/hello_world_jms"
- xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <types>
- <schema targetNamespace="http://cxf.apache.org/hello_world_jms/types" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:x1="http://cxf.apache.org/hello_world_jms/types" elementFormDefault="qualified">
- <complexType name="ErrorCode">
- <sequence>
- <element name="minor" type="short"/>
- <element name="major" type="short"/>
- </sequence>
- </complexType>
- <complexType name="testRpcLitFault">
- <sequence>
- <element name="faultType" type="string"/>
- </sequence>
- </complexType>
- <complexType name="testRpcLitFaultResponse">
- <sequence/>
- </complexType>
-
- <complexType name="NoSuchCodeLit">
- <sequence>
- <element name="code" type="x1:ErrorCode"/>
- </sequence>
- </complexType>
- <complexType name="BadRecord">
- <sequence>
- <element name="reason" type="string"/>
- <element name="code" type="short"/>
- </sequence>
- </complexType>
- </schema>
- </types>
-
- <message name="greetMe">
- <part name="stringParam0" type="xsd:string"/>
- </message>
- <message name="greetMeResponse">
- <part name="return" type="xsd:string"/>
- </message>
- <message name="sayHi"/>
- <message name="sayHiResponse">
- <part name="return" type="xsd:string"/>
- </message>
- <message name="greetMeOneWay">
- <part name="stringParam0" type="xsd:string"/>
- </message>
-
- <message name="testRpcLitFaultRequest">
- <part name="in" type="xsd:string"/>
- </message>
- <message name="testRpcLitFaultResponse">
- <part name="out" type="x1:testRpcLitFaultResponse"/>
- </message>
- <message name="NoSuchCodeLitFault">
- <part name="NoSuchCodeLit" type="x1:NoSuchCodeLit"/>
- </message>
- <message name="BadRecordLitFault">
- <part name="BadRecordLit" type="xsd:string"/>
- </message>
-
- <portType name="HelloWorldPortType">
- <operation name="greetMe">
- <input message="tns:greetMe" name="greetMe"/>
- <output message="tns:greetMeResponse" name="greetMeResponse"/>
- </operation>
- <operation name="sayHi">
- <input message="tns:sayHi" name="sayHi"/>
- <output message="tns:sayHiResponse" name="sayHiResponse"/>
- </operation>
- <operation name="greetMeOneWay">
- <input message="tns:greetMeOneWay" name="greetMeOneWay"/>
- </operation>
- <operation name="testRpcLitFault">
- <input name="testRpcLitFaultRequest" message="tns:testRpcLitFaultRequest"/>
- <output name="testRpcLitFaultResponse" message="tns:testRpcLitFaultResponse"/>
- <fault name="NoSuchCodeLitFault" message="tns:NoSuchCodeLitFault"/>
- <fault name="BadRecordLitFault" message="tns:BadRecordLitFault"/>
- </operation>
- </portType>
-
- <portType name="HelloWorldOneWayPort">
- <operation name="greetMeOneWay">
- <input message="tns:greetMeOneWay" name="greetMeOneWay"/>
- </operation>
- </portType>
-
- <portType name="HelloWorldPubSubPort">
- <operation name="greetMeOneWay">
- <input message="tns:greetMeOneWay" name="greetMeOneWay"/>
- </operation>
- </portType>
-
- <binding name="HelloWorldPortBinding" type="tns:HelloWorldPortType">
- <soap:binding style="rpc" transport="http://cxf.apache.org/transports/jms"/>
- <operation name="greetMe">
- <soap:operation soapAction="" style="rpc"/>
- <input name="greetMe">
- <soap:body
- namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
- </input>
- <output name="greetMeResponse">
- <soap:body
- namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
- </output>
- </operation>
- <operation name="sayHi">
- <soap:operation soapAction="" style="rpc"/>
- <input name="sayHi">
- <soap:body
- namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
- </input>
- <output name="sayHiResponse">
- <soap:body
- namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
- </output>
- </operation>
- <operation name="greetMeOneWay">
- <soap:operation style="rpc"/>
- <input name="greetMeOneWay">
- <soap:body
- namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
- </input>
- </operation>
-
- <operation name="testRpcLitFault">
- <soap:operation style="rpc"/>
- <input>
- <soap:body namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
- </input>
- <output>
- <soap:body namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
- </output>
- <fault name="NoSuchCodeLitFault">
- <soap:fault name="NoSuchCodeLitFault" namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
- </fault>
- <fault name="BadRecordLitFault">
- <soap:fault name="BadRecordLitFault" namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
- </fault>
- </operation>
- </binding>
-
- <binding name="HelloWorldQueueBinMsgBinding" type="tns:HelloWorldPortType">
- <soap:binding style="rpc" transport="http://cxf.apache.org/transports/jms"/>
- <operation name="greetMe">
- <soap:operation soapAction="" style="rpc"/>
- <input name="greetMe">
- <soap:body
- namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
- </input>
- <output name="greetMeResponse">
- <soap:body
- namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
- </output>
- </operation>
- <operation name="sayHi">
- <soap:operation soapAction="" style="rpc"/>
- <input name="sayHi">
- <soap:body
- namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
- </input>
- <output name="sayHiResponse">
- <soap:body
- namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
- </output>
- </operation>
- <operation name="greetMeOneWay">
- <soap:operation style="rpc"/>
- <input name="greetMeOneWay">
- <soap:body
- namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
- </input>
- </operation>
- </binding>
-
- <binding name="HWStaticReplyQTextPortBinding" type="tns:HelloWorldPortType">
- <soap:binding style="rpc" transport="http://cxf.apache.org/transports/jms"/>
- <operation name="greetMe">
- <soap:operation soapAction="" style="rpc"/>
- <input name="greetMe">
- <soap:body
- namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
- </input>
- <output name="greetMeResponse">
- <soap:body
- namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
- </output>
- </operation>
- <operation name="sayHi">
- <soap:operation soapAction="" style="rpc"/>
- <input name="sayHi">
- <soap:body
- namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
- </input>
- <output name="sayHiResponse">
- <soap:body
- namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
- </output>
- </operation>
- <operation name="greetMeOneWay">
- <soap:operation style="rpc"/>
- <input name="greetMeOneWay">
- <soap:body
- namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
- </input>
- </operation>
- </binding>
-
- <binding name="HWStaticReplyQBinMsgBinding" type="tns:HelloWorldPortType">
- <soap:binding style="rpc" transport="http://cxf.apache.org/transports/jms"/>
- <operation name="greetMe">
- <soap:operation soapAction="" style="rpc"/>
- <input name="greetMe">
- <soap:body
- namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
- </input>
- <output name="greetMeResponse">
- <soap:body
- namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
- </output>
- </operation>
- <operation name="sayHi">
- <soap:operation soapAction="" style="rpc"/>
- <input name="sayHi">
- <soap:body
- namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
- </input>
- <output name="sayHiResponse">
- <soap:body
- namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
- </output>
- </operation>
- <operation name="greetMeOneWay">
- <soap:operation style="rpc"/>
- <input name="greetMeOneWay">
- <soap:body
- namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
- </input>
- </operation>
- </binding>
-
- <binding name="HWJMSAddressingBinding" type="tns:HelloWorldPortType">
- <soap:binding style="rpc" transport="http://cxf.apache.org/transports/jms"/>
- <operation name="greetMe">
- <soap:operation soapAction="" style="rpc"/>
- <input name="greetMe">
- <soap:body
- namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
- </input>
- <output name="greetMeResponse">
- <soap:body
- namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
- </output>
- </operation>
- <operation name="sayHi">
- <soap:operation soapAction="" style="rpc"/>
- <input name="sayHi">
- <soap:body
- namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
- </input>
- <output name="sayHiResponse">
- <soap:body
- namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
- </output>
- </operation>
- <operation name="greetMeOneWay">
- <soap:operation style="rpc"/>
- <input name="greetMeOneWay">
- <soap:body
- namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
- </input>
- </operation>
- </binding>
-
-
- <binding name="HelloWorldOneWayBinding" type="tns:HelloWorldOneWayPort">
- <soap:binding style="rpc" transport="http://cxf.apache.org/transports/jms"/>
- <operation name="greetMeOneWay">
- <soap:operation style="rpc"/>
- <input name="greetMeOneWay">
- <soap:body
- namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
- </input>
- </operation>
- </binding>
-
- <binding name="HelloWorldPubSubBinding" type="tns:HelloWorldPubSubPort">
- <soap:binding style="rpc" transport="http://cxf.apache.org/transports/jms"/>
- <operation name="greetMeOneWay">
- <soap:operation style="rpc"/>
- <input name="greetMeOneWay">
- <soap:body
- namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
- </input>
- </operation>
- </binding>
-
- <service name="HelloWorldQueueBinMsgService">
- <port binding="tns:HelloWorldQueueBinMsgBinding" name="HelloWorldQueueBinMsgPort">
- <jms:address
- jndiConnectionFactoryName="ConnectionFactory"
- jndiDestinationName="dynamicQueues/test.jmstransport.binary">
- <jms:JMSNamingProperty name="java.naming.factory.initial" value="org.activemq.jndi.ActiveMQInitialContextFactory"/>
- <jms:JMSNamingProperty name="java.naming.provider.url" value="tcp://localhost:61500"/>
- </jms:address>
-
- <jms:client messageType="binary"/>
- <jms:server durableSubscriberName="CXF_subscriber"/>
- </port>
- </service>
-
- <service name="HelloWorldService">
- <port binding="tns:HelloWorldPortBinding" name="HelloWorldPort">
- <jms:address
- jndiConnectionFactoryName="ConnectionFactory"
- jndiDestinationName="dynamicQueues/test.jmstransport.text">
- <jms:JMSNamingProperty name="java.naming.factory.initial" value="org.apache.activemq.jndi.ActiveMQInitialContextFactory"/>
- <jms:JMSNamingProperty name="java.naming.provider.url" value="tcp://localhost:61500"/>
- </jms:address>
-
- <jms:server durableSubscriberName="CXF_subscriber"/>
- </port>
- </service>
-
- <service name="HelloWorldServiceLoop">
- <port binding="tns:HWStaticReplyQBinMsgBinding" name="HelloWorldPortLoop">
- <jms:address
- jndiConnectionFactoryName="ConnectionFactory"
- jndiDestinationName="dynamicQueues/test.jmstransport.binary"
- jndiReplyDestinationName="dynamicQueues/test.jmstransport.binary">
- <jms:JMSNamingProperty name="java.naming.factory.initial" value="org.apache.activemq.jndi.ActiveMQInitialContextFactory"/>
- <jms:JMSNamingProperty name="java.naming.provider.url" value="tcp://localhost:61500"/>
- </jms:address>
-
- <jms:client messageType="binary"/>
- <jms:server durableSubscriberName="CXF_subscriber"/>
- </port>
- </service>
-
- <service name="HWStaticReplyQBinMsgService">
- <port binding="tns:HWStaticReplyQBinMsgBinding" name="HWStaticReplyQBinMsgPort">
- <jms:address
- jndiConnectionFactoryName="ConnectionFactory"
- jndiDestinationName="dynamicQueues/test.jmstransport.binary"
- jndiReplyDestinationName="dynamicQueues/test.jmstransport.binary.reply">
- <jms:JMSNamingProperty name="java.naming.factory.initial" value="org.apache.activemq.jndi.ActiveMQInitialContextFactory"/>
- <jms:JMSNamingProperty name="java.naming.provider.url" value="tcp://localhost:61500"/>
- </jms:address>
-
- <jms:client messageType="binary"/>
- <jms:server durableSubscriberName="CXF_subscriber"/>
- </port>
- </service>
-
- <service name="HWStaticReplyQTextMsgService">
- <port binding="tns:HWStaticReplyQTextPortBinding" name="HWStaticReplyQTextPort">
-
- <jms:address
- jndiConnectionFactoryName="ConnectionFactory"
- jndiDestinationName="dynamicQueues/test.jmstransport.text"
- jndiReplyDestinationName="dynamicQueues/test.jmstransport.text.reply">
- <jms:JMSNamingProperty name="java.naming.factory.initial" value="org.apache.activemq.jndi.ActiveMQInitialContextFactory"/>
- <jms:JMSNamingProperty name="java.naming.provider.url" value="tcp://localhost:61500"/>
- </jms:address>
-
- <jms:server durableSubscriberName="CXF_subscriber"/>
- </port>
- </service>
-
- <service name="HelloWorldOneWayQueueService">
- <port binding="tns:HelloWorldOneWayBinding" name="HelloWorldOneWayQueuePort">
- <jms:address
- jndiConnectionFactoryName="ConnectionFactory"
- jndiDestinationName="dynamicQueues/test.jmstransport.oneway">
- <jms:JMSNamingProperty name="java.naming.factory.initial" value="org.apache.activemq.jndi.ActiveMQInitialContextFactory"/>
- <jms:JMSNamingProperty name="java.naming.provider.url" value="tcp://localhost:61500"/>
- </jms:address>
-
- <jms:server durableSubscriberName="CXF_subscriber"/>
- </port>
- </service>
-
- <service name="HelloWorldPubSubService">
- <port binding="tns:HelloWorldPubSubBinding" name="HelloWorldPubSubPort">
- <jms:address
- destinationStyle="topic"
- jndiConnectionFactoryName="ConnectionFactory"
- jndiDestinationName="dynamicTopics/test.jmstransport.oneway.topic">
- <jms:JMSNamingProperty name="java.naming.factory.initial" value="org.apache.activemq.jndi.ActiveMQInitialContextFactory"/>
- <jms:JMSNamingProperty name="java.naming.provider.url" value="tcp://localhost:61500"/>
- </jms:address>
- </port>
- </service>
-
- <service name="JMSSOAPServiceAddressing">
- <port binding="tns:HWJMSAddressingBinding" name="HWJMSAddressingPort">
- <jms:address
- jndiConnectionFactoryName="ConnectionFactory"
- jndiDestinationName="dynamicQueues/test.jms.addr.queue"
- jndiReplyDestinationName="dynamicQueues/test.jms.addr.reply.queue">
- <jms:JMSNamingProperty name="java.naming.factory.initial" value="org.apache.activemq.jndi.ActiveMQInitialContextFactory"/>
- <jms:JMSNamingProperty name="java.naming.provider.url" value="tcp://localhost:61500"/>
- </jms:address>
- <wswa:UsingAddressing xmlns:wswa="http://www.w3.org/2005/02/addressing/wsdl"/>
- </port>
- </service>
-
-</definitions>
-
-
+<?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.
+-->
+<definitions name="HelloWorldService"
+ targetNamespace="http://cxf.apache.org/hello_world_jms"
+ xmlns="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:jms="http://cxf.apache.org/transports/jms"
+ xmlns:x1="http://cxf.apache.org/hello_world_jms/types"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+ xmlns:tns="http://cxf.apache.org/hello_world_jms"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+ <types>
+ <schema targetNamespace="http://cxf.apache.org/hello_world_jms/types" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:x1="http://cxf.apache.org/hello_world_jms/types" elementFormDefault="qualified">
+ <complexType name="ErrorCode">
+ <sequence>
+ <element name="minor" type="short"/>
+ <element name="major" type="short"/>
+ </sequence>
+ </complexType>
+ <complexType name="testRpcLitFault">
+ <sequence>
+ <element name="faultType" type="string"/>
+ </sequence>
+ </complexType>
+ <complexType name="testRpcLitFaultResponse">
+ <sequence/>
+ </complexType>
+
+ <complexType name="NoSuchCodeLit">
+ <sequence>
+ <element name="code" type="x1:ErrorCode"/>
+ </sequence>
+ </complexType>
+ <complexType name="BadRecord">
+ <sequence>
+ <element name="reason" type="string"/>
+ <element name="code" type="short"/>
+ </sequence>
+ </complexType>
+ </schema>
+ </types>
+
+ <message name="greetMe">
+ <part name="stringParam0" type="xsd:string"/>
+ </message>
+ <message name="greetMeResponse">
+ <part name="return" type="xsd:string"/>
+ </message>
+ <message name="sayHi"/>
+ <message name="sayHiResponse">
+ <part name="return" type="xsd:string"/>
+ </message>
+ <message name="greetMeOneWay">
+ <part name="stringParam0" type="xsd:string"/>
+ </message>
+
+ <message name="testRpcLitFaultRequest">
+ <part name="in" type="xsd:string"/>
+ </message>
+ <message name="testRpcLitFaultResponse">
+ <part name="out" type="x1:testRpcLitFaultResponse"/>
+ </message>
+ <message name="NoSuchCodeLitFault">
+ <part name="NoSuchCodeLit" type="x1:NoSuchCodeLit"/>
+ </message>
+ <message name="BadRecordLitFault">
+ <part name="BadRecordLit" type="xsd:string"/>
+ </message>
+
+ <portType name="HelloWorldPortType">
+ <operation name="greetMe">
+ <input message="tns:greetMe" name="greetMe"/>
+ <output message="tns:greetMeResponse" name="greetMeResponse"/>
+ </operation>
+ <operation name="sayHi">
+ <input message="tns:sayHi" name="sayHi"/>
+ <output message="tns:sayHiResponse" name="sayHiResponse"/>
+ </operation>
+ <operation name="greetMeOneWay">
+ <input message="tns:greetMeOneWay" name="greetMeOneWay"/>
+ </operation>
+ <operation name="testRpcLitFault">
+ <input name="testRpcLitFaultRequest" message="tns:testRpcLitFaultRequest"/>
+ <output name="testRpcLitFaultResponse" message="tns:testRpcLitFaultResponse"/>
+ <fault name="NoSuchCodeLitFault" message="tns:NoSuchCodeLitFault"/>
+ <fault name="BadRecordLitFault" message="tns:BadRecordLitFault"/>
+ </operation>
+ </portType>
+
+ <portType name="HelloWorldOneWayPort">
+ <operation name="greetMeOneWay">
+ <input message="tns:greetMeOneWay" name="greetMeOneWay"/>
+ </operation>
+ </portType>
+
+ <portType name="HelloWorldPubSubPort">
+ <operation name="greetMeOneWay">
+ <input message="tns:greetMeOneWay" name="greetMeOneWay"/>
+ </operation>
+ </portType>
+
+ <binding name="HelloWorldPortBinding" type="tns:HelloWorldPortType">
+ <soap:binding style="rpc" transport="http://cxf.apache.org/transports/jms"/>
+ <operation name="greetMe">
+ <soap:operation soapAction="" style="rpc"/>
+ <input name="greetMe">
+ <soap:body
+ namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
+ </input>
+ <output name="greetMeResponse">
+ <soap:body
+ namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
+ </output>
+ </operation>
+ <operation name="sayHi">
+ <soap:operation soapAction="" style="rpc"/>
+ <input name="sayHi">
+ <soap:body
+ namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
+ </input>
+ <output name="sayHiResponse">
+ <soap:body
+ namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
+ </output>
+ </operation>
+ <operation name="greetMeOneWay">
+ <soap:operation style="rpc"/>
+ <input name="greetMeOneWay">
+ <soap:body
+ namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
+ </input>
+ </operation>
+
+ <operation name="testRpcLitFault">
+ <soap:operation style="rpc"/>
+ <input>
+ <soap:body namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
+ </input>
+ <output>
+ <soap:body namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
+ </output>
+ <fault name="NoSuchCodeLitFault">
+ <soap:fault name="NoSuchCodeLitFault" namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
+ </fault>
+ <fault name="BadRecordLitFault">
+ <soap:fault name="BadRecordLitFault" namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
+ </fault>
+ </operation>
+ </binding>
+
+ <binding name="HelloWorldQueueBinMsgBinding" type="tns:HelloWorldPortType">
+ <soap:binding style="rpc" transport="http://cxf.apache.org/transports/jms"/>
+ <operation name="greetMe">
+ <soap:operation soapAction="" style="rpc"/>
+ <input name="greetMe">
+ <soap:body
+ namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
+ </input>
+ <output name="greetMeResponse">
+ <soap:body
+ namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
+ </output>
+ </operation>
+ <operation name="sayHi">
+ <soap:operation soapAction="" style="rpc"/>
+ <input name="sayHi">
+ <soap:body
+ namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
+ </input>
+ <output name="sayHiResponse">
+ <soap:body
+ namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
+ </output>
+ </operation>
+ <operation name="greetMeOneWay">
+ <soap:operation style="rpc"/>
+ <input name="greetMeOneWay">
+ <soap:body
+ namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
+ </input>
+ </operation>
+ </binding>
+
+ <binding name="HWStaticReplyQTextPortBinding" type="tns:HelloWorldPortType">
+ <soap:binding style="rpc" transport="http://cxf.apache.org/transports/jms"/>
+ <operation name="greetMe">
+ <soap:operation soapAction="" style="rpc"/>
+ <input name="greetMe">
+ <soap:body
+ namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
+ </input>
+ <output name="greetMeResponse">
+ <soap:body
+ namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
+ </output>
+ </operation>
+ <operation name="sayHi">
+ <soap:operation soapAction="" style="rpc"/>
+ <input name="sayHi">
+ <soap:body
+ namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
+ </input>
+ <output name="sayHiResponse">
+ <soap:body
+ namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
+ </output>
+ </operation>
+ <operation name="greetMeOneWay">
+ <soap:operation style="rpc"/>
+ <input name="greetMeOneWay">
+ <soap:body
+ namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
+ </input>
+ </operation>
+ </binding>
+
+ <binding name="HWStaticReplyQBinMsgBinding" type="tns:HelloWorldPortType">
+ <soap:binding style="rpc" transport="http://cxf.apache.org/transports/jms"/>
+ <operation name="greetMe">
+ <soap:operation soapAction="" style="rpc"/>
+ <input name="greetMe">
+ <soap:body
+ namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
+ </input>
+ <output name="greetMeResponse">
+ <soap:body
+ namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
+ </output>
+ </operation>
+ <operation name="sayHi">
+ <soap:operation soapAction="" style="rpc"/>
+ <input name="sayHi">
+ <soap:body
+ namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
+ </input>
+ <output name="sayHiResponse">
+ <soap:body
+ namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
+ </output>
+ </operation>
+ <operation name="greetMeOneWay">
+ <soap:operation style="rpc"/>
+ <input name="greetMeOneWay">
+ <soap:body
+ namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
+ </input>
+ </operation>
+ </binding>
+
+ <binding name="HWJMSAddressingBinding" type="tns:HelloWorldPortType">
+ <soap:binding style="rpc" transport="http://cxf.apache.org/transports/jms"/>
+ <operation name="greetMe">
+ <soap:operation soapAction="" style="rpc"/>
+ <input name="greetMe">
+ <soap:body
+ namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
+ </input>
+ <output name="greetMeResponse">
+ <soap:body
+ namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
+ </output>
+ </operation>
+ <operation name="sayHi">
+ <soap:operation soapAction="" style="rpc"/>
+ <input name="sayHi">
+ <soap:body
+ namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
+ </input>
+ <output name="sayHiResponse">
+ <soap:body
+ namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
+ </output>
+ </operation>
+ <operation name="greetMeOneWay">
+ <soap:operation style="rpc"/>
+ <input name="greetMeOneWay">
+ <soap:body
+ namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
+ </input>
+ </operation>
+ </binding>
+
+
+ <binding name="HelloWorldOneWayBinding" type="tns:HelloWorldOneWayPort">
+ <soap:binding style="rpc" transport="http://cxf.apache.org/transports/jms"/>
+ <operation name="greetMeOneWay">
+ <soap:operation style="rpc"/>
+ <input name="greetMeOneWay">
+ <soap:body
+ namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
+ </input>
+ </operation>
+ </binding>
+
+ <binding name="HelloWorldPubSubBinding" type="tns:HelloWorldPubSubPort">
+ <soap:binding style="rpc" transport="http://cxf.apache.org/transports/jms"/>
+ <operation name="greetMeOneWay">
+ <soap:operation style="rpc"/>
+ <input name="greetMeOneWay">
+ <soap:body
+ namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
+ </input>
+ </operation>
+ </binding>
+
+ <service name="HelloWorldQueueBinMsgService">
+ <port binding="tns:HelloWorldQueueBinMsgBinding" name="HelloWorldQueueBinMsgPort">
+ <jms:address
+ jndiConnectionFactoryName="ConnectionFactory"
+ jndiDestinationName="dynamicQueues/test.jmstransport.binary">
+ <jms:JMSNamingProperty name="java.naming.factory.initial" value="org.activemq.jndi.ActiveMQInitialContextFactory"/>
+ <jms:JMSNamingProperty name="java.naming.provider.url" value="tcp://localhost:61500"/>
+ </jms:address>
+
+ <jms:client messageType="binary"/>
+ <jms:server durableSubscriberName="CXF_subscriber"/>
+ </port>
+ </service>
+
+ <service name="HelloWorldService">
+ <port binding="tns:HelloWorldPortBinding" name="HelloWorldPort">
+ <jms:address
+ jndiConnectionFactoryName="ConnectionFactory"
+ jndiDestinationName="dynamicQueues/test.jmstransport.text">
+ <jms:JMSNamingProperty name="java.naming.factory.initial" value="org.apache.activemq.jndi.ActiveMQInitialContextFactory"/>
+ <jms:JMSNamingProperty name="java.naming.provider.url" value="tcp://localhost:61500"/>
+ </jms:address>
+
+ <jms:server durableSubscriberName="CXF_subscriber"/>
+ </port>
+ </service>
+
+ <service name="HelloWorldServiceLoop">
+ <port binding="tns:HWStaticReplyQBinMsgBinding" name="HelloWorldPortLoop">
+ <jms:address
+ jndiConnectionFactoryName="ConnectionFactory"
+ jndiDestinationName="dynamicQueues/test.jmstransport.binary"
+ jndiReplyDestinationName="dynamicQueues/test.jmstransport.binary">
+ <jms:JMSNamingProperty name="java.naming.factory.initial" value="org.apache.activemq.jndi.ActiveMQInitialContextFactory"/>
+ <jms:JMSNamingProperty name="java.naming.provider.url" value="tcp://localhost:61500"/>
+ </jms:address>
+
+ <jms:client messageType="binary"/>
+ <jms:server durableSubscriberName="CXF_subscriber"/>
+ </port>
+ </service>
+
+ <service name="HWStaticReplyQBinMsgService">
+ <port binding="tns:HWStaticReplyQBinMsgBinding" name="HWStaticReplyQBinMsgPort">
+ <jms:address
+ jndiConnectionFactoryName="ConnectionFactory"
+ jndiDestinationName="dynamicQueues/test.jmstransport.binary"
+ jndiReplyDestinationName="dynamicQueues/test.jmstransport.binary.reply">
+ <jms:JMSNamingProperty name="java.naming.factory.initial" value="org.apache.activemq.jndi.ActiveMQInitialContextFactory"/>
+ <jms:JMSNamingProperty name="java.naming.provider.url" value="tcp://localhost:61500"/>
+ </jms:address>
+
+ <jms:client messageType="binary"/>
+ <jms:server durableSubscriberName="CXF_subscriber"/>
+ </port>
+ </service>
+
+ <service name="HWStaticReplyQTextMsgService">
+ <port binding="tns:HWStaticReplyQTextPortBinding" name="HWStaticReplyQTextPort">
+
+ <jms:address
+ jndiConnectionFactoryName="ConnectionFactory"
+ jndiDestinationName="dynamicQueues/test.jmstransport.text"
+ jndiReplyDestinationName="dynamicQueues/test.jmstransport.text.reply">
+ <jms:JMSNamingProperty name="java.naming.factory.initial" value="org.apache.activemq.jndi.ActiveMQInitialContextFactory"/>
+ <jms:JMSNamingProperty name="java.naming.provider.url" value="tcp://localhost:61500"/>
+ </jms:address>
+
+ <jms:server durableSubscriberName="CXF_subscriber"/>
+ </port>
+ </service>
+
+ <service name="HelloWorldOneWayQueueService">
+ <port binding="tns:HelloWorldOneWayBinding" name="HelloWorldOneWayQueuePort">
+ <jms:address
+ jndiConnectionFactoryName="ConnectionFactory"
+ jndiDestinationName="dynamicQueues/test.jmstransport.oneway">
+ <jms:JMSNamingProperty name="java.naming.factory.initial" value="org.apache.activemq.jndi.ActiveMQInitialContextFactory"/>
+ <jms:JMSNamingProperty name="java.naming.provider.url" value="tcp://localhost:61500"/>
+ </jms:address>
+
+ <jms:server durableSubscriberName="CXF_subscriber"/>
+ </port>
+ </service>
+
+ <service name="HelloWorldPubSubService">
+ <port binding="tns:HelloWorldPubSubBinding" name="HelloWorldPubSubPort">
+ <jms:address
+ destinationStyle="topic"
+ jndiConnectionFactoryName="ConnectionFactory"
+ jndiDestinationName="dynamicTopics/test.jmstransport.oneway.topic">
+ <jms:JMSNamingProperty name="java.naming.factory.initial" value="org.apache.activemq.jndi.ActiveMQInitialContextFactory"/>
+ <jms:JMSNamingProperty name="java.naming.provider.url" value="tcp://localhost:61500"/>
+ </jms:address>
+ </port>
+ </service>
+
+ <service name="JMSSOAPServiceAddressing">
+ <port binding="tns:HWJMSAddressingBinding" name="HWJMSAddressingPort">
+ <jms:address
+ jndiConnectionFactoryName="ConnectionFactory"
+ jndiDestinationName="dynamicQueues/test.jms.addr.queue"
+ jndiReplyDestinationName="dynamicQueues/test.jms.addr.reply.queue">
+ <jms:JMSNamingProperty name="java.naming.factory.initial" value="org.apache.activemq.jndi.ActiveMQInitialContextFactory"/>
+ <jms:JMSNamingProperty name="java.naming.provider.url" value="tcp://localhost:61500"/>
+ </jms:address>
+ <wswa:UsingAddressing xmlns:wswa="http://www.w3.org/2005/02/addressing/wsdl"/>
+ </port>
+ </service>
+
+</definitions>
+
+
Propchange: incubator/cxf/trunk/tools/wsdlto/test/src/test/java/org/apache/cxf/tools/wsdlto/jaxws/wsdl11/resources/jms_test.wsdl
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/cxf/trunk/tools/wsdlto/test/src/test/java/org/apache/cxf/tools/wsdlto/jaxws/wsdl11/resources/jms_test.wsdl
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange: incubator/cxf/trunk/tools/wsdlto/test/src/test/java/org/apache/cxf/tools/wsdlto/jaxws/wsdl11/resources/jms_test.wsdl
------------------------------------------------------------------------------
svn:mime-type = text/xml
Modified: incubator/cxf/trunk/tools/wsdlto/test/src/test/resources/wsdl2java_wsdl/bug627/async_binding.xml
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/wsdlto/test/src/test/resources/wsdl2java_wsdl/bug627/async_binding.xml?view=diff&rev=547040&r1=547039&r2=547040
==============================================================================
--- incubator/cxf/trunk/tools/wsdlto/test/src/test/resources/wsdl2java_wsdl/bug627/async_binding.xml (original)
+++ incubator/cxf/trunk/tools/wsdlto/test/src/test/resources/wsdl2java_wsdl/bug627/async_binding.xml Wed Jun 13 14:45:28 2007
@@ -1,27 +1,27 @@
-<!--
- 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.
--->
-<bindings
- xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
- wsdlLocation="hello_world.wsdl"
- xmlns="http://java.sun.com/xml/ns/jaxws">
- <bindings node="wsdl:definitions">
- <enableAsyncMapping>true</enableAsyncMapping>
- </bindings>
+<!--
+ 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.
+-->
+<bindings
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+ wsdlLocation="hello_world.wsdl"
+ xmlns="http://java.sun.com/xml/ns/jaxws">
+ <bindings node="wsdl:definitions">
+ <enableAsyncMapping>true</enableAsyncMapping>
+ </bindings>
</bindings>
Propchange: incubator/cxf/trunk/tools/wsdlto/test/src/test/resources/wsdl2java_wsdl/bug627/async_binding.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/cxf/trunk/tools/wsdlto/test/src/test/resources/wsdl2java_wsdl/bug627/async_binding.xml
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange: incubator/cxf/trunk/tools/wsdlto/test/src/test/resources/wsdl2java_wsdl/bug627/async_binding.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Modified: incubator/cxf/trunk/tools/wsdlto/test/src/test/resources/wsdl2java_wsdl/bug627/hello_world.wsdl
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/wsdlto/test/src/test/resources/wsdl2java_wsdl/bug627/hello_world.wsdl?view=diff&rev=547040&r1=547039&r2=547040
==============================================================================
--- incubator/cxf/trunk/tools/wsdlto/test/src/test/resources/wsdl2java_wsdl/bug627/hello_world.wsdl (original)
+++ incubator/cxf/trunk/tools/wsdlto/test/src/test/resources/wsdl2java_wsdl/bug627/hello_world.wsdl Wed Jun 13 14:45:28 2007
@@ -1,76 +1,76 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
--->
-<wsdl:definitions xmlns="http://schemas.xmlsoap.org/wsdl/"
- xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
- xmlns:tns="http://apache.org/hello_world_soap_http"
- xmlns:x1="http://apache.org/hello_world_soap_http/types"
- xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
- xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- targetNamespace="http://apache.org/hello_world_soap_http" name="HelloWorld">
- <wsdl:types>
- <schema targetNamespace="http://apache.org/hello_world_soap_http/types" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:x1="http://apache.org/hello_world_soap_http/types" elementFormDefault="qualified">
- <element name="sayHi">
- <complexType/>
- </element>
- <element name="sayHiResponse">
- <complexType>
- <sequence>
- <element name="responseType" type="string"/>
- </sequence>
- </complexType>
- </element>
-
- </schema>
- </wsdl:types>
- <wsdl:message name="sayHiRequest">
- <wsdl:part name="in" element="x1:sayHi"/>
- </wsdl:message>
- <wsdl:message name="sayHiResponse">
- <wsdl:part name="out" element="x1:sayHiResponse"/>
- </wsdl:message>
-
- <wsdl:portType name="Greeter">
- <wsdl:operation name="say-Hi">
- <wsdl:input name="sayHiRequest" message="tns:sayHiRequest"/>
- <wsdl:output name="sayHiResponse" message="tns:sayHiResponse"/>
- </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="say-Hi">
- <soap:operation style="document"/>
- <wsdl:input>
- <soap:body use="literal"/>
- </wsdl:input>
- <wsdl:output>
- <soap:body use="literal"/>
- </wsdl:output>
- </wsdl:operation>
-
- </wsdl:binding>
-
- <wsdl:service name="SOAPService_Test1">
- <wsdl:port name="SoapPort_Test1" binding="tns:Greeter_SOAPBinding">
- <soap:address location="http://localhost:9100"/>
- </wsdl:port>
- </wsdl:service>
-</wsdl:definitions>
-
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<wsdl:definitions xmlns="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+ xmlns:tns="http://apache.org/hello_world_soap_http"
+ xmlns:x1="http://apache.org/hello_world_soap_http/types"
+ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ targetNamespace="http://apache.org/hello_world_soap_http" name="HelloWorld">
+ <wsdl:types>
+ <schema targetNamespace="http://apache.org/hello_world_soap_http/types" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:x1="http://apache.org/hello_world_soap_http/types" elementFormDefault="qualified">
+ <element name="sayHi">
+ <complexType/>
+ </element>
+ <element name="sayHiResponse">
+ <complexType>
+ <sequence>
+ <element name="responseType" type="string"/>
+ </sequence>
+ </complexType>
+ </element>
+
+ </schema>
+ </wsdl:types>
+ <wsdl:message name="sayHiRequest">
+ <wsdl:part name="in" element="x1:sayHi"/>
+ </wsdl:message>
+ <wsdl:message name="sayHiResponse">
+ <wsdl:part name="out" element="x1:sayHiResponse"/>
+ </wsdl:message>
+
+ <wsdl:portType name="Greeter">
+ <wsdl:operation name="say-Hi">
+ <wsdl:input name="sayHiRequest" message="tns:sayHiRequest"/>
+ <wsdl:output name="sayHiResponse" message="tns:sayHiResponse"/>
+ </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="say-Hi">
+ <soap:operation style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+
+ </wsdl:binding>
+
+ <wsdl:service name="SOAPService_Test1">
+ <wsdl:port name="SoapPort_Test1" binding="tns:Greeter_SOAPBinding">
+ <soap:address location="http://localhost:9100"/>
+ </wsdl:port>
+ </wsdl:service>
+</wsdl:definitions>
+
Propchange: incubator/cxf/trunk/tools/wsdlto/test/src/test/resources/wsdl2java_wsdl/bug627/hello_world.wsdl
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/cxf/trunk/tools/wsdlto/test/src/test/resources/wsdl2java_wsdl/bug627/hello_world.wsdl
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange: incubator/cxf/trunk/tools/wsdlto/test/src/test/resources/wsdl2java_wsdl/bug627/hello_world.wsdl
------------------------------------------------------------------------------
svn:mime-type = text/xml
Propchange: incubator/cxf/trunk/tools/wsdlto/test/src/test/resources/wsdl2java_wsdl/hello-mime-binding.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/cxf/trunk/tools/wsdlto/test/src/test/resources/wsdl2java_wsdl/hello-mime-binding.xml
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange: incubator/cxf/trunk/tools/wsdlto/test/src/test/resources/wsdl2java_wsdl/hello-mime-binding.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Propchange: incubator/cxf/trunk/tools/wsdlto/test/src/test/resources/wsdl2java_wsdl/hello-mime.wsdl
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/cxf/trunk/tools/wsdlto/test/src/test/resources/wsdl2java_wsdl/hello-mime.wsdl
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange: incubator/cxf/trunk/tools/wsdlto/test/src/test/resources/wsdl2java_wsdl/hello-mime.wsdl
------------------------------------------------------------------------------
svn:mime-type = text/xml
Propchange: incubator/cxf/trunk/tools/wsdlto/test/src/test/resources/wsdl2java_wsdl/sayHi.wsdl
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/cxf/trunk/tools/wsdlto/test/src/test/resources/wsdl2java_wsdl/sayHi.wsdl
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange: incubator/cxf/trunk/tools/wsdlto/test/src/test/resources/wsdl2java_wsdl/sayHi.wsdl
------------------------------------------------------------------------------
svn:mime-type = text/xml
Propchange: incubator/cxf/trunk/tools/wsdlto/test/src/test/resources/wsdl2java_wsdl/sayhi-schema1.xsd
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/cxf/trunk/tools/wsdlto/test/src/test/resources/wsdl2java_wsdl/sayhi-schema1.xsd
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange: incubator/cxf/trunk/tools/wsdlto/test/src/test/resources/wsdl2java_wsdl/sayhi-schema1.xsd
------------------------------------------------------------------------------
svn:mime-type = text/xml