diff options
author | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2009-07-21 07:23:32 +0000 |
---|---|---|
committer | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2009-07-21 07:23:32 +0000 |
commit | a0eb4b4e3a0951dda343c3edf8dadc70c73302b7 (patch) | |
tree | 9d791d19d32944a1dac702b206f7f2a69bfb01af /maven-plugins/trunk/maven-java2wsdl-plugin/src | |
parent | ab6904bc2f622129bc548391745b08eb0c219e57 (diff) |
Fix svn:eol-style and svn:keywords properties for java/xml files
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@796168 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'maven-plugins/trunk/maven-java2wsdl-plugin/src')
2 files changed, 107 insertions, 107 deletions
diff --git a/maven-plugins/trunk/maven-java2wsdl-plugin/src/test/java/org/apache/tuscany/maven/java2wsdl/generate/ExampleService.java b/maven-plugins/trunk/maven-java2wsdl-plugin/src/test/java/org/apache/tuscany/maven/java2wsdl/generate/ExampleService.java index f90423f1d8..09ddc7c5fd 100644 --- a/maven-plugins/trunk/maven-java2wsdl-plugin/src/test/java/org/apache/tuscany/maven/java2wsdl/generate/ExampleService.java +++ b/maven-plugins/trunk/maven-java2wsdl-plugin/src/test/java/org/apache/tuscany/maven/java2wsdl/generate/ExampleService.java @@ -1,31 +1,31 @@ -/*
- * 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.tuscany.maven.java2wsdl.generate;
-
-import org.oasisopen.sca.annotation.OneWay;
-
-public interface ExampleService {
-
- void sayHelloTwoWay(String name);
-
- @OneWay
- void sayHelloOneWay(String name);
-
- String getGreeting();
-}
+/* + * 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.tuscany.maven.java2wsdl.generate; + +import org.oasisopen.sca.annotation.OneWay; + +public interface ExampleService { + + void sayHelloTwoWay(String name); + + @OneWay + void sayHelloOneWay(String name); + + String getGreeting(); +} diff --git a/maven-plugins/trunk/maven-java2wsdl-plugin/src/test/resources/CreditScoreDocLit.wsdl b/maven-plugins/trunk/maven-java2wsdl-plugin/src/test/resources/CreditScoreDocLit.wsdl index 09d1a58589..c51135e1e6 100644 --- a/maven-plugins/trunk/maven-java2wsdl-plugin/src/test/resources/CreditScoreDocLit.wsdl +++ b/maven-plugins/trunk/maven-java2wsdl-plugin/src/test/resources/CreditScoreDocLit.wsdl @@ -1,76 +1,76 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Copyright (c) 2005 The Apache Software Foundation or its licensors, as applicable.
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
- -->
-<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
- xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
- xmlns:tns="http://www.example.org/creditscore/doclit/"
- xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="CreditScore"
- targetNamespace="http://www.example.org/creditscore/doclit/">
- <wsdl:types>
- <xsd:schema
- targetNamespace="http://www.example.org/creditscore/doclit/"
- xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <xsd:element name="getCreditScoreRequest" type="tns:Customer" />
- <xsd:complexType name="Customer">
- <xsd:sequence>
- <xsd:element name="ssn" type="xsd:string" />
- <xsd:element name="firstName" type="xsd:string" />
- <xsd:element name="lastName" type="xsd:string" />
- </xsd:sequence>
- </xsd:complexType>
- <xsd:element name="getCreditScoreResponse" type="tns:CreditReport"/>
- <xsd:complexType name="CreditReport">
- <xsd:sequence>
- <xsd:element name="score" type="xsd:int"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:schema>
- </wsdl:types>
- <wsdl:message name="getCreditScoreResponse">
- <wsdl:part element="tns:getCreditScoreResponse"
- name="getCreditScoreResponse" />
- </wsdl:message>
- <wsdl:message name="getCreditScoreRequest">
- <wsdl:part element="tns:getCreditScoreRequest"
- name="getCreditScoreRequest" />
- </wsdl:message>
- <wsdl:portType name="CreditScoreDocLit">
- <wsdl:operation name="getCreditScore">
- <wsdl:input message="tns:getCreditScoreRequest" />
- <wsdl:output message="tns:getCreditScoreResponse" />
- </wsdl:operation>
- </wsdl:portType>
- <wsdl:binding name="CreditScoreDocLitSOAP" type="tns:CreditScoreDocLit">
- <soap:binding style="document"
- transport="http://schemas.xmlsoap.org/soap/http" />
- <wsdl:operation name="getCreditScore">
- <soap:operation
- soapAction="http://www.example.org/creditscore/doclit/getCreditScore" />
- <wsdl:input>
- <soap:body parts="getCreditScoreRequest" use="literal" />
- </wsdl:input>
- <wsdl:output>
- <soap:body parts="getCreditScoreResponse" use="literal" />
- </wsdl:output>
- </wsdl:operation>
- </wsdl:binding>
- <wsdl:service name="CreditScore">
- <wsdl:port binding="tns:CreditScoreDocLitSOAP"
- name="CreditScoreDocLitSOAP">
- <soap:address location="http://www.example.org/" />
- </wsdl:port>
- </wsdl:service>
-</wsdl:definitions>
+<?xml version="1.0" encoding="UTF-8"?> +<!-- + Copyright (c) 2005 The Apache Software Foundation or its licensors, as applicable. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + --> +<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" + xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" + xmlns:tns="http://www.example.org/creditscore/doclit/" + xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="CreditScore" + targetNamespace="http://www.example.org/creditscore/doclit/"> + <wsdl:types> + <xsd:schema + targetNamespace="http://www.example.org/creditscore/doclit/" + xmlns:xsd="http://www.w3.org/2001/XMLSchema"> + <xsd:element name="getCreditScoreRequest" type="tns:Customer" /> + <xsd:complexType name="Customer"> + <xsd:sequence> + <xsd:element name="ssn" type="xsd:string" /> + <xsd:element name="firstName" type="xsd:string" /> + <xsd:element name="lastName" type="xsd:string" /> + </xsd:sequence> + </xsd:complexType> + <xsd:element name="getCreditScoreResponse" type="tns:CreditReport"/> + <xsd:complexType name="CreditReport"> + <xsd:sequence> + <xsd:element name="score" type="xsd:int"/> + </xsd:sequence> + </xsd:complexType> + </xsd:schema> + </wsdl:types> + <wsdl:message name="getCreditScoreResponse"> + <wsdl:part element="tns:getCreditScoreResponse" + name="getCreditScoreResponse" /> + </wsdl:message> + <wsdl:message name="getCreditScoreRequest"> + <wsdl:part element="tns:getCreditScoreRequest" + name="getCreditScoreRequest" /> + </wsdl:message> + <wsdl:portType name="CreditScoreDocLit"> + <wsdl:operation name="getCreditScore"> + <wsdl:input message="tns:getCreditScoreRequest" /> + <wsdl:output message="tns:getCreditScoreResponse" /> + </wsdl:operation> + </wsdl:portType> + <wsdl:binding name="CreditScoreDocLitSOAP" type="tns:CreditScoreDocLit"> + <soap:binding style="document" + transport="http://schemas.xmlsoap.org/soap/http" /> + <wsdl:operation name="getCreditScore"> + <soap:operation + soapAction="http://www.example.org/creditscore/doclit/getCreditScore" /> + <wsdl:input> + <soap:body parts="getCreditScoreRequest" use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body parts="getCreditScoreResponse" use="literal" /> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:service name="CreditScore"> + <wsdl:port binding="tns:CreditScoreDocLitSOAP" + name="CreditScoreDocLitSOAP"> + <soap:address location="http://www.example.org/" /> + </wsdl:port> + </wsdl:service> +</wsdl:definitions> |