You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by ti...@apache.org on 2007/05/06 21:22:35 UTC

svn commit: r535646 - in /webservices/synapse/trunk/java: ./ modules/core/src/main/java/org/apache/synapse/mediators/builtin/ modules/samples/services/ReliableStockQuoteService/ modules/samples/services/ReliableStockQuoteService/conf/ modules/samples/s...

Author: tijs
Date: Sun May  6 12:22:33 2007
New Revision: 535646

URL: http://svn.apache.org/viewvc?view=rev&rev=535646
Log: (empty)

Added:
    webservices/synapse/trunk/java/modules/samples/services/ReliableStockQuoteService/
    webservices/synapse/trunk/java/modules/samples/services/ReliableStockQuoteService/build.xml
    webservices/synapse/trunk/java/modules/samples/services/ReliableStockQuoteService/conf/
    webservices/synapse/trunk/java/modules/samples/services/ReliableStockQuoteService/conf/services.xml
    webservices/synapse/trunk/java/modules/samples/services/ReliableStockQuoteService/src/
    webservices/synapse/trunk/java/modules/samples/services/ReliableStockQuoteService/src/samples/
    webservices/synapse/trunk/java/modules/samples/services/ReliableStockQuoteService/src/samples/services/
    webservices/synapse/trunk/java/modules/samples/services/ReliableStockQuoteService/src/samples/services/GetQuote.java
    webservices/synapse/trunk/java/modules/samples/services/ReliableStockQuoteService/src/samples/services/GetQuoteResponse.java
    webservices/synapse/trunk/java/modules/samples/services/ReliableStockQuoteService/src/samples/services/PlaceOrder.java
    webservices/synapse/trunk/java/modules/samples/services/ReliableStockQuoteService/src/samples/services/ReliableStockQuoteService.java
    webservices/synapse/trunk/java/modules/samples/services/ReliableStockQuoteService/wsdl/
    webservices/synapse/trunk/java/modules/samples/services/ReliableStockQuoteService/wsdl/ReliableStockQuoteService.wsdl
Modified:
    webservices/synapse/trunk/java/   (props changed)
    webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/builtin/RMSequenceMediator.java
    webservices/synapse/trunk/java/pom.xml

Propchange: webservices/synapse/trunk/java/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Sun May  6 12:22:33 2007
@@ -1,4 +1,7 @@
-target
 *.iml
 *.ipr
 *.iws
+bin
+lib
+.settings
+target

Modified: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/builtin/RMSequenceMediator.java
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/builtin/RMSequenceMediator.java?view=diff&rev=535646&r1=535645&r2=535646
==============================================================================
--- webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/builtin/RMSequenceMediator.java (original)
+++ webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/builtin/RMSequenceMediator.java Sun May  6 12:22:33 2007
@@ -48,7 +48,7 @@
     private String version = null;
 
     private static final String WSRM_SpecVersion_1_0 = "Spec_2005_02";
-    private static final String WSRM_SpecVersion_1_1 = "Spec_2006_08";
+    private static final String WSRM_SpecVersion_1_1 = "Spec_2007_02";
     // set sequence expiry time to 5 minutes
     private static final long SEQUENCE_EXPIRY_TIME = 300000;
     private static Map sequenceMap = Collections.synchronizedMap(new HashMap());

Added: webservices/synapse/trunk/java/modules/samples/services/ReliableStockQuoteService/build.xml
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/samples/services/ReliableStockQuoteService/build.xml?view=auto&rev=535646
==============================================================================
--- webservices/synapse/trunk/java/modules/samples/services/ReliableStockQuoteService/build.xml (added)
+++ webservices/synapse/trunk/java/modules/samples/services/ReliableStockQuoteService/build.xml Sun May  6 12:22:33 2007
@@ -0,0 +1,71 @@
+<!--
+  ~  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.
+  -->
+
+<project default="build-service">
+
+    <property name="synapse.home" value="../../../.."/>
+    <property name="lib" value="${synapse.home}/lib"/>
+    <property name="temp.dir" value="temp"/>
+    <property name="classes" value="${temp.dir}/classes"/>
+    <property name="src" value="src"/>
+    <property name="services" value="../../repository/services"/>
+
+    <path id="synapse.class.path">
+        <pathelement path="${java.class.path}"/>
+        <fileset dir="${synapse.home}">
+            <include name="lib/*.jar"/>
+        </fileset>
+    </path>
+
+    <target name="init" depends="clean">
+        <mkdir dir="${temp.dir}"/>
+        <mkdir dir="${classes}"/>
+        <mkdir dir="${services}"/>
+    </target>
+
+    <target name="clean">
+        <delete dir="${temp.dir}"/>
+    </target>
+
+    <target name="compile-all" depends="init">
+        <javac debug="on" destdir="${classes}">
+            <src path="${src}"/>
+            <classpath refid="synapse.class.path"/>
+        </javac>
+    </target>
+
+    <target name="build-service" depends="compile-all">
+        <property name="RSQ.dir" value="${temp.dir}/ReliableStockQuoteService"/>
+        <mkdir dir="${RSQ.dir}"/>
+
+        <mkdir dir="${RSQ.dir}/META-INF"/>
+        <copy file="conf/services.xml" tofile="${RSQ.dir}/META-INF/services.xml"/>
+        <copy file="wsdl/SimpleStockQuoteService.wsdl" tofile="${RSQ.dir}/META-INF/service.wsdl"/>
+        <copy toDir="${RSQ.dir}">
+            <fileset dir="${classes}">
+                <include name="**/*.class"/>
+            </fileset>
+        </copy>
+
+        <jar destfile="${services}/ReliableStockQuoteService.aar">
+            <fileset dir="${RSQ.dir}"/>
+        </jar>
+    </target>
+
+</project>
\ No newline at end of file

Added: webservices/synapse/trunk/java/modules/samples/services/ReliableStockQuoteService/conf/services.xml
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/samples/services/ReliableStockQuoteService/conf/services.xml?view=auto&rev=535646
==============================================================================
--- webservices/synapse/trunk/java/modules/samples/services/ReliableStockQuoteService/conf/services.xml (added)
+++ webservices/synapse/trunk/java/modules/samples/services/ReliableStockQuoteService/conf/services.xml Sun May  6 12:22:33 2007
@@ -0,0 +1,55 @@
+<!--
+  ~  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.
+  -->
+
+<serviceGroup>
+<service name="ReliableStockQuoteService">
+	<module ref="sandesha2"/>
+	
+    <messageReceivers>
+    <messageReceiver mep="http://www.w3.org/ns/wsdl/in-only"
+            class="org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver" />
+    <messageReceiver mep="http://www.w3.org/ns/wsdl/in-out"
+            class="org.apache.axis2.rpc.receivers.RPCMessageReceiver" />
+    </messageReceivers>
+    <parameter locked="false" name="ServiceClass">samples.services.ReliableStockQuoteService</parameter>
+    <operation name="placeOrder">
+        <messageReceiver class="org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver"/>
+        <actionMapping>urn:placeOrder</actionMapping>
+    </operation>
+    <operation name="getQuote">
+        <messageReceiver class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/>
+        <actionMapping>urn:getQuote</actionMapping>
+    </operation>
+    <supported-policy-namespaces namespaces="http://ws.apache.org/sandesha2/policy" />
+
+	<wsp:Policy xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" 
+		xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
+	    xmlns:wsrm="http://ws.apache.org/sandesha2/policy" wsu:Id="RMPolicy">
+	        
+	    <!-- Following policy value has been overrided from the default values.-->> 
+	    <wsrm:AcknowledgementInterval>3500</wsrm:AcknowledgementInterval>
+	    <wsrm:RetransmissionInterval>6000</wsrm:RetransmissionInterval>
+	    <wsrm:InactivityTimeout>1</wsrm:InactivityTimeout>
+	    <wsrm:InactivityTimeoutMeasure>minutes</wsrm:InactivityTimeoutMeasure>
+	    <wsrm:InvokeInOrder>true</wsrm:InvokeInOrder>
+	   
+	</wsp:Policy>
+
+</service>
+</serviceGroup>
\ No newline at end of file

Added: webservices/synapse/trunk/java/modules/samples/services/ReliableStockQuoteService/src/samples/services/GetQuote.java
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/samples/services/ReliableStockQuoteService/src/samples/services/GetQuote.java?view=auto&rev=535646
==============================================================================
--- webservices/synapse/trunk/java/modules/samples/services/ReliableStockQuoteService/src/samples/services/GetQuote.java (added)
+++ webservices/synapse/trunk/java/modules/samples/services/ReliableStockQuoteService/src/samples/services/GetQuote.java Sun May  6 12:22:33 2007
@@ -0,0 +1,38 @@
+/*
+ *  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 samples.services;
+
+public class GetQuote {
+    String symbol;
+
+    public GetQuote() {
+    }
+
+    public GetQuote(String symbol) {
+        this.symbol = symbol;
+    }
+
+    public String getSymbol() {
+        return symbol;
+    }
+
+    public void setSymbol(String symbol) {
+        this.symbol = symbol;
+    }
+}

Added: webservices/synapse/trunk/java/modules/samples/services/ReliableStockQuoteService/src/samples/services/GetQuoteResponse.java
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/samples/services/ReliableStockQuoteService/src/samples/services/GetQuoteResponse.java?view=auto&rev=535646
==============================================================================
--- webservices/synapse/trunk/java/modules/samples/services/ReliableStockQuoteService/src/samples/services/GetQuoteResponse.java (added)
+++ webservices/synapse/trunk/java/modules/samples/services/ReliableStockQuoteService/src/samples/services/GetQuoteResponse.java Sun May  6 12:22:33 2007
@@ -0,0 +1,177 @@
+/*
+ *  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 samples.services;
+
+import java.util.Date;
+
+public class GetQuoteResponse {
+    String symbol;
+    double last;
+    String lastTradeTimestamp;
+    double change;
+    double open;
+    double high;
+    double low;
+    int volume;
+    double marketCap;
+    double prevClose;
+    double percentageChange;
+    double earnings;
+    double peRatio;
+    String name;
+
+    public GetQuoteResponse() {
+    }
+
+    public GetQuoteResponse(String symbol) {
+        this.symbol = symbol;
+        this.last = getRandom(100, 0.9, true);
+        this.lastTradeTimestamp = new Date().toString();
+        this.change = getRandom(3, 0.5, false);
+        this.open = getRandom(last, 0.05, false);
+        this.high = getRandom(last, 0.05, false);
+        this.low = getRandom(last, 0.05, false);
+        this.volume = (int) getRandom(10000, 1.0, true);
+        this.marketCap = getRandom(10E6, 5.0, false);
+        this.prevClose = getRandom(last, 0.15, false);
+        this.percentageChange = change / prevClose * 100;
+        this.earnings = getRandom(10, 0.4, false);
+        this.peRatio = getRandom(20, 0.30, false);
+        this.name = symbol + " Company";
+    }
+
+    public String getSymbol() {
+        return symbol;
+    }
+
+    public void setSymbol(String symbol) {
+        this.symbol = symbol;
+    }
+
+    public double getLast() {
+        return last;
+    }
+
+    public void setLast(double last) {
+        this.last = last;
+    }
+
+    public String getLastTradeTimestamp() {
+        return lastTradeTimestamp;
+    }
+
+    public void setLastTradeTimestamp(String lastTradeTimestamp) {
+        this.lastTradeTimestamp = lastTradeTimestamp;
+    }
+
+    public double getChange() {
+        return change;
+    }
+
+    public void setChange(double change) {
+        this.change = change;
+    }
+
+    public double getOpen() {
+        return open;
+    }
+
+    public void setOpen(double open) {
+        this.open = open;
+    }
+
+    public double getHigh() {
+        return high;
+    }
+
+    public void setHigh(double high) {
+        this.high = high;
+    }
+
+    public double getLow() {
+        return low;
+    }
+
+    public void setLow(double low) {
+        this.low = low;
+    }
+
+    public int getVolume() {
+        return volume;
+    }
+
+    public void setVolume(int volume) {
+        this.volume = volume;
+    }
+
+    public double getMarketCap() {
+        return marketCap;
+    }
+
+    public void setMarketCap(double marketCap) {
+        this.marketCap = marketCap;
+    }
+
+    public double getPrevClose() {
+        return prevClose;
+    }
+
+    public void setPrevClose(double prevClose) {
+        this.prevClose = prevClose;
+    }
+
+    public double getPercentageChange() {
+        return percentageChange;
+    }
+
+    public void setPercentageChange(double percentageChange) {
+        this.percentageChange = percentageChange;
+    }
+
+    public double getEarnings() {
+        return earnings;
+    }
+
+    public void setEarnings(double earnings) {
+        this.earnings = earnings;
+    }
+
+    public double getPeRatio() {
+        return peRatio;
+    }
+
+    public void setPeRatio(double peRatio) {
+        this.peRatio = peRatio;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    public void setName(String name) {
+        this.name = name;
+    }
+
+    private static double getRandom(double base, double varience, boolean onlypositive) {
+        double rand = Math.random();
+        return (base + ((rand > 0.5 ? 1 : -1) * varience * base * rand))
+            * (onlypositive ? 1 : (rand > 0.5 ? 1 : -1));
+    }
+
+}

Added: webservices/synapse/trunk/java/modules/samples/services/ReliableStockQuoteService/src/samples/services/PlaceOrder.java
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/samples/services/ReliableStockQuoteService/src/samples/services/PlaceOrder.java?view=auto&rev=535646
==============================================================================
--- webservices/synapse/trunk/java/modules/samples/services/ReliableStockQuoteService/src/samples/services/PlaceOrder.java (added)
+++ webservices/synapse/trunk/java/modules/samples/services/ReliableStockQuoteService/src/samples/services/PlaceOrder.java Sun May  6 12:22:33 2007
@@ -0,0 +1,49 @@
+/*
+ *  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 samples.services;
+
+public class PlaceOrder {
+    String symbol;
+    int quantity;
+    double price;
+
+    public String getSymbol() {
+        return symbol;
+    }
+
+    public void setSymbol(String symbol) {
+        this.symbol = symbol;
+    }
+
+    public int getQuantity() {
+        return quantity;
+    }
+
+    public void setQuantity(int quantity) {
+        this.quantity = quantity;
+    }
+
+    public double getPrice() {
+        return price;
+    }
+
+    public void setPrice(double price) {
+        this.price = price;
+    }
+}

Added: webservices/synapse/trunk/java/modules/samples/services/ReliableStockQuoteService/src/samples/services/ReliableStockQuoteService.java
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/samples/services/ReliableStockQuoteService/src/samples/services/ReliableStockQuoteService.java?view=auto&rev=535646
==============================================================================
--- webservices/synapse/trunk/java/modules/samples/services/ReliableStockQuoteService/src/samples/services/ReliableStockQuoteService.java (added)
+++ webservices/synapse/trunk/java/modules/samples/services/ReliableStockQuoteService/src/samples/services/ReliableStockQuoteService.java Sun May  6 12:22:33 2007
@@ -0,0 +1,37 @@
+/*
+ *  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 samples.services;
+import java.util.Date;
+
+public class ReliableStockQuoteService {
+
+    // in-out
+    public GetQuoteResponse getQuote(GetQuote request) {
+        System.out.println(new Date() + " " + this.getClass().getName() +
+            " :: Generating quote for : " + request.getSymbol());
+        return new GetQuoteResponse(request.getSymbol());
+    }
+
+    // in only
+    public void placeOrder(PlaceOrder order) {
+        System.out.println(new Date() + " " + this.getClass().getName() +
+            "  :: Accepted order for : " + order.getQuantity() +
+            " stocks of " + order.getSymbol() + " at $ " + order.getPrice());
+    }
+}

Added: webservices/synapse/trunk/java/modules/samples/services/ReliableStockQuoteService/wsdl/ReliableStockQuoteService.wsdl
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/samples/services/ReliableStockQuoteService/wsdl/ReliableStockQuoteService.wsdl?view=auto&rev=535646
==============================================================================
--- webservices/synapse/trunk/java/modules/samples/services/ReliableStockQuoteService/wsdl/ReliableStockQuoteService.wsdl (added)
+++ webservices/synapse/trunk/java/modules/samples/services/ReliableStockQuoteService/wsdl/ReliableStockQuoteService.wsdl Sun May  6 12:22:33 2007
@@ -0,0 +1,168 @@
+<!--
+  ~  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:axis2="http://services.samples"
+                  xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
+                  xmlns:ns0="http://services.samples/xsd"
+                  xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
+                  xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
+                  xmlns:ns1="http://org.apache.axis2/xsd"
+                  xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                  xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+                  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+                  targetNamespace="http://services.samples">
+    <wsdl:documentation>ReliableStockQuoteService</wsdl:documentation>
+    <wsdl:types>
+        <xs:schema xmlns:ns="http://services.samples/xsd" attributeFormDefault="qualified"
+                   elementFormDefault="qualified" targetNamespace="http://services.samples/xsd">
+		<xs:element name="GetQuoteResponse" type="ns:GetQuoteResponse"/>
+            <xs:complexType name="GetQuoteResponse">
+                <xs:sequence>
+                    <xs:element name="change" type="xs:double"/>
+                    <xs:element name="earnings" type="xs:double"/>
+                    <xs:element name="high" type="xs:double"/>
+                    <xs:element name="last" type="xs:double"/>
+                    <xs:element name="lastTradeTimestamp" nillable="true" type="xs:string"/>
+                    <xs:element name="low" type="xs:double"/>
+                    <xs:element name="marketCap" type="xs:double"/>
+                    <xs:element name="name" nillable="true" type="xs:string"/>
+                    <xs:element name="open" type="xs:double"/>
+                    <xs:element name="peRatio" type="xs:double"/>
+                    <xs:element name="percentageChange" type="xs:double"/>
+                    <xs:element name="prevClose" type="xs:double"/>
+                    <xs:element name="symbol" nillable="true" type="xs:string"/>
+
+                    <xs:element name="volume" type="xs:int"/>
+                </xs:sequence>
+            </xs:complexType>
+		<xs:element name="getQuote">
+                <xs:complexType>
+                    <xs:sequence>
+                        <xs:element name="request" nillable="true" type="ns:GetQuote"/>
+                    </xs:sequence>
+                </xs:complexType>
+            </xs:element>
+
+            <xs:element name="GetQuote" type="ns:GetQuote"/>
+            <xs:complexType name="GetQuote">
+                <xs:sequence>
+                    <xs:element name="symbol" nillable="true" type="xs:string"/>
+                </xs:sequence>
+            </xs:complexType>
+            <xs:element name="getQuoteResponse">
+                <xs:complexType>
+                    <xs:sequence>
+                        <xs:element name="return" nillable="true" type="ns:GetQuoteResponse"/>
+                    </xs:sequence>
+                </xs:complexType>
+            </xs:element>
+            <xs:element name="placeOrder">
+                <xs:complexType>
+                    <xs:sequence>
+                        <xs:element name="order" nillable="true" type="ns:PlaceOrder"/>
+                    </xs:sequence>
+                </xs:complexType>
+            </xs:element>
+            <xs:element name="PlaceOrder" type="ns:PlaceOrder"/>
+            <xs:complexType name="PlaceOrder">
+                <xs:sequence>
+                    <xs:element name="price" type="xs:double"/>
+                    <xs:element name="quantity" type="xs:int"/>
+                    <xs:element name="symbol" nillable="true" type="xs:string"/>
+                </xs:sequence>
+            </xs:complexType>
+        </xs:schema>
+    </wsdl:types>
+    <wsdl:message name="placeOrderMessage">
+        <wsdl:part name="part1" element="ns0:placeOrder"/>
+    </wsdl:message>
+    <wsdl:message name="getQuoteMessage">
+        <wsdl:part name="part1" element="ns0:getQuote"/>
+    </wsdl:message>
+    <wsdl:message name="getQuoteResponse">
+        <wsdl:part name="part1" element="ns0:getQuoteResponse"/>
+    </wsdl:message>
+    <wsdl:portType name="ReliableStockQuoteServicePortType">
+        <wsdl:operation name="placeOrder">
+            <wsdl:input xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
+                        message="axis2:placeOrderMessage" wsaw:Action="urn:placeOrder"/>
+        </wsdl:operation>
+	  <wsdl:operation name="getQuote">
+            <wsdl:input xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
+                        message="axis2:getQuoteMessage" wsaw:Action="urn:getQuote"/>
+            <wsdl:output message="axis2:getQuoteResponse"/>
+        </wsdl:operation>
+    </wsdl:portType>
+    <wsdl:binding name="ReliableStockQuoteServiceSOAP11Binding"
+                  type="axis2:ReliableStockQuoteServicePortType">
+        <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
+        <wsdl:operation name="placeOrder">
+            <soap:operation soapAction="urn:placeOrder" style="document"/>
+            <wsdl:input>
+                <soap:body use="literal"/>
+            </wsdl:input>
+        </wsdl:operation>
+	  <wsdl:operation name="getQuote">
+            <soap:operation soapAction="urn:getQuote" 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="ReliableStockQuoteServiceSOAP12Binding"
+                  type="axis2:ReliableStockQuoteServicePortType">
+        <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
+        <wsdl:operation name="placeOrder">
+            <soap12:operation soapAction="urn:placeOrder" style="document"/>
+            <wsdl:input>
+                <soap12:body use="literal"/>
+            </wsdl:input>
+        </wsdl:operation>
+	  <wsdl:operation name="getQuote">
+            <soap12:operation soapAction="urn:getQuote" style="document"/>
+            <wsdl:input>
+                <soap12:body use="literal"/>
+            </wsdl:input>
+            <wsdl:output>
+                <soap12:body use="literal"/>
+            </wsdl:output>
+        </wsdl:operation>
+    </wsdl:binding>
+    <wsdl:service name="ReliableStockQuoteService">
+        <wsdl:port name="ReliableStockQuoteServiceSOAP11port_https"
+                   binding="axis2:ReliableStockQuoteServiceSOAP11Binding">
+            <soap:address location="https://localhost:9002/soap/ReliableStockQuoteService"/>
+        </wsdl:port>
+        <wsdl:port name="ReliableStockQuoteServiceSOAP11port_http1"
+                   binding="axis2:ReliableStockQuoteServiceSOAP11Binding">
+            <soap:address location="http://localhost:9000/soap/ReliableStockQuoteService"/>
+        </wsdl:port>
+        <wsdl:port name="ReliableStockQuoteServiceSOAP12port_https"
+                   binding="axis2:ReliableStockQuoteServiceSOAP12Binding">
+            <soap12:address location="https://localhost:9002/soap/ReliableStockQuoteService"/>
+        </wsdl:port>
+        <wsdl:port name="ReliableStockQuoteServiceSOAP12port_http1"
+                   binding="axis2:ReliableStockQuoteServiceSOAP12Binding">
+            <soap12:address location="http://localhost:9000/soap/ReliableStockQuoteService"/>
+        </wsdl:port>
+    </wsdl:service>
+</wsdl:definitions>
\ No newline at end of file

Modified: webservices/synapse/trunk/java/pom.xml
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/pom.xml?view=diff&rev=535646&r1=535645&r2=535646
==============================================================================
--- webservices/synapse/trunk/java/pom.xml (original)
+++ webservices/synapse/trunk/java/pom.xml Sun May  6 12:22:33 2007
@@ -785,6 +785,7 @@
         </developer>
         <developer>
             <name>Tijs Rademakers</name>
+		<id>tijs</id>
             <email>t.rademakers@chello.nl</email>
             <organization>Atos Origin</organization>
         </developer>



---------------------------------------------------------------------
To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org