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/05/18 18:39:48 UTC
svn commit: r539517 [6/9] - in /incubator/cxf/trunk:
api/src/main/java/org/apache/cxf/ api/src/main/java/org/apache/cxf/binding/
api/src/main/java/org/apache/cxf/clustering/
api/src/main/java/org/apache/cxf/endpoint/
api/src/main/java/org/apache/cxf/fe...
Modified: incubator/cxf/trunk/tools/javato/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/ResponseWrapperTest.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/javato/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/ResponseWrapperTest.java?view=diff&rev=539517&r1=539516&r2=539517
==============================================================================
--- incubator/cxf/trunk/tools/javato/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/ResponseWrapperTest.java (original)
+++ incubator/cxf/trunk/tools/javato/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/ResponseWrapperTest.java Fri May 18 09:39:38 2007
@@ -1,101 +1,101 @@
-/**
- * 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.java2wsdl.processor.internal.jaxws;
-
-import java.lang.reflect.Method;
-
-import junit.framework.TestCase;
-import org.apache.cxf.service.model.MessageInfo;
-import org.apache.cxf.service.model.OperationInfo;
-import org.apache.cxf.service.model.ServiceInfo;
-import org.apache.cxf.tools.common.model.JavaField;
-import org.junit.Test;
-
-public class ResponseWrapperTest extends TestCase {
- JaxwsServiceBuilder builder = new JaxwsServiceBuilder();
-
- private OperationInfo getOperation(Class clz, String opName) {
- builder.setServiceClass(clz);
- ServiceInfo serviceInfo = builder.build();
-
- for (OperationInfo op : serviceInfo.getInterface().getOperations()) {
- if (op.getUnwrappedOperation() != null
- && op.hasInput() && opName.equals(op.getName().getLocalPart())) {
- return op;
- }
- }
- return null;
- }
-
- @Test
- public void testBuildFields() {
- // Test String[]
- Class testingClass = org.apache.cxf.tools.fortest.withannotation.doc.GreeterArray.class;
- OperationInfo opInfo = getOperation(testingClass, "sayStringArray");
- assertNotNull(opInfo);
-
- ResponseWrapper responseWrapper = new ResponseWrapper();
-
- MessageInfo message = opInfo.getUnwrappedOperation().getOutput();
- Method method = (Method)opInfo.getProperty("operation.method");
-
- JavaField field = responseWrapper.buildFields(method, message).get(0);
- assertEquals("_return", field.getName());
- assertEquals("String[]", field.getType());
-
- // Test int[]
-
- opInfo = getOperation(testingClass, "sayIntArray");
- assertNotNull(opInfo);
-
- message = opInfo.getUnwrappedOperation().getOutput();
- method = (Method) opInfo.getProperty("operation.method");
-
- field = responseWrapper.buildFields(method, message).get(0);
- assertEquals("_return", field.getName());
- assertEquals("int[]", field.getType());
-
- // Test TestDataBean[]
-
- opInfo = getOperation(testingClass, "sayTestDataBeanArray");
- assertNotNull(opInfo);
-
- message = opInfo.getUnwrappedOperation().getOutput();
- method = (Method) opInfo.getProperty("operation.method");
-
- field = responseWrapper.buildFields(method, message).get(0);
- assertEquals("_return", field.getName());
- assertEquals("org.apache.cxf.tools.fortest.withannotation.doc.TestDataBean[]", field.getType());
- }
-
- @Test
- public void testWithAnnotationWithClass() throws Exception {
- String pkgName = "org.apache.cxf.tools.fortest.withannotation.doc";
- Class testingClass = Class.forName(pkgName + ".Greeter");
-
- OperationInfo opInfo = getOperation(testingClass, "sayHi");
-
- Wrapper wrapper = new ResponseWrapper();
- wrapper.setOperationInfo(opInfo);
- assertEquals(pkgName, wrapper.getJavaClass().getPackageName());
- assertEquals("SayHiResponse", wrapper.getJavaClass().getName());
-
- }
-}
+/**
+ * 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.java2wsdl.processor.internal.jaxws;
+
+import java.lang.reflect.Method;
+
+import junit.framework.TestCase;
+import org.apache.cxf.service.model.MessageInfo;
+import org.apache.cxf.service.model.OperationInfo;
+import org.apache.cxf.service.model.ServiceInfo;
+import org.apache.cxf.tools.common.model.JavaField;
+import org.junit.Test;
+
+public class ResponseWrapperTest extends TestCase {
+ JaxwsServiceBuilder builder = new JaxwsServiceBuilder();
+
+ private OperationInfo getOperation(Class clz, String opName) {
+ builder.setServiceClass(clz);
+ ServiceInfo serviceInfo = builder.build();
+
+ for (OperationInfo op : serviceInfo.getInterface().getOperations()) {
+ if (op.getUnwrappedOperation() != null
+ && op.hasInput() && opName.equals(op.getName().getLocalPart())) {
+ return op;
+ }
+ }
+ return null;
+ }
+
+ @Test
+ public void testBuildFields() {
+ // Test String[]
+ Class testingClass = org.apache.cxf.tools.fortest.withannotation.doc.GreeterArray.class;
+ OperationInfo opInfo = getOperation(testingClass, "sayStringArray");
+ assertNotNull(opInfo);
+
+ ResponseWrapper responseWrapper = new ResponseWrapper();
+
+ MessageInfo message = opInfo.getUnwrappedOperation().getOutput();
+ Method method = (Method)opInfo.getProperty("operation.method");
+
+ JavaField field = responseWrapper.buildFields(method, message).get(0);
+ assertEquals("_return", field.getName());
+ assertEquals("String[]", field.getType());
+
+ // Test int[]
+
+ opInfo = getOperation(testingClass, "sayIntArray");
+ assertNotNull(opInfo);
+
+ message = opInfo.getUnwrappedOperation().getOutput();
+ method = (Method) opInfo.getProperty("operation.method");
+
+ field = responseWrapper.buildFields(method, message).get(0);
+ assertEquals("_return", field.getName());
+ assertEquals("int[]", field.getType());
+
+ // Test TestDataBean[]
+
+ opInfo = getOperation(testingClass, "sayTestDataBeanArray");
+ assertNotNull(opInfo);
+
+ message = opInfo.getUnwrappedOperation().getOutput();
+ method = (Method) opInfo.getProperty("operation.method");
+
+ field = responseWrapper.buildFields(method, message).get(0);
+ assertEquals("_return", field.getName());
+ assertEquals("org.apache.cxf.tools.fortest.withannotation.doc.TestDataBean[]", field.getType());
+ }
+
+ @Test
+ public void testWithAnnotationWithClass() throws Exception {
+ String pkgName = "org.apache.cxf.tools.fortest.withannotation.doc";
+ Class testingClass = Class.forName(pkgName + ".Greeter");
+
+ OperationInfo opInfo = getOperation(testingClass, "sayHi");
+
+ Wrapper wrapper = new ResponseWrapper();
+ wrapper.setOperationInfo(opInfo);
+ assertEquals(pkgName, wrapper.getJavaClass().getPackageName());
+ assertEquals("SayHiResponse", wrapper.getJavaClass().getName());
+
+ }
+}
Propchange: incubator/cxf/trunk/tools/javato/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/ResponseWrapperTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/cxf/trunk/tools/javato/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/ResponseWrapperTest.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Modified: incubator/cxf/trunk/tools/javato/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/WrapperTest.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/javato/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/WrapperTest.java?view=diff&rev=539517&r1=539516&r2=539517
==============================================================================
--- incubator/cxf/trunk/tools/javato/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/WrapperTest.java (original)
+++ incubator/cxf/trunk/tools/javato/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/WrapperTest.java Fri May 18 09:39:38 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.java2wsdl.processor.internal.jaxws;
-
-import java.lang.reflect.Method;
-import javax.xml.namespace.QName;
-
-import junit.framework.TestCase;
-import org.apache.cxf.tools.common.model.JavaClass;
-import org.junit.Test;
-
-public class WrapperTest extends TestCase {
- @Test
- public void testGetWrapperBeanClassFromQName() {
- QName qname = new QName("http://cxf.apache.org", "sayHi");
-
- Wrapper wrapper = new Wrapper();
- wrapper.setName(qname);
-
- JavaClass jClass = wrapper.getWrapperBeanClass(qname);
-
- assertEquals("org.apache.cxf", jClass.getPackageName());
- assertEquals("SayHi", jClass.getName());
- assertEquals("http://cxf.apache.org", jClass.getNamespace());
- }
-
- @Test
- public void testGetWrapperBeanClassFromMethod() throws Exception {
- String pkgName = "org.apache.cxf.tools.fortest.classnoanno.docwrapped";
- Class stockClass = Class.forName(pkgName + ".Stock");
- Method method = stockClass.getMethod("getPrice", String.class);
-
- Wrapper wrapper = new Wrapper();
- wrapper.setMethod(method);
-
- JavaClass jClass = wrapper.getWrapperBeanClass(method);
- assertNotNull(jClass);
- assertNull(jClass.getPackageName());
- assertNull(jClass.getName());
-
- wrapper = new RequestWrapper();
- jClass = wrapper.getWrapperBeanClass(method);
- assertEquals("GetPrice", jClass.getName());
- assertEquals(pkgName + ".jaxws", jClass.getPackageName());
-
- wrapper = new ResponseWrapper();
- jClass = wrapper.getWrapperBeanClass(method);
- assertEquals("GetPriceResponse", jClass.getName());
- assertEquals(pkgName + ".jaxws", jClass.getPackageName());
- }
-
- @Test
- public void testIsWrapperBeanClassNotExist() throws Exception {
- String pkgName = "org.apache.cxf.tools.fortest.classnoanno.docwrapped";
- Class stockClass = Class.forName(pkgName + ".Stock");
- Method method = stockClass.getMethod("getPrice", String.class);
-
- Wrapper wrapper = new RequestWrapper();
- wrapper.setMethod(method);
- assertTrue(wrapper.isWrapperAbsent());
- assertTrue(wrapper.isToDifferentPackage());
- assertFalse(wrapper.isWrapperBeanClassNotExist());
- assertEquals(pkgName + ".jaxws", wrapper.getJavaClass().getPackageName());
- assertEquals("GetPrice", wrapper.getJavaClass().getName());
-
- pkgName = "org.apache.cxf.tools.fortest.withannotation.doc";
- stockClass = Class.forName(pkgName + ".Stock");
- method = stockClass.getMethod("getPrice", String.class);
-
- wrapper = new RequestWrapper();
- wrapper.setMethod(method);
- assertFalse(wrapper.isWrapperAbsent());
- assertTrue(wrapper.isToDifferentPackage());
- assertFalse(wrapper.isWrapperBeanClassNotExist());
- assertEquals(pkgName + ".jaxws", wrapper.getJavaClass().getPackageName());
- assertEquals("GetPrice", wrapper.getJavaClass().getName());
-
- pkgName = "org.apache.cxf.tools.fortest.withannotation.doc";
- Class clz = Class.forName(pkgName + ".Greeter");
- method = clz.getMethod("sayHi");
-
- wrapper = new RequestWrapper();
- wrapper.setMethod(method);
- assertFalse(wrapper.isWrapperAbsent());
- assertTrue(wrapper.isToDifferentPackage());
- assertFalse(wrapper.isWrapperBeanClassNotExist());
- assertEquals(pkgName, wrapper.getJavaClass().getPackageName());
- assertEquals("SayHi", wrapper.getJavaClass().getName());
-
- wrapper = new ResponseWrapper();
- wrapper.setMethod(method);
- assertEquals(pkgName, wrapper.getJavaClass().getPackageName());
- assertEquals("SayHiResponse", wrapper.getJavaClass().getName());
- }
-}
+/**
+ * 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.java2wsdl.processor.internal.jaxws;
+
+import java.lang.reflect.Method;
+import javax.xml.namespace.QName;
+
+import junit.framework.TestCase;
+import org.apache.cxf.tools.common.model.JavaClass;
+import org.junit.Test;
+
+public class WrapperTest extends TestCase {
+ @Test
+ public void testGetWrapperBeanClassFromQName() {
+ QName qname = new QName("http://cxf.apache.org", "sayHi");
+
+ Wrapper wrapper = new Wrapper();
+ wrapper.setName(qname);
+
+ JavaClass jClass = wrapper.getWrapperBeanClass(qname);
+
+ assertEquals("org.apache.cxf", jClass.getPackageName());
+ assertEquals("SayHi", jClass.getName());
+ assertEquals("http://cxf.apache.org", jClass.getNamespace());
+ }
+
+ @Test
+ public void testGetWrapperBeanClassFromMethod() throws Exception {
+ String pkgName = "org.apache.cxf.tools.fortest.classnoanno.docwrapped";
+ Class stockClass = Class.forName(pkgName + ".Stock");
+ Method method = stockClass.getMethod("getPrice", String.class);
+
+ Wrapper wrapper = new Wrapper();
+ wrapper.setMethod(method);
+
+ JavaClass jClass = wrapper.getWrapperBeanClass(method);
+ assertNotNull(jClass);
+ assertNull(jClass.getPackageName());
+ assertNull(jClass.getName());
+
+ wrapper = new RequestWrapper();
+ jClass = wrapper.getWrapperBeanClass(method);
+ assertEquals("GetPrice", jClass.getName());
+ assertEquals(pkgName + ".jaxws", jClass.getPackageName());
+
+ wrapper = new ResponseWrapper();
+ jClass = wrapper.getWrapperBeanClass(method);
+ assertEquals("GetPriceResponse", jClass.getName());
+ assertEquals(pkgName + ".jaxws", jClass.getPackageName());
+ }
+
+ @Test
+ public void testIsWrapperBeanClassNotExist() throws Exception {
+ String pkgName = "org.apache.cxf.tools.fortest.classnoanno.docwrapped";
+ Class stockClass = Class.forName(pkgName + ".Stock");
+ Method method = stockClass.getMethod("getPrice", String.class);
+
+ Wrapper wrapper = new RequestWrapper();
+ wrapper.setMethod(method);
+ assertTrue(wrapper.isWrapperAbsent());
+ assertTrue(wrapper.isToDifferentPackage());
+ assertFalse(wrapper.isWrapperBeanClassNotExist());
+ assertEquals(pkgName + ".jaxws", wrapper.getJavaClass().getPackageName());
+ assertEquals("GetPrice", wrapper.getJavaClass().getName());
+
+ pkgName = "org.apache.cxf.tools.fortest.withannotation.doc";
+ stockClass = Class.forName(pkgName + ".Stock");
+ method = stockClass.getMethod("getPrice", String.class);
+
+ wrapper = new RequestWrapper();
+ wrapper.setMethod(method);
+ assertFalse(wrapper.isWrapperAbsent());
+ assertTrue(wrapper.isToDifferentPackage());
+ assertFalse(wrapper.isWrapperBeanClassNotExist());
+ assertEquals(pkgName + ".jaxws", wrapper.getJavaClass().getPackageName());
+ assertEquals("GetPrice", wrapper.getJavaClass().getName());
+
+ pkgName = "org.apache.cxf.tools.fortest.withannotation.doc";
+ Class clz = Class.forName(pkgName + ".Greeter");
+ method = clz.getMethod("sayHi");
+
+ wrapper = new RequestWrapper();
+ wrapper.setMethod(method);
+ assertFalse(wrapper.isWrapperAbsent());
+ assertTrue(wrapper.isToDifferentPackage());
+ assertFalse(wrapper.isWrapperBeanClassNotExist());
+ assertEquals(pkgName, wrapper.getJavaClass().getPackageName());
+ assertEquals("SayHi", wrapper.getJavaClass().getName());
+
+ wrapper = new ResponseWrapper();
+ wrapper.setMethod(method);
+ assertEquals(pkgName, wrapper.getJavaClass().getPackageName());
+ assertEquals("SayHiResponse", wrapper.getJavaClass().getName());
+ }
+}
Propchange: incubator/cxf/trunk/tools/javato/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/WrapperTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/cxf/trunk/tools/javato/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/WrapperTest.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Modified: incubator/cxf/trunk/tools/javato/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/expected/expected_hello_world_async.wsdl
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/javato/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/expected/expected_hello_world_async.wsdl?view=diff&rev=539517&r1=539516&r2=539517
==============================================================================
--- incubator/cxf/trunk/tools/javato/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/expected/expected_hello_world_async.wsdl (original)
+++ incubator/cxf/trunk/tools/javato/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/expected/expected_hello_world_async.wsdl Fri May 18 09:39:38 2007
@@ -1,72 +1,72 @@
-<!--
- 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.
--->
-<?xml version="1.0" encoding="UTF-8"?>
-<wsdl:definitions name="GreeterAsyncService" targetNamespace="http://apache.org/hello_world_async_soap_http" xmlns:ns1="http://apache.org/hello_world_async_soap_http" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns2="http://apache.org/hello_world_async_soap_http/types" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
- <wsdl:types>
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://apache.org/hello_world_async_soap_http/types" version="1.0">
-<xs:element name="greetMeSometime">
-<xs:complexType>
-<xs:sequence>
-<xs:element form="qualified" name="requestType" type="xs:string"/>
-</xs:sequence>
-</xs:complexType>
-</xs:element>
-<xs:element name="greetMeSometimeResponse">
-<xs:complexType>
-<xs:sequence>
-<xs:element form="qualified" name="responseType" type="xs:string"/>
-</xs:sequence>
-</xs:complexType>
-</xs:element>
-</xs:schema>
- </wsdl:types>
- <wsdl:message name="greetMeSometime">
- <wsdl:part name="parameters" element="ns2:greetMeSometime">
- </wsdl:part>
- </wsdl:message>
- <wsdl:message name="greetMeSometimeResponse">
- <wsdl:part name="parameters" element="ns2:greetMeSometimeResponse">
- </wsdl:part>
- </wsdl:message>
- <wsdl:portType name="GreeterAsync">
- <wsdl:operation name="greetMeSometime">
- <wsdl:input name="greetMeSometime" message="ns1:greetMeSometime">
- </wsdl:input>
- <wsdl:output name="greetMeSometimeResponse" message="ns1:greetMeSometimeResponse">
- </wsdl:output>
- </wsdl:operation>
- </wsdl:portType>
- <wsdl:binding name="GreeterAsyncServiceSoapBinding" type="ns1:GreeterAsync">
- <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
- <wsdl:operation name="greetMeSometime">
- <soap:operation soapAction="" style="document"/>
- <wsdl:input name="greetMeSometime">
- <soap:body use="literal"/>
- </wsdl:input>
- <wsdl:output name="greetMeSometimeResponse">
- <soap:body use="literal"/>
- </wsdl:output>
- </wsdl:operation>
- </wsdl:binding>
- <wsdl:service name="GreeterAsyncService">
- <wsdl:port name="GreeterAsyncPort" binding="ns1:GreeterAsyncServiceSoapBinding">
- <soap:address location="http://localhost:9090"/>
- </wsdl:port>
- </wsdl:service>
-</wsdl:definitions>
+<!--
+ 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.
+-->
+<?xml version="1.0" encoding="UTF-8"?>
+<wsdl:definitions name="GreeterAsyncService" targetNamespace="http://apache.org/hello_world_async_soap_http" xmlns:ns1="http://apache.org/hello_world_async_soap_http" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns2="http://apache.org/hello_world_async_soap_http/types" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
+ <wsdl:types>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://apache.org/hello_world_async_soap_http/types" version="1.0">
+<xs:element name="greetMeSometime">
+<xs:complexType>
+<xs:sequence>
+<xs:element form="qualified" name="requestType" type="xs:string"/>
+</xs:sequence>
+</xs:complexType>
+</xs:element>
+<xs:element name="greetMeSometimeResponse">
+<xs:complexType>
+<xs:sequence>
+<xs:element form="qualified" name="responseType" type="xs:string"/>
+</xs:sequence>
+</xs:complexType>
+</xs:element>
+</xs:schema>
+ </wsdl:types>
+ <wsdl:message name="greetMeSometime">
+ <wsdl:part name="parameters" element="ns2:greetMeSometime">
+ </wsdl:part>
+ </wsdl:message>
+ <wsdl:message name="greetMeSometimeResponse">
+ <wsdl:part name="parameters" element="ns2:greetMeSometimeResponse">
+ </wsdl:part>
+ </wsdl:message>
+ <wsdl:portType name="GreeterAsync">
+ <wsdl:operation name="greetMeSometime">
+ <wsdl:input name="greetMeSometime" message="ns1:greetMeSometime">
+ </wsdl:input>
+ <wsdl:output name="greetMeSometimeResponse" message="ns1:greetMeSometimeResponse">
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:portType>
+ <wsdl:binding name="GreeterAsyncServiceSoapBinding" type="ns1:GreeterAsync">
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+ <wsdl:operation name="greetMeSometime">
+ <soap:operation soapAction="" style="document"/>
+ <wsdl:input name="greetMeSometime">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="greetMeSometimeResponse">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="GreeterAsyncService">
+ <wsdl:port name="GreeterAsyncPort" binding="ns1:GreeterAsyncServiceSoapBinding">
+ <soap:address location="http://localhost:9090"/>
+ </wsdl:port>
+ </wsdl:service>
+</wsdl:definitions>
Propchange: incubator/cxf/trunk/tools/javato/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/expected/expected_hello_world_async.wsdl
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/cxf/trunk/tools/javato/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/expected/expected_hello_world_async.wsdl
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange: incubator/cxf/trunk/tools/javato/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/expected/expected_hello_world_async.wsdl
------------------------------------------------------------------------------
svn:mime-type = text/xml
Modified: incubator/cxf/trunk/tools/javato/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/expected/expected_stock_bare.wsdl
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/javato/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/expected/expected_stock_bare.wsdl?view=diff&rev=539517&r1=539516&r2=539517
==============================================================================
--- incubator/cxf/trunk/tools/javato/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/expected/expected_stock_bare.wsdl (original)
+++ incubator/cxf/trunk/tools/javato/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/expected/expected_stock_bare.wsdl Fri May 18 09:39:38 2007
@@ -1,54 +1,54 @@
-<!--
- 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.
--->
-<?xml version="1.0" encoding="UTF-8"?>
-<wsdl:definitions name="StockService" targetNamespace="http://docbare.classnoanno.fortest.tools.cxf.apache.org/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:ns1="http://docbare.classnoanno.fortest.tools.cxf.apache.org/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
- <wsdl:message name="getPriceResponse">
- <wsdl:part name="return" type="xsd:float">
- </wsdl:part>
- </wsdl:message>
- <wsdl:message name="getPrice">
- <wsdl:part name="arg0" type="xsd:string">
- </wsdl:part>
- </wsdl:message>
- <wsdl:portType name="Stock">
- <wsdl:operation name="getPrice">
- <wsdl:input name="getPrice" message="ns1:getPrice">
- </wsdl:input>
- <wsdl:output name="getPriceResponse" message="ns1:getPriceResponse">
- </wsdl:output>
- </wsdl:operation>
- </wsdl:portType>
- <wsdl:binding name="StockServiceSoapBinding" type="ns1:Stock">
- <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
- <wsdl:operation name="getPrice">
- <wsdlsoap:operation soapAction="" style="document"/>
- <wsdl:input name="getPrice">
- <wsdlsoap:body use="literal"/>
- </wsdl:input>
- <wsdl:output name="getPriceResponse">
- <wsdlsoap:body use="literal"/>
- </wsdl:output>
- </wsdl:operation>
- </wsdl:binding>
- <wsdl:service name="StockService">
- <wsdl:port name="StockPort" binding="ns1:StockServiceSoapBinding">
- <wsdlsoap:address/>
- </wsdl:port>
- </wsdl:service>
-</wsdl:definitions>
+<!--
+ 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.
+-->
+<?xml version="1.0" encoding="UTF-8"?>
+<wsdl:definitions name="StockService" targetNamespace="http://docbare.classnoanno.fortest.tools.cxf.apache.org/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:ns1="http://docbare.classnoanno.fortest.tools.cxf.apache.org/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
+ <wsdl:message name="getPriceResponse">
+ <wsdl:part name="return" type="xsd:float">
+ </wsdl:part>
+ </wsdl:message>
+ <wsdl:message name="getPrice">
+ <wsdl:part name="arg0" type="xsd:string">
+ </wsdl:part>
+ </wsdl:message>
+ <wsdl:portType name="Stock">
+ <wsdl:operation name="getPrice">
+ <wsdl:input name="getPrice" message="ns1:getPrice">
+ </wsdl:input>
+ <wsdl:output name="getPriceResponse" message="ns1:getPriceResponse">
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:portType>
+ <wsdl:binding name="StockServiceSoapBinding" type="ns1:Stock">
+ <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+ <wsdl:operation name="getPrice">
+ <wsdlsoap:operation soapAction="" style="document"/>
+ <wsdl:input name="getPrice">
+ <wsdlsoap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="getPriceResponse">
+ <wsdlsoap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="StockService">
+ <wsdl:port name="StockPort" binding="ns1:StockServiceSoapBinding">
+ <wsdlsoap:address/>
+ </wsdl:port>
+ </wsdl:service>
+</wsdl:definitions>
Propchange: incubator/cxf/trunk/tools/javato/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/expected/expected_stock_bare.wsdl
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/cxf/trunk/tools/javato/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/expected/expected_stock_bare.wsdl
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange: incubator/cxf/trunk/tools/javato/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/expected/expected_stock_bare.wsdl
------------------------------------------------------------------------------
svn:mime-type = text/xml
Modified: incubator/cxf/trunk/tools/javato/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/expected/rpc_greeter.wsdl
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/javato/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/expected/rpc_greeter.wsdl?view=diff&rev=539517&r1=539516&r2=539517
==============================================================================
--- incubator/cxf/trunk/tools/javato/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/expected/rpc_greeter.wsdl (original)
+++ incubator/cxf/trunk/tools/javato/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/expected/rpc_greeter.wsdl Fri May 18 09:39:38 2007
@@ -1,63 +1,63 @@
-<?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="GreeterService" targetNamespace="http://cxf.apache.org/" xmlns:ns1="http://cxf.apache.org/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns2="http://jaxb.dev.java.net/array" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
- <wsdl:types>
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://jaxb.dev.java.net/array" version="1.0">
-<xs:complexType final="#all" name="stringArray">
-<xs:sequence>
-<xs:element maxOccurs="unbounded" minOccurs="0" name="item" nillable="true" type="xs:string"/>
-</xs:sequence>
-</xs:complexType>
-</xs:schema>
- </wsdl:types>
- <wsdl:message name="echoStringArrayResponse">
- <wsdl:part name="return" type="ns2:stringArray">
- </wsdl:part>
- </wsdl:message>
- <wsdl:message name="echoStringArray">
- <wsdl:part name="arg0" type="ns2:stringArray">
- </wsdl:part>
- </wsdl:message>
- <wsdl:portType name="Hello">
- <wsdl:operation name="echoStringArray">
- <wsdl:input name="echoStringArray" message="ns1:echoStringArray">
- </wsdl:input>
- <wsdl:output name="echoStringArrayResponse" message="ns1:echoStringArrayResponse">
- </wsdl:output>
- </wsdl:operation>
- </wsdl:portType>
- <wsdl:binding name="GreeterServiceSoapBinding" type="ns1:Hello">
- <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
- <wsdl:operation name="echoStringArray">
- <soap:operation soapAction="" style="rpc"/>
- <wsdl:input name="echoStringArray">
- <soap:body use="literal" namespace="http://cxf.apache.org/"/>
- </wsdl:input>
- <wsdl:output name="echoStringArrayResponse">
- <soap:body use="literal" namespace="http://cxf.apache.org/"/>
- </wsdl:output>
- </wsdl:operation>
- </wsdl:binding>
- <wsdl:service name="GreeterService">
- <wsdl:port name="HelloPort" binding="ns1:GreeterServiceSoapBinding">
- <soap:address location="http://localhost:9090"/>
- </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="GreeterService" targetNamespace="http://cxf.apache.org/" xmlns:ns1="http://cxf.apache.org/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns2="http://jaxb.dev.java.net/array" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
+ <wsdl:types>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://jaxb.dev.java.net/array" version="1.0">
+<xs:complexType final="#all" name="stringArray">
+<xs:sequence>
+<xs:element maxOccurs="unbounded" minOccurs="0" name="item" nillable="true" type="xs:string"/>
+</xs:sequence>
+</xs:complexType>
+</xs:schema>
+ </wsdl:types>
+ <wsdl:message name="echoStringArrayResponse">
+ <wsdl:part name="return" type="ns2:stringArray">
+ </wsdl:part>
+ </wsdl:message>
+ <wsdl:message name="echoStringArray">
+ <wsdl:part name="arg0" type="ns2:stringArray">
+ </wsdl:part>
+ </wsdl:message>
+ <wsdl:portType name="Hello">
+ <wsdl:operation name="echoStringArray">
+ <wsdl:input name="echoStringArray" message="ns1:echoStringArray">
+ </wsdl:input>
+ <wsdl:output name="echoStringArrayResponse" message="ns1:echoStringArrayResponse">
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:portType>
+ <wsdl:binding name="GreeterServiceSoapBinding" type="ns1:Hello">
+ <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
+ <wsdl:operation name="echoStringArray">
+ <soap:operation soapAction="" style="rpc"/>
+ <wsdl:input name="echoStringArray">
+ <soap:body use="literal" namespace="http://cxf.apache.org/"/>
+ </wsdl:input>
+ <wsdl:output name="echoStringArrayResponse">
+ <soap:body use="literal" namespace="http://cxf.apache.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="GreeterService">
+ <wsdl:port name="HelloPort" binding="ns1:GreeterServiceSoapBinding">
+ <soap:address location="http://localhost:9090"/>
+ </wsdl:port>
+ </wsdl:service>
+</wsdl:definitions>
Propchange: incubator/cxf/trunk/tools/javato/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/expected/rpc_greeter.wsdl
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/cxf/trunk/tools/javato/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/expected/rpc_greeter.wsdl
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange: incubator/cxf/trunk/tools/javato/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/expected/rpc_greeter.wsdl
------------------------------------------------------------------------------
svn:mime-type = text/xml
Modified: incubator/cxf/trunk/tools/javato/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/expected/soap_header.wsdl
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/javato/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/expected/soap_header.wsdl?view=diff&rev=539517&r1=539516&r2=539517
==============================================================================
--- incubator/cxf/trunk/tools/javato/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/expected/soap_header.wsdl (original)
+++ incubator/cxf/trunk/tools/javato/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/expected/soap_header.wsdl Fri May 18 09:39:38 2007
@@ -1,169 +1,169 @@
-<!--
- 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.
--->
-<?xml version="1.0" encoding="UTF-8"?>
-<wsdl:definitions name="HeaderTesterService" targetNamespace="http://apache.org/samples/headers" xmlns:ns1="http://apache.org/samples/headers" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
- <wsdl:types>
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://apache.org/samples/headers" targetNamespace="http://apache.org/samples/headers" version="1.0">
-<xs:element name="SOAPHeaderInfo" nillable="true" type="tns:SOAPHeaderData"/>
-<xs:element name="inHeader">
-<xs:complexType>
-<xs:sequence>
-<xs:element name="requestType" type="xs:string"/>
-</xs:sequence>
-</xs:complexType>
-</xs:element>
-<xs:element name="inHeaderResponse">
-<xs:complexType>
-<xs:sequence>
-<xs:element name="responseType" type="xs:string"/>
-</xs:sequence>
-</xs:complexType>
-</xs:element>
-<xs:element name="inoutHeader">
-<xs:complexType>
-<xs:sequence>
-<xs:element name="requestType" type="xs:string"/>
-</xs:sequence>
-</xs:complexType>
-</xs:element>
-<xs:element name="inoutHeaderResponse">
-<xs:complexType>
-<xs:sequence>
-<xs:element name="responseType" type="xs:string"/>
-</xs:sequence>
-</xs:complexType>
-</xs:element>
-<xs:element name="outHeader">
-<xs:complexType>
-<xs:sequence>
-<xs:element name="requestType" type="xs:string"/>
-</xs:sequence>
-</xs:complexType>
-</xs:element>
-<xs:element name="outHeaderResponse">
-<xs:complexType>
-<xs:sequence>
-<xs:element name="responseType" type="xs:string"/>
-</xs:sequence>
-</xs:complexType>
-</xs:element>
-<xs:complexType name="SOAPHeaderData">
-<xs:sequence>
-<xs:element name="originator" type="xs:string"/>
-<xs:element name="message" type="xs:string"/>
-</xs:sequence>
-</xs:complexType>
-</xs:schema>
- </wsdl:types>
- <wsdl:message name="inHeaderResponse">
- <wsdl:part name="the_response" element="ns1:inHeaderResponse">
- </wsdl:part>
- </wsdl:message>
- <wsdl:message name="outHeader">
- <wsdl:part name="me" element="ns1:outHeader">
- </wsdl:part>
- </wsdl:message>
- <wsdl:message name="outHeaderResponse">
- <wsdl:part name="the_response" element="ns1:outHeaderResponse">
- </wsdl:part>
- <wsdl:part name="header_info" element="ns1:SOAPHeaderInfo">
- </wsdl:part>
- </wsdl:message>
- <wsdl:message name="inoutHeader">
- <wsdl:part name="me" element="ns1:inoutHeader">
- </wsdl:part>
- <wsdl:part name="header_info" element="ns1:SOAPHeaderInfo">
- </wsdl:part>
- </wsdl:message>
- <wsdl:message name="inoutHeaderResponse">
- <wsdl:part name="the_response" element="ns1:inoutHeaderResponse">
- </wsdl:part>
- <wsdl:part name="header_info" element="ns1:SOAPHeaderInfo">
- </wsdl:part>
- </wsdl:message>
- <wsdl:message name="inHeader">
- <wsdl:part name="me" element="ns1:inHeader">
- </wsdl:part>
- <wsdl:part name="header_info" element="ns1:SOAPHeaderInfo">
- </wsdl:part>
- </wsdl:message>
- <wsdl:portType name="headerTester">
- <wsdl:operation name="outHeader">
- <wsdl:input name="outHeader" message="ns1:outHeader">
- </wsdl:input>
- <wsdl:output name="outHeaderResponse" message="ns1:outHeaderResponse">
- </wsdl:output>
- </wsdl:operation>
- <wsdl:operation name="inHeader">
- <wsdl:input name="inHeader" message="ns1:inHeader">
- </wsdl:input>
- <wsdl:output name="inHeaderResponse" message="ns1:inHeaderResponse">
- </wsdl:output>
- </wsdl:operation>
- <wsdl:operation name="inoutHeader">
- <wsdl:input name="inoutHeader" message="ns1:inoutHeader">
- </wsdl:input>
- <wsdl:output name="inoutHeaderResponse" message="ns1:inoutHeaderResponse">
- </wsdl:output>
- </wsdl:operation>
- </wsdl:portType>
- <wsdl:binding name="HeaderTesterServiceSoapBinding" type="ns1:headerTester">
- <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
- <wsdl:operation name="outHeader">
- <soap:operation soapAction="" style="document"/>
- <wsdl:input name="outHeader">
- <soap:body use="literal"/>
- </wsdl:input>
- <wsdl:output name="outHeaderResponse">
- <soap:header message="ns1:outHeaderResponse" part="header_info" use="literal">
- </soap:header>
- <soap:body parts="the_response" use="literal"/>
- </wsdl:output>
- </wsdl:operation>
- <wsdl:operation name="inHeader">
- <soap:operation soapAction="" style="document"/>
- <wsdl:input name="inHeader">
- <soap:header message="ns1:inHeader" part="header_info" use="literal">
- </soap:header>
- <soap:body parts="me" use="literal"/>
- </wsdl:input>
- <wsdl:output name="inHeaderResponse">
- <soap:body use="literal"/>
- </wsdl:output>
- </wsdl:operation>
- <wsdl:operation name="inoutHeader">
- <soap:operation soapAction="" style="document"/>
- <wsdl:input name="inoutHeader">
- <soap:header message="ns1:inoutHeader" part="header_info" use="literal">
- </soap:header>
- <soap:body parts="me" use="literal"/>
- </wsdl:input>
- <wsdl:output name="inoutHeaderResponse">
- <soap:header message="ns1:inoutHeaderResponse" part="header_info" use="literal">
- </soap:header>
- <soap:body parts="the_response" use="literal"/>
- </wsdl:output>
- </wsdl:operation>
- </wsdl:binding>
- <wsdl:service name="HeaderTesterService">
- <wsdl:port name="headerTesterPort" binding="ns1:HeaderTesterServiceSoapBinding">
- <soap:address location="http://localhost:9090"/>
- </wsdl:port>
- </wsdl:service>
-</wsdl:definitions>
+<!--
+ 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.
+-->
+<?xml version="1.0" encoding="UTF-8"?>
+<wsdl:definitions name="HeaderTesterService" targetNamespace="http://apache.org/samples/headers" xmlns:ns1="http://apache.org/samples/headers" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
+ <wsdl:types>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://apache.org/samples/headers" targetNamespace="http://apache.org/samples/headers" version="1.0">
+<xs:element name="SOAPHeaderInfo" nillable="true" type="tns:SOAPHeaderData"/>
+<xs:element name="inHeader">
+<xs:complexType>
+<xs:sequence>
+<xs:element name="requestType" type="xs:string"/>
+</xs:sequence>
+</xs:complexType>
+</xs:element>
+<xs:element name="inHeaderResponse">
+<xs:complexType>
+<xs:sequence>
+<xs:element name="responseType" type="xs:string"/>
+</xs:sequence>
+</xs:complexType>
+</xs:element>
+<xs:element name="inoutHeader">
+<xs:complexType>
+<xs:sequence>
+<xs:element name="requestType" type="xs:string"/>
+</xs:sequence>
+</xs:complexType>
+</xs:element>
+<xs:element name="inoutHeaderResponse">
+<xs:complexType>
+<xs:sequence>
+<xs:element name="responseType" type="xs:string"/>
+</xs:sequence>
+</xs:complexType>
+</xs:element>
+<xs:element name="outHeader">
+<xs:complexType>
+<xs:sequence>
+<xs:element name="requestType" type="xs:string"/>
+</xs:sequence>
+</xs:complexType>
+</xs:element>
+<xs:element name="outHeaderResponse">
+<xs:complexType>
+<xs:sequence>
+<xs:element name="responseType" type="xs:string"/>
+</xs:sequence>
+</xs:complexType>
+</xs:element>
+<xs:complexType name="SOAPHeaderData">
+<xs:sequence>
+<xs:element name="originator" type="xs:string"/>
+<xs:element name="message" type="xs:string"/>
+</xs:sequence>
+</xs:complexType>
+</xs:schema>
+ </wsdl:types>
+ <wsdl:message name="inHeaderResponse">
+ <wsdl:part name="the_response" element="ns1:inHeaderResponse">
+ </wsdl:part>
+ </wsdl:message>
+ <wsdl:message name="outHeader">
+ <wsdl:part name="me" element="ns1:outHeader">
+ </wsdl:part>
+ </wsdl:message>
+ <wsdl:message name="outHeaderResponse">
+ <wsdl:part name="the_response" element="ns1:outHeaderResponse">
+ </wsdl:part>
+ <wsdl:part name="header_info" element="ns1:SOAPHeaderInfo">
+ </wsdl:part>
+ </wsdl:message>
+ <wsdl:message name="inoutHeader">
+ <wsdl:part name="me" element="ns1:inoutHeader">
+ </wsdl:part>
+ <wsdl:part name="header_info" element="ns1:SOAPHeaderInfo">
+ </wsdl:part>
+ </wsdl:message>
+ <wsdl:message name="inoutHeaderResponse">
+ <wsdl:part name="the_response" element="ns1:inoutHeaderResponse">
+ </wsdl:part>
+ <wsdl:part name="header_info" element="ns1:SOAPHeaderInfo">
+ </wsdl:part>
+ </wsdl:message>
+ <wsdl:message name="inHeader">
+ <wsdl:part name="me" element="ns1:inHeader">
+ </wsdl:part>
+ <wsdl:part name="header_info" element="ns1:SOAPHeaderInfo">
+ </wsdl:part>
+ </wsdl:message>
+ <wsdl:portType name="headerTester">
+ <wsdl:operation name="outHeader">
+ <wsdl:input name="outHeader" message="ns1:outHeader">
+ </wsdl:input>
+ <wsdl:output name="outHeaderResponse" message="ns1:outHeaderResponse">
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="inHeader">
+ <wsdl:input name="inHeader" message="ns1:inHeader">
+ </wsdl:input>
+ <wsdl:output name="inHeaderResponse" message="ns1:inHeaderResponse">
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="inoutHeader">
+ <wsdl:input name="inoutHeader" message="ns1:inoutHeader">
+ </wsdl:input>
+ <wsdl:output name="inoutHeaderResponse" message="ns1:inoutHeaderResponse">
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:portType>
+ <wsdl:binding name="HeaderTesterServiceSoapBinding" type="ns1:headerTester">
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+ <wsdl:operation name="outHeader">
+ <soap:operation soapAction="" style="document"/>
+ <wsdl:input name="outHeader">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="outHeaderResponse">
+ <soap:header message="ns1:outHeaderResponse" part="header_info" use="literal">
+ </soap:header>
+ <soap:body parts="the_response" use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="inHeader">
+ <soap:operation soapAction="" style="document"/>
+ <wsdl:input name="inHeader">
+ <soap:header message="ns1:inHeader" part="header_info" use="literal">
+ </soap:header>
+ <soap:body parts="me" use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="inHeaderResponse">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="inoutHeader">
+ <soap:operation soapAction="" style="document"/>
+ <wsdl:input name="inoutHeader">
+ <soap:header message="ns1:inoutHeader" part="header_info" use="literal">
+ </soap:header>
+ <soap:body parts="me" use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="inoutHeaderResponse">
+ <soap:header message="ns1:inoutHeaderResponse" part="header_info" use="literal">
+ </soap:header>
+ <soap:body parts="the_response" use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="HeaderTesterService">
+ <wsdl:port name="headerTesterPort" binding="ns1:HeaderTesterServiceSoapBinding">
+ <soap:address location="http://localhost:9090"/>
+ </wsdl:port>
+ </wsdl:service>
+</wsdl:definitions>
Propchange: incubator/cxf/trunk/tools/javato/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/expected/soap_header.wsdl
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/cxf/trunk/tools/javato/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/expected/soap_header.wsdl
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange: incubator/cxf/trunk/tools/javato/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/expected/soap_header.wsdl
------------------------------------------------------------------------------
svn:mime-type = text/xml
Modified: incubator/cxf/trunk/tools/javato/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/expected/stock_noanno_rpc.wsdl
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/javato/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/expected/stock_noanno_rpc.wsdl?view=diff&rev=539517&r1=539516&r2=539517
==============================================================================
--- incubator/cxf/trunk/tools/javato/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/expected/stock_noanno_rpc.wsdl (original)
+++ incubator/cxf/trunk/tools/javato/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/expected/stock_noanno_rpc.wsdl Fri May 18 09:39:38 2007
@@ -1,54 +1,54 @@
-<?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="StockService" targetNamespace="http://rpc.classnoanno.fortest.tools.cxf.apache.org/" xmlns:ns1="http://rpc.classnoanno.fortest.tools.cxf.apache.org/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
- <wsdl:message name="getPrice">
- <wsdl:part name="arg0" type="xsd:string">
- </wsdl:part>
- </wsdl:message>
- <wsdl:message name="getPriceResponse">
- <wsdl:part name="return" type="xsd:float">
- </wsdl:part>
- </wsdl:message>
- <wsdl:portType name="Stock">
- <wsdl:operation name="getPrice">
- <wsdl:input name="getPrice" message="ns1:getPrice">
- </wsdl:input>
- <wsdl:output name="getPriceResponse" message="ns1:getPriceResponse">
- </wsdl:output>
- </wsdl:operation>
- </wsdl:portType>
- <wsdl:binding name="StockServiceSoapBinding" type="ns1:Stock">
- <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
- <wsdl:operation name="getPrice">
- <soap:operation soapAction="" style="rpc"/>
- <wsdl:input name="getPrice">
- <soap:body use="literal" namespace="http://rpc.classnoanno.fortest.tools.cxf.apache.org/"/>
- </wsdl:input>
- <wsdl:output name="getPriceResponse">
- <soap:body use="literal" namespace="http://rpc.classnoanno.fortest.tools.cxf.apache.org/"/>
- </wsdl:output>
- </wsdl:operation>
- </wsdl:binding>
- <wsdl:service name="StockService">
- <wsdl:port name="StockPort" binding="ns1:StockServiceSoapBinding">
- <soap:address location="http://localhost"/>
- </wsdl:port>
- </wsdl:service>
+<?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="StockService" targetNamespace="http://rpc.classnoanno.fortest.tools.cxf.apache.org/" xmlns:ns1="http://rpc.classnoanno.fortest.tools.cxf.apache.org/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
+ <wsdl:message name="getPrice">
+ <wsdl:part name="arg0" type="xsd:string">
+ </wsdl:part>
+ </wsdl:message>
+ <wsdl:message name="getPriceResponse">
+ <wsdl:part name="return" type="xsd:float">
+ </wsdl:part>
+ </wsdl:message>
+ <wsdl:portType name="Stock">
+ <wsdl:operation name="getPrice">
+ <wsdl:input name="getPrice" message="ns1:getPrice">
+ </wsdl:input>
+ <wsdl:output name="getPriceResponse" message="ns1:getPriceResponse">
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:portType>
+ <wsdl:binding name="StockServiceSoapBinding" type="ns1:Stock">
+ <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
+ <wsdl:operation name="getPrice">
+ <soap:operation soapAction="" style="rpc"/>
+ <wsdl:input name="getPrice">
+ <soap:body use="literal" namespace="http://rpc.classnoanno.fortest.tools.cxf.apache.org/"/>
+ </wsdl:input>
+ <wsdl:output name="getPriceResponse">
+ <soap:body use="literal" namespace="http://rpc.classnoanno.fortest.tools.cxf.apache.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="StockService">
+ <wsdl:port name="StockPort" binding="ns1:StockServiceSoapBinding">
+ <soap:address location="http://localhost"/>
+ </wsdl:port>
+ </wsdl:service>
</wsdl:definitions>
Propchange: incubator/cxf/trunk/tools/javato/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/expected/stock_noanno_rpc.wsdl
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/cxf/trunk/tools/javato/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/expected/stock_noanno_rpc.wsdl
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange: incubator/cxf/trunk/tools/javato/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/expected/stock_noanno_rpc.wsdl
------------------------------------------------------------------------------
svn:mime-type = text/xml
Modified: incubator/cxf/trunk/tools/javato/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/expected/stock_noanno_wrapped.wsdl
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/javato/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/expected/stock_noanno_wrapped.wsdl?view=diff&rev=539517&r1=539516&r2=539517
==============================================================================
--- incubator/cxf/trunk/tools/javato/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/expected/stock_noanno_wrapped.wsdl (original)
+++ incubator/cxf/trunk/tools/javato/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/expected/stock_noanno_wrapped.wsdl Fri May 18 09:39:38 2007
@@ -1,70 +1,70 @@
-<!--
- 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.
--->
-<?xml version="1.0" encoding="UTF-8"?>
-<wsdl:definitions name="StockService" targetNamespace="http://docwrapped.classnoanno.fortest.tools.cxf.apache.org/" xmlns:ns1="http://docwrapped.classnoanno.fortest.tools.cxf.apache.org/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
- <wsdl:types>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://docwrapped.classnoanno.fortest.tools.cxf.apache.org/" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://docwrapped.classnoanno.fortest.tools.cxf.apache.org/">
-<xsd:element name="getPrice" type="getPrice"/>
-<xsd:complexType name="getPrice">
-<xsd:sequence>
-<xsd:element minOccurs="0" name="arg0" type="xsd:string"/>
-</xsd:sequence>
-</xsd:complexType>
-<xsd:element name="getPriceResponse" type="getPriceResponse"/>
-<xsd:complexType name="getPriceResponse">
-<xsd:sequence>
-<xsd:element name="return" type="xsd:float"/>
-</xsd:sequence>
-</xsd:complexType>
-</xsd:schema>
- </wsdl:types>
- <wsdl:message name="getPriceResponse">
- <wsdl:part name="parameters" element="ns1:getPriceResponse">
- </wsdl:part>
- </wsdl:message>
- <wsdl:message name="getPrice">
- <wsdl:part name="parameters" element="ns1:getPrice">
- </wsdl:part>
- </wsdl:message>
- <wsdl:portType name="Stock">
- <wsdl:operation name="getPrice">
- <wsdl:input name="getPrice" message="ns1:getPrice">
- </wsdl:input>
- <wsdl:output name="getPriceResponse" message="ns1:getPriceResponse">
- </wsdl:output>
- </wsdl:operation>
- </wsdl:portType>
- <wsdl:binding name="StockServiceSoapBinding" type="ns1:Stock">
- <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
- <wsdl:operation name="getPrice">
- <soap:operation soapAction="" style="document"/>
- <wsdl:input name="getPrice">
- <soap:body use="literal"/>
- </wsdl:input>
- <wsdl:output name="getPriceResponse">
- <soap:body use="literal"/>
- </wsdl:output>
- </wsdl:operation>
- </wsdl:binding>
- <wsdl:service name="StockService">
- <wsdl:port name="StockPort" binding="ns1:StockServiceSoapBinding">
- <soap:address location="http://localhost"/>
- </wsdl:port>
- </wsdl:service>
+<!--
+ 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.
+-->
+<?xml version="1.0" encoding="UTF-8"?>
+<wsdl:definitions name="StockService" targetNamespace="http://docwrapped.classnoanno.fortest.tools.cxf.apache.org/" xmlns:ns1="http://docwrapped.classnoanno.fortest.tools.cxf.apache.org/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
+ <wsdl:types>
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://docwrapped.classnoanno.fortest.tools.cxf.apache.org/" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://docwrapped.classnoanno.fortest.tools.cxf.apache.org/">
+<xsd:element name="getPrice" type="getPrice"/>
+<xsd:complexType name="getPrice">
+<xsd:sequence>
+<xsd:element minOccurs="0" name="arg0" type="xsd:string"/>
+</xsd:sequence>
+</xsd:complexType>
+<xsd:element name="getPriceResponse" type="getPriceResponse"/>
+<xsd:complexType name="getPriceResponse">
+<xsd:sequence>
+<xsd:element name="return" type="xsd:float"/>
+</xsd:sequence>
+</xsd:complexType>
+</xsd:schema>
+ </wsdl:types>
+ <wsdl:message name="getPriceResponse">
+ <wsdl:part name="parameters" element="ns1:getPriceResponse">
+ </wsdl:part>
+ </wsdl:message>
+ <wsdl:message name="getPrice">
+ <wsdl:part name="parameters" element="ns1:getPrice">
+ </wsdl:part>
+ </wsdl:message>
+ <wsdl:portType name="Stock">
+ <wsdl:operation name="getPrice">
+ <wsdl:input name="getPrice" message="ns1:getPrice">
+ </wsdl:input>
+ <wsdl:output name="getPriceResponse" message="ns1:getPriceResponse">
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:portType>
+ <wsdl:binding name="StockServiceSoapBinding" type="ns1:Stock">
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+ <wsdl:operation name="getPrice">
+ <soap:operation soapAction="" style="document"/>
+ <wsdl:input name="getPrice">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="getPriceResponse">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="StockService">
+ <wsdl:port name="StockPort" binding="ns1:StockServiceSoapBinding">
+ <soap:address location="http://localhost"/>
+ </wsdl:port>
+ </wsdl:service>
</wsdl:definitions>
Propchange: incubator/cxf/trunk/tools/javato/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/expected/stock_noanno_wrapped.wsdl
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/cxf/trunk/tools/javato/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/expected/stock_noanno_wrapped.wsdl
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange: incubator/cxf/trunk/tools/javato/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/expected/stock_noanno_wrapped.wsdl
------------------------------------------------------------------------------
svn:mime-type = text/xml
Modified: incubator/cxf/trunk/tools/jdee/pom.xml
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/jdee/pom.xml?view=diff&rev=539517&r1=539516&r2=539517
==============================================================================
--- incubator/cxf/trunk/tools/jdee/pom.xml (original)
+++ incubator/cxf/trunk/tools/jdee/pom.xml Fri May 18 09:39:38 2007
@@ -1,93 +1,93 @@
-<!--
- 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.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.apache.cxf.maven</groupId>
- <artifactId>maven-jdee-plugin</artifactId>
- <packaging>maven-plugin</packaging>
- <version>2.0-incubator-RC-SNAPSHOT</version>
- <name>Apache CXF Maven2 Plugins</name>
- <url>http://cwiki.apache.org/CXF</url>
-
- <parent>
- <groupId>org.apache.cxf</groupId>
- <artifactId>cxf-parent</artifactId>
- <version>2.0-incubator-RC-SNAPSHOT</version>
- <relativePath>../../parent/pom.xml</relativePath>
- </parent>
-
- <dependencies>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.maven</groupId>
- <artifactId>maven-plugin-api</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.maven</groupId>
- <artifactId>maven-project</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.maven</groupId>
- <artifactId>maven-artifact</artifactId>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
- <groupId>velocity</groupId>
- <artifactId>velocity</artifactId>
- </dependency>
-
- <dependency>
- <groupId>commons-io</groupId>
- <artifactId>commons-io</artifactId>
- <version>1.3</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.cxf</groupId>
- <artifactId>cxf-tools-wsdlto-core</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <dependency>
- <groupId>ant</groupId>
- <artifactId>ant</artifactId>
- </dependency>
- <dependency>
- <groupId>ant</groupId>
- <artifactId>ant-nodeps</artifactId>
- </dependency>
-
- </dependencies>
-
- <scm>
- <connection>scm:svn:http://svn.apache.org/repos/asf/incubator/cxf/trunk/codegen-plugin</connection>
- <developerConnection>scm:svn:https://svn.apache.org/repos/asf/incubator/cxf/trunk/codegen-plugin</developerConnection>
- </scm>
-
-</project>
+<!--
+ 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.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.apache.cxf.maven</groupId>
+ <artifactId>maven-jdee-plugin</artifactId>
+ <packaging>maven-plugin</packaging>
+ <version>2.0-incubator-RC-SNAPSHOT</version>
+ <name>Apache CXF Maven2 Plugins</name>
+ <url>http://cwiki.apache.org/CXF</url>
+
+ <parent>
+ <groupId>org.apache.cxf</groupId>
+ <artifactId>cxf-parent</artifactId>
+ <version>2.0-incubator-RC-SNAPSHOT</version>
+ <relativePath>../../parent/pom.xml</relativePath>
+ </parent>
+
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-plugin-api</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-project</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-artifact</artifactId>
+ <scope>provided</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>velocity</groupId>
+ <artifactId>velocity</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>commons-io</groupId>
+ <artifactId>commons-io</artifactId>
+ <version>1.3</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.cxf</groupId>
+ <artifactId>cxf-tools-wsdlto-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>ant</groupId>
+ <artifactId>ant</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>ant</groupId>
+ <artifactId>ant-nodeps</artifactId>
+ </dependency>
+
+ </dependencies>
+
+ <scm>
+ <connection>scm:svn:http://svn.apache.org/repos/asf/incubator/cxf/trunk/codegen-plugin</connection>
+ <developerConnection>scm:svn:https://svn.apache.org/repos/asf/incubator/cxf/trunk/codegen-plugin</developerConnection>
+ </scm>
+
+</project>
Propchange: incubator/cxf/trunk/tools/jdee/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/cxf/trunk/tools/jdee/pom.xml
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange: incubator/cxf/trunk/tools/jdee/pom.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Modified: incubator/cxf/trunk/tools/jdee/src/main/java/org/apache/cxf/maven_plugin/jdee/CleanMojo.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/jdee/src/main/java/org/apache/cxf/maven_plugin/jdee/CleanMojo.java?view=diff&rev=539517&r1=539516&r2=539517
==============================================================================
--- incubator/cxf/trunk/tools/jdee/src/main/java/org/apache/cxf/maven_plugin/jdee/CleanMojo.java (original)
+++ incubator/cxf/trunk/tools/jdee/src/main/java/org/apache/cxf/maven_plugin/jdee/CleanMojo.java Fri May 18 09:39:38 2007
@@ -1,60 +1,60 @@
-/**
- * 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.maven_plugin.jdee;
-
-import java.io.File;
-
-import org.apache.maven.plugin.AbstractMojo;
-import org.apache.maven.plugin.MojoExecutionException;
-import org.apache.maven.project.MavenProject;
-import org.apache.tools.ant.util.FileUtils;
-
-/**
- * A super-simple Mojo to emit JDEE project files.
- *
- * @goal clean
- * @description Outputs a JDEE project file.
- * @requiresDependencyResolution test
- */
-public class CleanMojo extends AbstractMojo {
- /**
- * The Maven Project.
- *
- * @parameter expression="${project}"
- * @required
- * @readonly
- */
- protected MavenProject project;
-
- private void cleanPrj() throws Exception {
- FileUtils.delete(new File(project.getBasedir(), "prj.el"));
- FileUtils.delete(new File(project.getBasedir(), ".jdee_sources"));
- FileUtils.delete(new File(project.getBasedir(), ".jdee_classpath"));
- }
-
- public void execute() throws MojoExecutionException {
- try {
- cleanPrj();
- } catch (Exception e) {
- getLog().debug(e);
- throw new MojoExecutionException(e.getMessage(), e);
- }
- }
-}
+/**
+ * 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.maven_plugin.jdee;
+
+import java.io.File;
+
+import org.apache.maven.plugin.AbstractMojo;
+import org.apache.maven.plugin.MojoExecutionException;
+import org.apache.maven.project.MavenProject;
+import org.apache.tools.ant.util.FileUtils;
+
+/**
+ * A super-simple Mojo to emit JDEE project files.
+ *
+ * @goal clean
+ * @description Outputs a JDEE project file.
+ * @requiresDependencyResolution test
+ */
+public class CleanMojo extends AbstractMojo {
+ /**
+ * The Maven Project.
+ *
+ * @parameter expression="${project}"
+ * @required
+ * @readonly
+ */
+ protected MavenProject project;
+
+ private void cleanPrj() throws Exception {
+ FileUtils.delete(new File(project.getBasedir(), "prj.el"));
+ FileUtils.delete(new File(project.getBasedir(), ".jdee_sources"));
+ FileUtils.delete(new File(project.getBasedir(), ".jdee_classpath"));
+ }
+
+ public void execute() throws MojoExecutionException {
+ try {
+ cleanPrj();
+ } catch (Exception e) {
+ getLog().debug(e);
+ throw new MojoExecutionException(e.getMessage(), e);
+ }
+ }
+}
Propchange: incubator/cxf/trunk/tools/jdee/src/main/java/org/apache/cxf/maven_plugin/jdee/CleanMojo.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/cxf/trunk/tools/jdee/src/main/java/org/apache/cxf/maven_plugin/jdee/CleanMojo.java
------------------------------------------------------------------------------
svn:keywords = Rev Date