OW2 Consortium
Search OW2 Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | orchestra-commits List | July 2007 Index

<--  Date Index  --> <--  Thread Index  -->

[705] branches/Orchestra_4_0/src/demos: +modify the helloTest to be complient with the Basic profile


Title: [705] branches/Orchestra_4_0/src/demos: +modify the helloTest to be complient with the Basic profile
Revision
705
Author
giraudes
Date
2007-07-23 10:29:29 +0200 (Mon, 23 Jul 2007)

Log Message

+modify the helloTest to be complient with the Basic profile

Modified Paths

Diff

Modified: branches/Orchestra_4_0/src/demos/build.xml (704 => 705)


--- branches/Orchestra_4_0/src/demos/build.xml	2007-07-20 09:43:22 UTC (rev 704)
+++ branches/Orchestra_4_0/src/demos/build.xml	2007-07-23 08:29:29 UTC (rev 705)
@@ -14,6 +14,7 @@
   <property name="orchestra.home" value="${env.ORCHESTRA_HOME}"/>
   <property name="orchestra.lib" value="${orchestra.home}/lib"/>
 
+    <echo message="CATALINA_HOME  : '${env.CATALINA_HOME}'"/>
 
 
   <!--Classpath definition-->

Modified: branches/Orchestra_4_0/src/demos/hello/hello.bpel (704 => 705)


--- branches/Orchestra_4_0/src/demos/hello/hello.bpel	2007-07-20 09:43:22 UTC (rev 704)
+++ branches/Orchestra_4_0/src/demos/hello/hello.bpel	2007-07-23 08:29:29 UTC (rev 705)
@@ -30,9 +30,16 @@
          -->
         <assign
               name="Convert_input_variables">
+
+              <copy>
+              <from><literal  xmlns:hello="http://orchestra.objectweb.org/demos/hello"><hello:sayHello>Default Say Hello</hello:sayHello></literal></from>
+             <to>$output.result</to>
+              </copy>
+
+
             <copy>
                 <from>concat('Hello ', $input.name)</from>
-                <to variable="output"  part="result"/>
+                <to>$output.result/text()</to>
            </copy>
         </assign>
 

Modified: branches/Orchestra_4_0/src/demos/hello/hello.wsdl (704 => 705)


--- branches/Orchestra_4_0/src/demos/hello/hello.wsdl	2007-07-20 09:43:22 UTC (rev 704)
+++ branches/Orchestra_4_0/src/demos/hello/hello.wsdl	2007-07-23 08:29:29 UTC (rev 705)
@@ -11,13 +11,31 @@
     <plnk:role name="hello" portType="tns:helloPT"/>
   </plnk:partnerLinkType>
 
+ <types>
+    <xsd:schema targetNamespace="http://orchestra.objectweb.org/demos/hello"
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
 
+    <xsd:element name="sayHello">
+        <xsd:complexType>
+          <xsd:sequence>
+            <xsd:element name="sayHello" type="xsd:string" />
+          </xsd:sequence>
+        </xsd:complexType>
+      </xsd:element>
+
+    </xsd:schema>
+  </types>
+
+
+
+
+
   <message name="helloRequest">
     <part name="name"  type="xsd:string" />
   </message>
 
   <message name="helloResponse">
-    <part name="result" type="xsd:string" />
+    <part name="result" element="tns:sayHello" />
   </message>
 
   <portType name="helloPT">


<--  Date Index  --> <--  Thread Index  -->

Reply via email to:

Powered by MHonArc.

Copyright © 2006-2007, OW2 Consortium | contact | webmaster.