You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by la...@apache.org on 2011/10/12 17:09:03 UTC
svn commit: r1182418 - in /incubator/airavata/trunk: ./
samples/simple-math-service/ samples/simple-math-service/src/main/resources/
Author: lahiru
Date: Wed Oct 12 15:09:02 2011
New Revision: 1182418
URL: http://svn.apache.org/viewvc?rev=1182418&view=rev
Log:
fixing https://issues.apache.org/jira/browse/AIRAVATA-139.
Added:
incubator/airavata/trunk/samples/simple-math-service/README.txt
Modified:
incubator/airavata/trunk/pom.xml
incubator/airavata/trunk/samples/simple-math-service/pom.xml
incubator/airavata/trunk/samples/simple-math-service/src/main/resources/SimpleMathService.wsdl
incubator/airavata/trunk/samples/simple-math-service/src/main/resources/services.xml
Modified: incubator/airavata/trunk/pom.xml
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/pom.xml?rev=1182418&r1=1182417&r2=1182418&view=diff
==============================================================================
--- incubator/airavata/trunk/pom.xml (original)
+++ incubator/airavata/trunk/pom.xml Wed Oct 12 15:09:02 2011
@@ -231,6 +231,7 @@
<module>modules/ws-messenger</module>
<module>modules/xbaya-gui</module>
<module>modules/commons</module>
+ <module>samples/simple-math-service</module>
<module>modules/distribution</module>
</modules>
</profile>
Added: incubator/airavata/trunk/samples/simple-math-service/README.txt
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/samples/simple-math-service/README.txt?rev=1182418&view=auto
==============================================================================
--- incubator/airavata/trunk/samples/simple-math-service/README.txt (added)
+++ incubator/airavata/trunk/samples/simple-math-service/README.txt Wed Oct 12 15:09:02 2011
@@ -0,0 +1,7 @@
+Simple Math Service Quick Start Guide- Sample 1
+=================================
+
+This is a sample web service implemented to host on Axis2 Container. This service will be available in Airavata pack to run the sample workflows etc.
+
+If you want to modify this service you can use the maven build provided and create the modified .aar file by running mvn clean install.
+
Modified: incubator/airavata/trunk/samples/simple-math-service/pom.xml
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/samples/simple-math-service/pom.xml?rev=1182418&r1=1182417&r2=1182418&view=diff
==============================================================================
--- incubator/airavata/trunk/samples/simple-math-service/pom.xml (original)
+++ incubator/airavata/trunk/samples/simple-math-service/pom.xml Wed Oct 12 15:09:02 2011
@@ -25,7 +25,7 @@
<url>http://incubator.apache.org/airavata/index.html</url>
<properties>
- <axis2.version>1.5.4</axis2.version>
+ <axis2.version>1.5.1</axis2.version>
</properties>
<dependencies>
Modified: incubator/airavata/trunk/samples/simple-math-service/src/main/resources/SimpleMathService.wsdl
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/samples/simple-math-service/src/main/resources/SimpleMathService.wsdl?rev=1182418&r1=1182417&r2=1182418&view=diff
==============================================================================
--- incubator/airavata/trunk/samples/simple-math-service/src/main/resources/SimpleMathService.wsdl (original)
+++ incubator/airavata/trunk/samples/simple-math-service/src/main/resources/SimpleMathService.wsdl Wed Oct 12 15:09:02 2011
@@ -5,20 +5,6 @@
</wsdl:documentation>
<wsdl:types>
<xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://samples.airavata.apache.org">
- <xs:element name="test">
- <xs:complexType>
- <xs:sequence>
- <xs:element minOccurs="0" name="input" nillable="true" type="xs:string"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="testResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element minOccurs="0" name="return" nillable="true" type="xs:string"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
<xs:element name="subtract">
<xs:complexType>
<xs:sequence>
@@ -116,12 +102,6 @@
<wsdl:message name="addResponse">
<wsdl:part name="parameters" element="ns:addResponse"/>
</wsdl:message>
- <wsdl:message name="testRequest">
- <wsdl:part name="parameters" element="ns:test"/>
- </wsdl:message>
- <wsdl:message name="testResponse">
- <wsdl:part name="parameters" element="ns:testResponse"/>
- </wsdl:message>
<wsdl:message name="intArrayGenerateRequest">
<wsdl:part name="parameters" element="ns:intArrayGenerate"/>
</wsdl:message>
@@ -161,10 +141,6 @@
<wsdl:input message="ns:addRequest" wsaw:Action="urn:add"/>
<wsdl:output message="ns:addResponse" wsaw:Action="urn:addResponse"/>
</wsdl:operation>
- <wsdl:operation name="test">
- <wsdl:input message="ns:testRequest" wsaw:Action="urn:test"/>
- <wsdl:output message="ns:testResponse" wsaw:Action="urn:testResponse"/>
- </wsdl:operation>
<wsdl:operation name="intArrayGenerate">
<wsdl:input message="ns:intArrayGenerateRequest" wsaw:Action="urn:intArrayGenerate"/>
<wsdl:output message="ns:intArrayGenerateResponse" wsaw:Action="urn:intArrayGenerateResponse"/>
@@ -203,15 +179,6 @@
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
- <wsdl:operation name="test">
- <soap:operation soapAction="urn:test" 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>
@@ -270,15 +237,6 @@
<soap12:body use="literal"/>
</wsdl:output>
</wsdl:operation>
- <wsdl:operation name="test">
- <soap12:operation soapAction="urn:test" 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>
@@ -337,15 +295,6 @@
<mime:content type="text/xml" part="add"/>
</wsdl:output>
</wsdl:operation>
- <wsdl:operation name="test">
- <http:operation location="SimpleMathService/test"/>
- <wsdl:input>
- <mime:content type="text/xml" part="test"/>
- </wsdl:input>
- <wsdl:output>
- <mime:content type="text/xml" part="test"/>
- </wsdl:output>
- </wsdl:operation>
<wsdl:operation name="intArrayGenerate">
<http:operation location="SimpleMathService/intArrayGenerate"/>
<wsdl:input>
Modified: incubator/airavata/trunk/samples/simple-math-service/src/main/resources/services.xml
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/samples/simple-math-service/src/main/resources/services.xml?rev=1182418&r1=1182417&r2=1182418&view=diff
==============================================================================
--- incubator/airavata/trunk/samples/simple-math-service/src/main/resources/services.xml (original)
+++ incubator/airavata/trunk/samples/simple-math-service/src/main/resources/services.xml Wed Oct 12 15:09:02 2011
@@ -7,6 +7,6 @@
<messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-out" class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/>
</messageReceivers>
<parameter name="ServiceClass" locked="false">org.apache.airavata.samples.SimpleMathService</parameter>
-<!--parameter name="useOriginalwsdl">false</parameter>
- <parameter name="modifyUserWSDLPortAddress">false</parameter-->
+ <parameter name="useOriginalwsdl">false</parameter>
+ <parameter name="modifyUserWSDLPortAddress">false</parameter>
</service>