Author: samindaw
Date: Fri Aug 23 04:22:45 2013
New Revision: 1516696
URL: http://svn.apache.org/r1516696
Log:
updating service input parameter name
Modified:
airavata/trunk/modules/xbaya-gui/src/test/resources/SimpleEcho.xwf
airavata/trunk/samples/echo-service/src/main/java/org/apache/airavata/samples/EchoService.java
Modified: airavata/trunk/modules/xbaya-gui/src/test/resources/SimpleEcho.xwf
URL:
http://svn.apache.org/viewvc/airavata/trunk/modules/xbaya-gui/src/test/resources/SimpleEcho.xwf?rev=1516696&r1=1516695&r2=1516696&view=diff
==============================================================================
--- airavata/trunk/modules/xbaya-gui/src/test/resources/SimpleEcho.xwf
(original)
+++ airavata/trunk/modules/xbaya-gui/src/test/resources/SimpleEcho.xwf Fri Aug
23 04:22:45 2013
@@ -9,15 +9,14 @@
</appinfo>
</xgr:metadata>
<xgr:node xgr:type="input">
- <xgr:id>message</xgr:id>
- <xgr:name>message</xgr:name>
+ <xgr:id>input</xgr:id>
+ <xgr:name>input</xgr:name>
<xgr:outputPort>input_out_0</xgr:outputPort>
<xgr:x>59</xgr:x>
<xgr:y>67</xgr:y>
<xgr:config>
<xgr:description></xgr:description>
<xgr:dataType>{http://www.w3.org/2001/XMLSchema}string</xgr:dataType>
- <xgr:value>Peace</xgr:value>
<xgr:visibility>true</xgr:visibility>
</xgr:config>
</xgr:node>
@@ -39,8 +38,8 @@
<xgr:inputPort>EchoServicePortType_echo_in_0</xgr:inputPort>
<xgr:controlInPort>EchoServicePortType_echo_ctrl_in_0</xgr:controlInPort>
<xgr:controlOutPort>EchoServicePortType_echo_ctrl_out_0</xgr:controlOutPort>
- <xgr:x>194</xgr:x>
- <xgr:y>130</xgr:y>
+ <xgr:x>200</xgr:x>
+ <xgr:y>112</xgr:y>
<xgr:wsdl>_</xgr:wsdl>
<xgr:portType>{http://samples.airavata.apache.org}EchoServicePortType</xgr:portType>
<xgr:operation>echo</xgr:operation>
@@ -48,7 +47,7 @@
<xgr:port xgr:type="systemData">
<xgr:id>input_out_0</xgr:id>
<xgr:name>Parameter</xgr:name>
- <xgr:node>message</xgr:node>
+ <xgr:node>input</xgr:node>
</xgr:port>
<xgr:port xgr:type="systemData">
<xgr:id>return_in_0</xgr:id>
@@ -57,7 +56,7 @@
</xgr:port>
<xgr:port xgr:type="ws">
<xgr:id>EchoServicePortType_echo_in_0</xgr:id>
- <xgr:name>message</xgr:name>
+ <xgr:name>input</xgr:name>
<xgr:node>EchoServicePortType_echo</xgr:node>
</xgr:port>
<xgr:port xgr:type="ws">
@@ -76,13 +75,13 @@
<xgr:node>EchoServicePortType_echo</xgr:node>
</xgr:port>
<xgr:edge xgr:type="data">
- <xgr:fromPort>input_out_0</xgr:fromPort>
- <xgr:toPort>EchoServicePortType_echo_in_0</xgr:toPort>
- </xgr:edge>
- <xgr:edge xgr:type="data">
<xgr:fromPort>EchoServicePortType_echo_out_0</xgr:fromPort>
<xgr:toPort>return_in_0</xgr:toPort>
</xgr:edge>
+ <xgr:edge xgr:type="data">
+ <xgr:fromPort>input_out_0</xgr:fromPort>
+ <xgr:toPort>EchoServicePortType_echo_in_0</xgr:toPort>
+ </xgr:edge>
</xgr:graph>
<xwf:wsdls>
<xwf:wsdl xwf:id="_"><wsdl:definitions
targetNamespace="http://samples.airavata.apache.org"
xmlns:ns1="http://org.apache.axis2/xsd"
xmlns:ns="http://samples.airavata.apache.org"
@@ -95,7 +94,7 @@
<xs:element name="echo">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="message"
nillable="true" type="xs:string" />
+ <xs:element minOccurs="0" name="input"
nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
@@ -158,13 +157,13 @@
</wsdl:binding>
<wsdl:service name="EchoService">
<wsdl:port name="EchoServiceHttpSoap11Endpoint"
binding="ns:EchoServiceSoap11Binding">
- <soap:address
location="http://localhost:8080/airavata-server/services/EchoService/" />
+ <soap:address
location="http://localhost:8080/airavata-server/services/EchoService.EchoServiceHttpSoap11Endpoint/"
/>
</wsdl:port>
<wsdl:port name="EchoServiceHttpSoap12Endpoint"
binding="ns:EchoServiceSoap12Binding">
- <soap12:address
location="http://localhost:8080/airavata-server/services/EchoService/" />
+ <soap12:address
location="http://localhost:8080/airavata-server/services/EchoService.EchoServiceHttpSoap12Endpoint/"
/>
</wsdl:port>
<wsdl:port name="EchoServiceHttpEndpoint"
binding="ns:EchoServiceHttpBinding">
- <http:address
location="http://localhost:8080/airavata-server/services/EchoService/" />
+ <http:address
location="http://localhost:8080/airavata-server/services/EchoService.EchoServiceHttpEndpoint/"
/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions></xwf:wsdl>
Modified:
airavata/trunk/samples/echo-service/src/main/java/org/apache/airavata/samples/EchoService.java
URL:
http://svn.apache.org/viewvc/airavata/trunk/samples/echo-service/src/main/java/org/apache/airavata/samples/EchoService.java?rev=1516696&r1=1516695&r2=1516696&view=diff
==============================================================================
---
airavata/trunk/samples/echo-service/src/main/java/org/apache/airavata/samples/EchoService.java
(original)
+++
airavata/trunk/samples/echo-service/src/main/java/org/apache/airavata/samples/EchoService.java
Fri Aug 23 04:22:45 2013
@@ -22,7 +22,7 @@
package org.apache.airavata.samples;
public class EchoService {
- public String echo(String message) {
- return message;
+ public String echo(String input) {
+ return input;
}
}