You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sm...@apache.org on 2011/12/23 06:48:35 UTC
svn commit: r1222576 - in
/incubator/airavata/branches/0.2-incubating-SNAPSHOT/samples:
complex-math-service/src/main/java/org/apache/airavata/samples/
complex-math-service/src/main/resources/
levenshtein-distance-service/src/main/java/org/apache/airav...
Author: smarru
Date: Fri Dec 23 05:48:35 2011
New Revision: 1222576
URL: http://svn.apache.org/viewvc?rev=1222576&view=rev
Log:
Adding missing license headers
Modified:
incubator/airavata/branches/0.2-incubating-SNAPSHOT/samples/complex-math-service/src/main/java/org/apache/airavata/samples/ComplexMathService.java
incubator/airavata/branches/0.2-incubating-SNAPSHOT/samples/complex-math-service/src/main/resources/ComplexMathService.wsdl
incubator/airavata/branches/0.2-incubating-SNAPSHOT/samples/levenshtein-distance-service/src/main/java/org/apache/airavata/samples/LevenshteinDistanceService.java
incubator/airavata/branches/0.2-incubating-SNAPSHOT/samples/levenshtein-distance-service/src/main/resources/LevenshteinDistanceService.wsdl
incubator/airavata/branches/0.2-incubating-SNAPSHOT/samples/simple-math-service/src/main/resources/SimpleMathService.wsdl
Modified: incubator/airavata/branches/0.2-incubating-SNAPSHOT/samples/complex-math-service/src/main/java/org/apache/airavata/samples/ComplexMathService.java
URL: http://svn.apache.org/viewvc/incubator/airavata/branches/0.2-incubating-SNAPSHOT/samples/complex-math-service/src/main/java/org/apache/airavata/samples/ComplexMathService.java?rev=1222576&r1=1222575&r2=1222576&view=diff
==============================================================================
--- incubator/airavata/branches/0.2-incubating-SNAPSHOT/samples/complex-math-service/src/main/java/org/apache/airavata/samples/ComplexMathService.java (original)
+++ incubator/airavata/branches/0.2-incubating-SNAPSHOT/samples/complex-math-service/src/main/java/org/apache/airavata/samples/ComplexMathService.java Fri Dec 23 05:48:35 2011
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.airavata.samples;
public class ComplexMathService {
Modified: incubator/airavata/branches/0.2-incubating-SNAPSHOT/samples/complex-math-service/src/main/resources/ComplexMathService.wsdl
URL: http://svn.apache.org/viewvc/incubator/airavata/branches/0.2-incubating-SNAPSHOT/samples/complex-math-service/src/main/resources/ComplexMathService.wsdl?rev=1222576&r1=1222575&r2=1222576&view=diff
==============================================================================
--- incubator/airavata/branches/0.2-incubating-SNAPSHOT/samples/complex-math-service/src/main/resources/ComplexMathService.wsdl (original)
+++ incubator/airavata/branches/0.2-incubating-SNAPSHOT/samples/complex-math-service/src/main/resources/ComplexMathService.wsdl Fri Dec 23 05:48:35 2011
@@ -1,133 +1,146 @@
<?xml version="1.0" encoding="UTF-8"?>
-<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ns1="http://org.apache.axis2/xsd" xmlns:ns="http://interpreter.xbaya.airavata.apache.org" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://interpreter.xbaya.airavata.apache.org">
- <wsdl:types>
- <xs:schema attributeFormDefault="qualified" elementFormDefault="unqualified" targetNamespace="http://interpreter.xbaya.airavata.apache.org">
- <xs:element name="multiplier">
- <xs:complexType>
- <xs:sequence>
- <xs:element minOccurs="0" name="param1" type="xs:int"/>
- <xs:element minOccurs="0" name="param2" type="xs:int"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="multiplierResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element minOccurs="0" name="return" type="xs:int"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="adder">
- <xs:complexType>
- <xs:sequence>
- <xs:element minOccurs="0" name="param1" type="xs:int"/>
- <xs:element minOccurs="0" name="param2" type="xs:int"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="adderResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element minOccurs="0" name="return" type="xs:int"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:schema>
- </wsdl:types>
- <wsdl:message name="adderRequest">
- <wsdl:part name="parameters" element="ns:adder"/>
- </wsdl:message>
- <wsdl:message name="adderResponse">
- <wsdl:part name="parameters" element="ns:adderResponse"/>
- </wsdl:message>
- <wsdl:message name="multiplierRequest">
- <wsdl:part name="parameters" element="ns:multiplier"/>
- </wsdl:message>
- <wsdl:message name="multiplierResponse">
- <wsdl:part name="parameters" element="ns:multiplierResponse"/>
- </wsdl:message>
- <wsdl:portType name="ComplexMathServicePortType">
- <wsdl:operation name="adder">
- <wsdl:input message="ns:adderRequest" wsaw:Action="urn:adder"/>
- <wsdl:output message="ns:adderResponse" wsaw:Action="urn:adderResponse"/>
- </wsdl:operation>
- <wsdl:operation name="multiplier">
- <wsdl:input message="ns:multiplierRequest" wsaw:Action="urn:multiplier"/>
- <wsdl:output message="ns:multiplierResponse" wsaw:Action="urn:multiplierResponse"/>
- </wsdl:operation>
- </wsdl:portType>
- <wsdl:binding name="ComplexMathServiceSoap11Binding" type="ns:ComplexMathServicePortType">
- <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
- <wsdl:operation name="adder">
- <soap:operation soapAction="urn:adder" style="document"/>
- <wsdl:input>
- <soap:body use="literal"/>
- </wsdl:input>
- <wsdl:output>
- <soap:body use="literal"/>
- </wsdl:output>
- </wsdl:operation>
- <wsdl:operation name="multiplier">
- <soap:operation soapAction="urn:multiplier" style="document"/>
- <wsdl:input>
- <soap:body use="literal"/>
- </wsdl:input>
- <wsdl:output>
- <soap:body use="literal"/>
- </wsdl:output>
- </wsdl:operation>
- </wsdl:binding>
- <wsdl:binding name="ComplexMathServiceSoap12Binding" type="ns:ComplexMathServicePortType">
- <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
- <wsdl:operation name="adder">
- <soap12:operation soapAction="urn:adder" style="document"/>
- <wsdl:input>
- <soap12:body use="literal"/>
- </wsdl:input>
- <wsdl:output>
- <soap12:body use="literal"/>
- </wsdl:output>
- </wsdl:operation>
- <wsdl:operation name="multiplier">
- <soap12:operation soapAction="urn:multiplier" style="document"/>
- <wsdl:input>
- <soap12:body use="literal"/>
- </wsdl:input>
- <wsdl:output>
- <soap12:body use="literal"/>
- </wsdl:output>
- </wsdl:operation>
- </wsdl:binding>
- <wsdl:binding name="ComplexMathServiceHttpBinding" type="ns:ComplexMathServicePortType">
- <http:binding verb="POST"/>
- <wsdl:operation name="adder">
- <http:operation location="ComplexMathService/adder"/>
- <wsdl:input>
- <mime:content type="text/xml" part="adder"/>
- </wsdl:input>
- <wsdl:output>
- <mime:content type="text/xml" part="adder"/>
- </wsdl:output>
- </wsdl:operation>
- <wsdl:operation name="multiplier">
- <http:operation location="ComplexMathService/multiplier"/>
- <wsdl:input>
- <mime:content type="text/xml" part="multiplier"/>
- </wsdl:input>
- <wsdl:output>
- <mime:content type="text/xml" part="multiplier"/>
- </wsdl:output>
- </wsdl:operation>
- </wsdl:binding>
- <wsdl:service name="ComplexMathService">
- <wsdl:port name="ComplexMathServiceHttpSoap11Endpoint" binding="ns:ComplexMathServiceSoap11Binding">
- <soap:address location="http://localhost:8080/axis2/services/ComplexMathService/"/>
- </wsdl:port>
- <wsdl:port name="ComplexMathServiceHttpSoap12Endpoint" binding="ns:ComplexMathServiceSoap12Binding">
- <soap12:address location="http://localhost:8080/axis2/services/ComplexMathService/"/>
- </wsdl:port>
- <wsdl:port name="ComplexMathServiceHttpEndpoint" binding="ns:ComplexMathServiceHttpBinding">
- <http:address location="http://localhost:8080/axis2/services/ComplexMathService/"/>
- </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. -->
+
+<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ns1="http://org.apache.axis2/xsd"
+ xmlns:ns="http://interpreter.xbaya.airavata.apache.org" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
+ xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
+ targetNamespace="http://interpreter.xbaya.airavata.apache.org">
+ <wsdl:types>
+ <xs:schema attributeFormDefault="qualified" elementFormDefault="unqualified"
+ targetNamespace="http://interpreter.xbaya.airavata.apache.org">
+ <xs:element name="multiplier">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" name="param1" type="xs:int" />
+ <xs:element minOccurs="0" name="param2" type="xs:int" />
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="multiplierResponse">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" name="return" type="xs:int" />
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="adder">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" name="param1" type="xs:int" />
+ <xs:element minOccurs="0" name="param2" type="xs:int" />
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="adderResponse">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" name="return" type="xs:int" />
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ </xs:schema>
+ </wsdl:types>
+ <wsdl:message name="adderRequest">
+ <wsdl:part name="parameters" element="ns:adder" />
+ </wsdl:message>
+ <wsdl:message name="adderResponse">
+ <wsdl:part name="parameters" element="ns:adderResponse" />
+ </wsdl:message>
+ <wsdl:message name="multiplierRequest">
+ <wsdl:part name="parameters" element="ns:multiplier" />
+ </wsdl:message>
+ <wsdl:message name="multiplierResponse">
+ <wsdl:part name="parameters" element="ns:multiplierResponse" />
+ </wsdl:message>
+ <wsdl:portType name="ComplexMathServicePortType">
+ <wsdl:operation name="adder">
+ <wsdl:input message="ns:adderRequest" wsaw:Action="urn:adder" />
+ <wsdl:output message="ns:adderResponse" wsaw:Action="urn:adderResponse" />
+ </wsdl:operation>
+ <wsdl:operation name="multiplier">
+ <wsdl:input message="ns:multiplierRequest" wsaw:Action="urn:multiplier" />
+ <wsdl:output message="ns:multiplierResponse" wsaw:Action="urn:multiplierResponse" />
+ </wsdl:operation>
+ </wsdl:portType>
+ <wsdl:binding name="ComplexMathServiceSoap11Binding" type="ns:ComplexMathServicePortType">
+ <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
+ <wsdl:operation name="adder">
+ <soap:operation soapAction="urn:adder" style="document" />
+ <wsdl:input>
+ <soap:body use="literal" />
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" />
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="multiplier">
+ <soap:operation soapAction="urn:multiplier" style="document" />
+ <wsdl:input>
+ <soap:body use="literal" />
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" />
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:binding name="ComplexMathServiceSoap12Binding" type="ns:ComplexMathServicePortType">
+ <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
+ <wsdl:operation name="adder">
+ <soap12:operation soapAction="urn:adder" style="document" />
+ <wsdl:input>
+ <soap12:body use="literal" />
+ </wsdl:input>
+ <wsdl:output>
+ <soap12:body use="literal" />
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="multiplier">
+ <soap12:operation soapAction="urn:multiplier" style="document" />
+ <wsdl:input>
+ <soap12:body use="literal" />
+ </wsdl:input>
+ <wsdl:output>
+ <soap12:body use="literal" />
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:binding name="ComplexMathServiceHttpBinding" type="ns:ComplexMathServicePortType">
+ <http:binding verb="POST" />
+ <wsdl:operation name="adder">
+ <http:operation location="ComplexMathService/adder" />
+ <wsdl:input>
+ <mime:content type="text/xml" part="adder" />
+ </wsdl:input>
+ <wsdl:output>
+ <mime:content type="text/xml" part="adder" />
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="multiplier">
+ <http:operation location="ComplexMathService/multiplier" />
+ <wsdl:input>
+ <mime:content type="text/xml" part="multiplier" />
+ </wsdl:input>
+ <wsdl:output>
+ <mime:content type="text/xml" part="multiplier" />
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="ComplexMathService">
+ <wsdl:port name="ComplexMathServiceHttpSoap11Endpoint" binding="ns:ComplexMathServiceSoap11Binding">
+ <soap:address location="http://localhost:8080/axis2/services/ComplexMathService/" />
+ </wsdl:port>
+ <wsdl:port name="ComplexMathServiceHttpSoap12Endpoint" binding="ns:ComplexMathServiceSoap12Binding">
+ <soap12:address location="http://localhost:8080/axis2/services/ComplexMathService/" />
+ </wsdl:port>
+ <wsdl:port name="ComplexMathServiceHttpEndpoint" binding="ns:ComplexMathServiceHttpBinding">
+ <http:address location="http://localhost:8080/axis2/services/ComplexMathService/" />
+ </wsdl:port>
+ </wsdl:service>
</wsdl:definitions>
\ No newline at end of file
Modified: incubator/airavata/branches/0.2-incubating-SNAPSHOT/samples/levenshtein-distance-service/src/main/java/org/apache/airavata/samples/LevenshteinDistanceService.java
URL: http://svn.apache.org/viewvc/incubator/airavata/branches/0.2-incubating-SNAPSHOT/samples/levenshtein-distance-service/src/main/java/org/apache/airavata/samples/LevenshteinDistanceService.java?rev=1222576&r1=1222575&r2=1222576&view=diff
==============================================================================
--- incubator/airavata/branches/0.2-incubating-SNAPSHOT/samples/levenshtein-distance-service/src/main/java/org/apache/airavata/samples/LevenshteinDistanceService.java (original)
+++ incubator/airavata/branches/0.2-incubating-SNAPSHOT/samples/levenshtein-distance-service/src/main/java/org/apache/airavata/samples/LevenshteinDistanceService.java Fri Dec 23 05:48:35 2011
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.airavata.samples;
public class LevenshteinDistanceService {
@@ -13,7 +34,8 @@ public class LevenshteinDistanceService
for (int i = 1; i <= sequence1.length(); i++) {
for (int j = 1; j <= sequence2.length(); j++) {
- distance[i][j] = min(distance[i - 1][j] + 1, distance[i][j - 1] + 1, distance[i - 1][j - 1] + ((sequence1.charAt(i - 1) == sequence2.charAt(j - 1)) ? 0 : 1));
+ distance[i][j] = min(distance[i - 1][j] + 1, distance[i][j - 1] + 1, distance[i - 1][j - 1]
+ + ((sequence1.charAt(i - 1) == sequence2.charAt(j - 1)) ? 0 : 1));
}
}
Modified: incubator/airavata/branches/0.2-incubating-SNAPSHOT/samples/levenshtein-distance-service/src/main/resources/LevenshteinDistanceService.wsdl
URL: http://svn.apache.org/viewvc/incubator/airavata/branches/0.2-incubating-SNAPSHOT/samples/levenshtein-distance-service/src/main/resources/LevenshteinDistanceService.wsdl?rev=1222576&r1=1222575&r2=1222576&view=diff
==============================================================================
--- incubator/airavata/branches/0.2-incubating-SNAPSHOT/samples/levenshtein-distance-service/src/main/resources/LevenshteinDistanceService.wsdl (original)
+++ incubator/airavata/branches/0.2-incubating-SNAPSHOT/samples/levenshtein-distance-service/src/main/resources/LevenshteinDistanceService.wsdl Fri Dec 23 05:48:35 2011
@@ -1,81 +1,94 @@
<?xml version="1.0" encoding="UTF-8"?>
-<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ns1="http://org.apache.axis2/xsd" xmlns:ns="http://interpreter.xbaya.airavata.apache.org" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://interpreter.xbaya.airavata.apache.org">
- <wsdl:types>
- <xs:schema attributeFormDefault="qualified" elementFormDefault="unqualified" targetNamespace="http://interpreter.xbaya.airavata.apache.org">
- <xs:element name="computeDistance">
- <xs:complexType>
- <xs:sequence>
- <xs:element minOccurs="0" name="sequence1" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="sequence2" nillable="true" type="xs:string"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="computeDistanceResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element minOccurs="0" name="return" type="xs:int"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:schema>
- </wsdl:types>
- <wsdl:message name="computeDistanceRequest">
- <wsdl:part name="parameters" element="ns:computeDistance"/>
- </wsdl:message>
- <wsdl:message name="computeDistanceResponse">
- <wsdl:part name="parameters" element="ns:computeDistanceResponse"/>
- </wsdl:message>
- <wsdl:portType name="LevenshteinDistanceServicePortType">
- <wsdl:operation name="computeDistance">
- <wsdl:input message="ns:computeDistanceRequest" wsaw:Action="urn:computeDistance"/>
- <wsdl:output message="ns:computeDistanceResponse" wsaw:Action="urn:computeDistanceResponse"/>
- </wsdl:operation>
- </wsdl:portType>
- <wsdl:binding name="LevenshteinDistanceServiceSoap11Binding" type="ns:LevenshteinDistanceServicePortType">
- <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
- <wsdl:operation name="computeDistance">
- <soap:operation soapAction="urn:computeDistance" style="document"/>
- <wsdl:input>
- <soap:body use="literal"/>
- </wsdl:input>
- <wsdl:output>
- <soap:body use="literal"/>
- </wsdl:output>
- </wsdl:operation>
- </wsdl:binding>
- <wsdl:binding name="LevenshteinDistanceServiceSoap12Binding" type="ns:LevenshteinDistanceServicePortType">
- <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
- <wsdl:operation name="computeDistance">
- <soap12:operation soapAction="urn:computeDistance" style="document"/>
- <wsdl:input>
- <soap12:body use="literal"/>
- </wsdl:input>
- <wsdl:output>
- <soap12:body use="literal"/>
- </wsdl:output>
- </wsdl:operation>
- </wsdl:binding>
- <wsdl:binding name="LevenshteinDistanceServiceHttpBinding" type="ns:LevenshteinDistanceServicePortType">
- <http:binding verb="POST"/>
- <wsdl:operation name="computeDistance">
- <http:operation location="LevenshteinDistanceService/computeDistance"/>
- <wsdl:input>
- <mime:content type="text/xml" part="computeDistance"/>
- </wsdl:input>
- <wsdl:output>
- <mime:content type="text/xml" part="computeDistance"/>
- </wsdl:output>
- </wsdl:operation>
- </wsdl:binding>
- <wsdl:service name="LevenshteinDistanceService">
- <wsdl:port name="LevenshteinDistanceServiceHttpSoap11Endpoint" binding="ns:LevenshteinDistanceServiceSoap11Binding">
- <soap:address location="http://localhost:8080/axis2/services/LevenshteinDistanceService/"/>
- </wsdl:port>
- <wsdl:port name="LevenshteinDistanceServiceHttpSoap12Endpoint" binding="ns:LevenshteinDistanceServiceSoap12Binding">
- <soap12:address location="http://localhost:8080/axis2/services/LevenshteinDistanceService/"/>
- </wsdl:port>
- <wsdl:port name="LevenshteinDistanceServiceHttpEndpoint" binding="ns:LevenshteinDistanceServiceHttpBinding">
- <http:address location="http://localhost:8080/axis2/services/LevenshteinDistanceService/"/>
- </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. -->
+
+<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ns1="http://org.apache.axis2/xsd"
+ xmlns:ns="http://interpreter.xbaya.airavata.apache.org" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
+ xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
+ targetNamespace="http://interpreter.xbaya.airavata.apache.org">
+ <wsdl:types>
+ <xs:schema attributeFormDefault="qualified" elementFormDefault="unqualified"
+ targetNamespace="http://interpreter.xbaya.airavata.apache.org">
+ <xs:element name="computeDistance">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" name="sequence1" nillable="true" type="xs:string" />
+ <xs:element minOccurs="0" name="sequence2" nillable="true" type="xs:string" />
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="computeDistanceResponse">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" name="return" type="xs:int" />
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ </xs:schema>
+ </wsdl:types>
+ <wsdl:message name="computeDistanceRequest">
+ <wsdl:part name="parameters" element="ns:computeDistance" />
+ </wsdl:message>
+ <wsdl:message name="computeDistanceResponse">
+ <wsdl:part name="parameters" element="ns:computeDistanceResponse" />
+ </wsdl:message>
+ <wsdl:portType name="LevenshteinDistanceServicePortType">
+ <wsdl:operation name="computeDistance">
+ <wsdl:input message="ns:computeDistanceRequest" wsaw:Action="urn:computeDistance" />
+ <wsdl:output message="ns:computeDistanceResponse" wsaw:Action="urn:computeDistanceResponse" />
+ </wsdl:operation>
+ </wsdl:portType>
+ <wsdl:binding name="LevenshteinDistanceServiceSoap11Binding" type="ns:LevenshteinDistanceServicePortType">
+ <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
+ <wsdl:operation name="computeDistance">
+ <soap:operation soapAction="urn:computeDistance" style="document" />
+ <wsdl:input>
+ <soap:body use="literal" />
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" />
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:binding name="LevenshteinDistanceServiceSoap12Binding" type="ns:LevenshteinDistanceServicePortType">
+ <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
+ <wsdl:operation name="computeDistance">
+ <soap12:operation soapAction="urn:computeDistance" style="document" />
+ <wsdl:input>
+ <soap12:body use="literal" />
+ </wsdl:input>
+ <wsdl:output>
+ <soap12:body use="literal" />
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:binding name="LevenshteinDistanceServiceHttpBinding" type="ns:LevenshteinDistanceServicePortType">
+ <http:binding verb="POST" />
+ <wsdl:operation name="computeDistance">
+ <http:operation location="LevenshteinDistanceService/computeDistance" />
+ <wsdl:input>
+ <mime:content type="text/xml" part="computeDistance" />
+ </wsdl:input>
+ <wsdl:output>
+ <mime:content type="text/xml" part="computeDistance" />
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="LevenshteinDistanceService">
+ <wsdl:port name="LevenshteinDistanceServiceHttpSoap11Endpoint" binding="ns:LevenshteinDistanceServiceSoap11Binding">
+ <soap:address location="http://localhost:8080/axis2/services/LevenshteinDistanceService/" />
+ </wsdl:port>
+ <wsdl:port name="LevenshteinDistanceServiceHttpSoap12Endpoint" binding="ns:LevenshteinDistanceServiceSoap12Binding">
+ <soap12:address location="http://localhost:8080/axis2/services/LevenshteinDistanceService/" />
+ </wsdl:port>
+ <wsdl:port name="LevenshteinDistanceServiceHttpEndpoint" binding="ns:LevenshteinDistanceServiceHttpBinding">
+ <http:address location="http://localhost:8080/axis2/services/LevenshteinDistanceService/" />
+ </wsdl:port>
+ </wsdl:service>
</wsdl:definitions>
\ No newline at end of file
Modified: incubator/airavata/branches/0.2-incubating-SNAPSHOT/samples/simple-math-service/src/main/resources/SimpleMathService.wsdl
URL: http://svn.apache.org/viewvc/incubator/airavata/branches/0.2-incubating-SNAPSHOT/samples/simple-math-service/src/main/resources/SimpleMathService.wsdl?rev=1222576&r1=1222575&r2=1222576&view=diff
==============================================================================
--- incubator/airavata/branches/0.2-incubating-SNAPSHOT/samples/simple-math-service/src/main/resources/SimpleMathService.wsdl (original)
+++ incubator/airavata/branches/0.2-incubating-SNAPSHOT/samples/simple-math-service/src/main/resources/SimpleMathService.wsdl Fri Dec 23 05:48:35 2011
@@ -7,348 +7,352 @@
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:ns1="http://org.apache.axis2/xsd" xmlns:ns="http://samples.airavata.apache.org" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://samples.airavata.apache.org">
- <wsdl:documentation>
- Provide Simple Service for Testing Purpose including addition, subtraction, multiplication, array-generator
+<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ns1="http://org.apache.axis2/xsd"
+ xmlns:ns="http://samples.airavata.apache.org" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+ xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://samples.airavata.apache.org">
+ <wsdl:documentation>
+ Provide Simple Service for Testing Purpose including addition, subtraction, multiplication,
+ array-generator
</wsdl:documentation>
- <wsdl:types>
- <xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://samples.airavata.apache.org">
- <xs:element name="subtract">
- <xs:complexType>
- <xs:sequence>
- <xs:element minOccurs="0" name="x" type="xs:int"/>
- <xs:element minOccurs="0" name="y" type="xs:int"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="subtractResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element minOccurs="0" name="return" type="xs:int"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="stringArrayGenerate">
- <xs:complexType>
- <xs:sequence>
- <xs:element minOccurs="0" name="x" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="size" type="xs:int"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="stringArrayGenerateResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="xs:string"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="multiply">
- <xs:complexType>
- <xs:sequence>
- <xs:element minOccurs="0" name="x" type="xs:int"/>
- <xs:element minOccurs="0" name="y" type="xs:int"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="multiplyResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element minOccurs="0" name="return" type="xs:int"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="intArrayGenerate">
- <xs:complexType>
- <xs:sequence>
- <xs:element minOccurs="0" name="x" type="xs:int"/>
- <xs:element minOccurs="0" name="size" type="xs:int"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="intArrayGenerateResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="return" type="xs:int"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="greet">
- <xs:complexType>
- <xs:sequence>
- <xs:element minOccurs="0" name="echo" nillable="true" type="xs:string"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="greetResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element minOccurs="0" name="return" nillable="true" type="xs:string"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="add">
- <xs:complexType>
- <xs:sequence>
- <xs:element minOccurs="0" name="x" type="xs:int"/>
- <xs:element minOccurs="0" name="y" type="xs:int"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="addResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element minOccurs="0" name="return" type="xs:int"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:schema>
- </wsdl:types>
- <wsdl:message name="addRequest">
- <wsdl:part name="parameters" element="ns:add"/>
- </wsdl:message>
- <wsdl:message name="addResponse">
- <wsdl:part name="parameters" element="ns:addResponse"/>
- </wsdl:message>
- <wsdl:message name="intArrayGenerateRequest">
- <wsdl:part name="parameters" element="ns:intArrayGenerate"/>
- </wsdl:message>
- <wsdl:message name="intArrayGenerateResponse">
- <wsdl:part name="parameters" element="ns:intArrayGenerateResponse"/>
- </wsdl:message>
- <wsdl:message name="stringArrayGenerateRequest">
- <wsdl:part name="parameters" element="ns:stringArrayGenerate"/>
- </wsdl:message>
- <wsdl:message name="stringArrayGenerateResponse">
- <wsdl:part name="parameters" element="ns:stringArrayGenerateResponse"/>
- </wsdl:message>
- <wsdl:message name="greetRequest">
- <wsdl:part name="parameters" element="ns:greet"/>
- </wsdl:message>
- <wsdl:message name="greetResponse">
- <wsdl:part name="parameters" element="ns:greetResponse"/>
- </wsdl:message>
- <wsdl:message name="multiplyRequest">
- <wsdl:part name="parameters" element="ns:multiply"/>
- </wsdl:message>
- <wsdl:message name="multiplyResponse">
- <wsdl:part name="parameters" element="ns:multiplyResponse"/>
- </wsdl:message>
- <wsdl:message name="subtractRequest">
- <wsdl:part name="parameters" element="ns:subtract"/>
- </wsdl:message>
- <wsdl:message name="subtractResponse">
- <wsdl:part name="parameters" element="ns:subtractResponse"/>
- </wsdl:message>
- <wsdl:portType name="SimpleMathServicePortType">
- <wsdl:operation name="greet">
- <wsdl:input message="ns:greetRequest" wsaw:Action="urn:greet"/>
- <wsdl:output message="ns:greetResponse" wsaw:Action="urn:greetResponse"/>
- </wsdl:operation>
- <wsdl:operation name="add">
- <wsdl:input message="ns:addRequest" wsaw:Action="urn:add"/>
- <wsdl:output message="ns:addResponse" wsaw:Action="urn:addResponse"/>
- </wsdl:operation>
- <wsdl:operation name="intArrayGenerate">
- <wsdl:input message="ns:intArrayGenerateRequest" wsaw:Action="urn:intArrayGenerate"/>
- <wsdl:output message="ns:intArrayGenerateResponse" wsaw:Action="urn:intArrayGenerateResponse"/>
- </wsdl:operation>
- <wsdl:operation name="stringArrayGenerate">
- <wsdl:input message="ns:stringArrayGenerateRequest" wsaw:Action="urn:stringArrayGenerate"/>
- <wsdl:output message="ns:stringArrayGenerateResponse" wsaw:Action="urn:stringArrayGenerateResponse"/>
- </wsdl:operation>
- <wsdl:operation name="multiply">
- <wsdl:input message="ns:multiplyRequest" wsaw:Action="urn:multiply"/>
- <wsdl:output message="ns:multiplyResponse" wsaw:Action="urn:multiplyResponse"/>
- </wsdl:operation>
- <wsdl:operation name="subtract">
- <wsdl:input message="ns:subtractRequest" wsaw:Action="urn:subtract"/>
- <wsdl:output message="ns:subtractResponse" wsaw:Action="urn:subtractResponse"/>
- </wsdl:operation>
- </wsdl:portType>
- <wsdl:binding name="SimpleMathServiceSoap11Binding" type="ns:SimpleMathServicePortType">
- <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
-<wsdl:operation name="greet">
- <soap:operation soapAction="urn:greet" style="document"/>
- <wsdl:input>
- <soap:body use="literal"/>
- </wsdl:input>
- <wsdl:output>
- <soap:body use="literal"/>
- </wsdl:output>
- </wsdl:operation>
+ <wsdl:types>
+ <xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://samples.airavata.apache.org">
+ <xs:element name="subtract">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" name="x" type="xs:int" />
+ <xs:element minOccurs="0" name="y" type="xs:int" />
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="subtractResponse">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" name="return" type="xs:int" />
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="stringArrayGenerate">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" name="x" nillable="true" type="xs:string" />
+ <xs:element minOccurs="0" name="size" type="xs:int" />
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="stringArrayGenerateResponse">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="xs:string" />
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="multiply">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" name="x" type="xs:int" />
+ <xs:element minOccurs="0" name="y" type="xs:int" />
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="multiplyResponse">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" name="return" type="xs:int" />
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="intArrayGenerate">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" name="x" type="xs:int" />
+ <xs:element minOccurs="0" name="size" type="xs:int" />
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="intArrayGenerateResponse">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="return" type="xs:int" />
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="greet">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" name="echo" nillable="true" type="xs:string" />
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="greetResponse">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" name="return" nillable="true" type="xs:string" />
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="add">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" name="x" type="xs:int" />
+ <xs:element minOccurs="0" name="y" type="xs:int" />
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="addResponse">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" name="return" type="xs:int" />
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ </xs:schema>
+ </wsdl:types>
+ <wsdl:message name="addRequest">
+ <wsdl:part name="parameters" element="ns:add" />
+ </wsdl:message>
+ <wsdl:message name="addResponse">
+ <wsdl:part name="parameters" element="ns:addResponse" />
+ </wsdl:message>
+ <wsdl:message name="intArrayGenerateRequest">
+ <wsdl:part name="parameters" element="ns:intArrayGenerate" />
+ </wsdl:message>
+ <wsdl:message name="intArrayGenerateResponse">
+ <wsdl:part name="parameters" element="ns:intArrayGenerateResponse" />
+ </wsdl:message>
+ <wsdl:message name="stringArrayGenerateRequest">
+ <wsdl:part name="parameters" element="ns:stringArrayGenerate" />
+ </wsdl:message>
+ <wsdl:message name="stringArrayGenerateResponse">
+ <wsdl:part name="parameters" element="ns:stringArrayGenerateResponse" />
+ </wsdl:message>
+ <wsdl:message name="greetRequest">
+ <wsdl:part name="parameters" element="ns:greet" />
+ </wsdl:message>
+ <wsdl:message name="greetResponse">
+ <wsdl:part name="parameters" element="ns:greetResponse" />
+ </wsdl:message>
+ <wsdl:message name="multiplyRequest">
+ <wsdl:part name="parameters" element="ns:multiply" />
+ </wsdl:message>
+ <wsdl:message name="multiplyResponse">
+ <wsdl:part name="parameters" element="ns:multiplyResponse" />
+ </wsdl:message>
+ <wsdl:message name="subtractRequest">
+ <wsdl:part name="parameters" element="ns:subtract" />
+ </wsdl:message>
+ <wsdl:message name="subtractResponse">
+ <wsdl:part name="parameters" element="ns:subtractResponse" />
+ </wsdl:message>
+ <wsdl:portType name="SimpleMathServicePortType">
+ <wsdl:operation name="greet">
+ <wsdl:input message="ns:greetRequest" wsaw:Action="urn:greet" />
+ <wsdl:output message="ns:greetResponse" wsaw:Action="urn:greetResponse" />
+ </wsdl:operation>
+ <wsdl:operation name="add">
+ <wsdl:input message="ns:addRequest" wsaw:Action="urn:add" />
+ <wsdl:output message="ns:addResponse" wsaw:Action="urn:addResponse" />
+ </wsdl:operation>
+ <wsdl:operation name="intArrayGenerate">
+ <wsdl:input message="ns:intArrayGenerateRequest" wsaw:Action="urn:intArrayGenerate" />
+ <wsdl:output message="ns:intArrayGenerateResponse" wsaw:Action="urn:intArrayGenerateResponse" />
+ </wsdl:operation>
+ <wsdl:operation name="stringArrayGenerate">
+ <wsdl:input message="ns:stringArrayGenerateRequest" wsaw:Action="urn:stringArrayGenerate" />
+ <wsdl:output message="ns:stringArrayGenerateResponse" wsaw:Action="urn:stringArrayGenerateResponse" />
+ </wsdl:operation>
+ <wsdl:operation name="multiply">
+ <wsdl:input message="ns:multiplyRequest" wsaw:Action="urn:multiply" />
+ <wsdl:output message="ns:multiplyResponse" wsaw:Action="urn:multiplyResponse" />
+ </wsdl:operation>
+ <wsdl:operation name="subtract">
+ <wsdl:input message="ns:subtractRequest" wsaw:Action="urn:subtract" />
+ <wsdl:output message="ns:subtractResponse" wsaw:Action="urn:subtractResponse" />
+ </wsdl:operation>
+ </wsdl:portType>
+ <wsdl:binding name="SimpleMathServiceSoap11Binding" type="ns:SimpleMathServicePortType">
+ <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
+ <wsdl:operation name="greet">
+ <soap:operation soapAction="urn:greet" style="document" />
+ <wsdl:input>
+ <soap:body use="literal" />
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" />
+ </wsdl:output>
+ </wsdl:operation>
- <wsdl:operation name="add">
- <soap:operation soapAction="urn:add" style="document"/>
- <wsdl:input>
- <soap:body use="literal"/>
- </wsdl:input>
- <wsdl:output>
- <soap:body use="literal"/>
- </wsdl:output>
- </wsdl:operation>
- <wsdl:operation name="intArrayGenerate">
- <soap:operation soapAction="urn:intArrayGenerate" style="document"/>
- <wsdl:input>
- <soap:body use="literal"/>
- </wsdl:input>
- <wsdl:output>
- <soap:body use="literal"/>
- </wsdl:output>
- </wsdl:operation>
- <wsdl:operation name="stringArrayGenerate">
- <soap:operation soapAction="urn:stringArrayGenerate" style="document"/>
- <wsdl:input>
- <soap:body use="literal"/>
- </wsdl:input>
- <wsdl:output>
- <soap:body use="literal"/>
- </wsdl:output>
- </wsdl:operation>
- <wsdl:operation name="multiply">
- <soap:operation soapAction="urn:multiply" style="document"/>
- <wsdl:input>
- <soap:body use="literal"/>
- </wsdl:input>
- <wsdl:output>
- <soap:body use="literal"/>
- </wsdl:output>
- </wsdl:operation>
- <wsdl:operation name="subtract">
- <soap:operation soapAction="urn:subtract" style="document"/>
- <wsdl:input>
- <soap:body use="literal"/>
- </wsdl:input>
- <wsdl:output>
- <soap:body use="literal"/>
- </wsdl:output>
- </wsdl:operation>
- </wsdl:binding>
- <wsdl:binding name="SimpleMathServiceSoap12Binding" type="ns:SimpleMathServicePortType">
- <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
- <wsdl:operation name="greet">
- <soap12:operation soapAction="urn:greet" style="document"/>
- <wsdl:input>
- <soap12:body use="literal"/>
- </wsdl:input>
- <wsdl:output>
- <soap12:body use="literal"/>
- </wsdl:output>
- </wsdl:operation>
+ <wsdl:operation name="add">
+ <soap:operation soapAction="urn:add" style="document" />
+ <wsdl:input>
+ <soap:body use="literal" />
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" />
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="intArrayGenerate">
+ <soap:operation soapAction="urn:intArrayGenerate" style="document" />
+ <wsdl:input>
+ <soap:body use="literal" />
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" />
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="stringArrayGenerate">
+ <soap:operation soapAction="urn:stringArrayGenerate" style="document" />
+ <wsdl:input>
+ <soap:body use="literal" />
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" />
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="multiply">
+ <soap:operation soapAction="urn:multiply" style="document" />
+ <wsdl:input>
+ <soap:body use="literal" />
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" />
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="subtract">
+ <soap:operation soapAction="urn:subtract" style="document" />
+ <wsdl:input>
+ <soap:body use="literal" />
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" />
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:binding name="SimpleMathServiceSoap12Binding" type="ns:SimpleMathServicePortType">
+ <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
+ <wsdl:operation name="greet">
+ <soap12:operation soapAction="urn:greet" style="document" />
+ <wsdl:input>
+ <soap12:body use="literal" />
+ </wsdl:input>
+ <wsdl:output>
+ <soap12:body use="literal" />
+ </wsdl:output>
+ </wsdl:operation>
- <wsdl:operation name="add">
- <soap12:operation soapAction="urn:add" style="document"/>
- <wsdl:input>
- <soap12:body use="literal"/>
- </wsdl:input>
- <wsdl:output>
- <soap12:body use="literal"/>
- </wsdl:output>
- </wsdl:operation>
- <wsdl:operation name="intArrayGenerate">
- <soap12:operation soapAction="urn:intArrayGenerate" style="document"/>
- <wsdl:input>
- <soap12:body use="literal"/>
- </wsdl:input>
- <wsdl:output>
- <soap12:body use="literal"/>
- </wsdl:output>
- </wsdl:operation>
- <wsdl:operation name="stringArrayGenerate">
- <soap12:operation soapAction="urn:stringArrayGenerate" style="document"/>
- <wsdl:input>
- <soap12:body use="literal"/>
- </wsdl:input>
- <wsdl:output>
- <soap12:body use="literal"/>
- </wsdl:output>
- </wsdl:operation>
- <wsdl:operation name="multiply">
- <soap12:operation soapAction="urn:multiply" style="document"/>
- <wsdl:input>
- <soap12:body use="literal"/>
- </wsdl:input>
- <wsdl:output>
- <soap12:body use="literal"/>
- </wsdl:output>
- </wsdl:operation>
- <wsdl:operation name="subtract">
- <soap12:operation soapAction="urn:subtract" style="document"/>
- <wsdl:input>
- <soap12:body use="literal"/>
- </wsdl:input>
- <wsdl:output>
- <soap12:body use="literal"/>
- </wsdl:output>
- </wsdl:operation>
- </wsdl:binding>
- <wsdl:binding name="SimpleMathServiceHttpBinding" type="ns:SimpleMathServicePortType">
- <http:binding verb="POST"/>
- <wsdl:operation name="greet">
- <http:operation location="SimpleMathService/greet"/>
- <wsdl:input>
- <mime:content type="text/xml" part="greet"/>
- </wsdl:input>
- <wsdl:output>
- <mime:content type="text/xml" part="greet"/>
- </wsdl:output>
- </wsdl:operation>
+ <wsdl:operation name="add">
+ <soap12:operation soapAction="urn:add" style="document" />
+ <wsdl:input>
+ <soap12:body use="literal" />
+ </wsdl:input>
+ <wsdl:output>
+ <soap12:body use="literal" />
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="intArrayGenerate">
+ <soap12:operation soapAction="urn:intArrayGenerate" style="document" />
+ <wsdl:input>
+ <soap12:body use="literal" />
+ </wsdl:input>
+ <wsdl:output>
+ <soap12:body use="literal" />
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="stringArrayGenerate">
+ <soap12:operation soapAction="urn:stringArrayGenerate" style="document" />
+ <wsdl:input>
+ <soap12:body use="literal" />
+ </wsdl:input>
+ <wsdl:output>
+ <soap12:body use="literal" />
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="multiply">
+ <soap12:operation soapAction="urn:multiply" style="document" />
+ <wsdl:input>
+ <soap12:body use="literal" />
+ </wsdl:input>
+ <wsdl:output>
+ <soap12:body use="literal" />
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="subtract">
+ <soap12:operation soapAction="urn:subtract" style="document" />
+ <wsdl:input>
+ <soap12:body use="literal" />
+ </wsdl:input>
+ <wsdl:output>
+ <soap12:body use="literal" />
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:binding name="SimpleMathServiceHttpBinding" type="ns:SimpleMathServicePortType">
+ <http:binding verb="POST" />
+ <wsdl:operation name="greet">
+ <http:operation location="SimpleMathService/greet" />
+ <wsdl:input>
+ <mime:content type="text/xml" part="greet" />
+ </wsdl:input>
+ <wsdl:output>
+ <mime:content type="text/xml" part="greet" />
+ </wsdl:output>
+ </wsdl:operation>
- <wsdl:operation name="add">
- <http:operation location="SimpleMathService/add"/>
- <wsdl:input>
- <mime:content type="text/xml" part="add"/>
- </wsdl:input>
- <wsdl:output>
- <mime:content type="text/xml" part="add"/>
- </wsdl:output>
- </wsdl:operation>
- <wsdl:operation name="intArrayGenerate">
- <http:operation location="SimpleMathService/intArrayGenerate"/>
- <wsdl:input>
- <mime:content type="text/xml" part="intArrayGenerate"/>
- </wsdl:input>
- <wsdl:output>
- <mime:content type="text/xml" part="intArrayGenerate"/>
- </wsdl:output>
- </wsdl:operation>
- <wsdl:operation name="stringArrayGenerate">
- <http:operation location="SimpleMathService/stringArrayGenerate"/>
- <wsdl:input>
- <mime:content type="text/xml" part="stringArrayGenerate"/>
- </wsdl:input>
- <wsdl:output>
- <mime:content type="text/xml" part="stringArrayGenerate"/>
- </wsdl:output>
- </wsdl:operation>
- <wsdl:operation name="multiply">
- <http:operation location="SimpleMathService/multiply"/>
- <wsdl:input>
- <mime:content type="text/xml" part="multiply"/>
- </wsdl:input>
- <wsdl:output>
- <mime:content type="text/xml" part="multiply"/>
- </wsdl:output>
- </wsdl:operation>
- <wsdl:operation name="subtract">
- <http:operation location="SimpleMathService/subtract"/>
- <wsdl:input>
- <mime:content type="text/xml" part="subtract"/>
- </wsdl:input>
- <wsdl:output>
- <mime:content type="text/xml" part="subtract"/>
- </wsdl:output>
- </wsdl:operation>
- </wsdl:binding>
- <wsdl:service name="SimpleMathService">
- <wsdl:port name="SimpleMathServiceHttpSoap11Endpoint" binding="ns:SimpleMathServiceSoap11Binding">
- <soap:address location="http://localhost:8080/axis2/services/SimpleMathService"/>
- </wsdl:port>
- <wsdl:port name="SimpleMathServiceHttpSoap12Endpoint" binding="ns:SimpleMathServiceSoap12Binding">
- <soap12:address location="http://localhost:8080/axis2/services/SimpleMathService"/>
- </wsdl:port>
- <wsdl:port name="SimpleMathServiceHttpEndpoint" binding="ns:SimpleMathServiceHttpBinding">
- <http:address location="http://localhost:8080/axis2/services/SimpleMathService"/>
- </wsdl:port>
- </wsdl:service>
+ <wsdl:operation name="add">
+ <http:operation location="SimpleMathService/add" />
+ <wsdl:input>
+ <mime:content type="text/xml" part="add" />
+ </wsdl:input>
+ <wsdl:output>
+ <mime:content type="text/xml" part="add" />
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="intArrayGenerate">
+ <http:operation location="SimpleMathService/intArrayGenerate" />
+ <wsdl:input>
+ <mime:content type="text/xml" part="intArrayGenerate" />
+ </wsdl:input>
+ <wsdl:output>
+ <mime:content type="text/xml" part="intArrayGenerate" />
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="stringArrayGenerate">
+ <http:operation location="SimpleMathService/stringArrayGenerate" />
+ <wsdl:input>
+ <mime:content type="text/xml" part="stringArrayGenerate" />
+ </wsdl:input>
+ <wsdl:output>
+ <mime:content type="text/xml" part="stringArrayGenerate" />
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="multiply">
+ <http:operation location="SimpleMathService/multiply" />
+ <wsdl:input>
+ <mime:content type="text/xml" part="multiply" />
+ </wsdl:input>
+ <wsdl:output>
+ <mime:content type="text/xml" part="multiply" />
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="subtract">
+ <http:operation location="SimpleMathService/subtract" />
+ <wsdl:input>
+ <mime:content type="text/xml" part="subtract" />
+ </wsdl:input>
+ <wsdl:output>
+ <mime:content type="text/xml" part="subtract" />
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="SimpleMathService">
+ <wsdl:port name="SimpleMathServiceHttpSoap11Endpoint" binding="ns:SimpleMathServiceSoap11Binding">
+ <soap:address location="http://localhost:8080/axis2/services/SimpleMathService" />
+ </wsdl:port>
+ <wsdl:port name="SimpleMathServiceHttpSoap12Endpoint" binding="ns:SimpleMathServiceSoap12Binding">
+ <soap12:address location="http://localhost:8080/axis2/services/SimpleMathService" />
+ </wsdl:port>
+ <wsdl:port name="SimpleMathServiceHttpEndpoint" binding="ns:SimpleMathServiceHttpBinding">
+ <http:address location="http://localhost:8080/axis2/services/SimpleMathService" />
+ </wsdl:port>
+ </wsdl:service>
</wsdl:definitions>