You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by ho...@apache.org on 2005/10/20 05:05:34 UTC
svn commit: r326781 - in /geronimo/trunk/sandbox/daytrader: ./
modules/ejb/src/java/org/apache/geronimo/samples/daytrader/
modules/web/src/webapp/WEB-INF/wsdl/
modules/wsappclient/src/client/META-INF/wsdl/
modules/wsappclient/src/java/org/apache/geroni...
Author: hogstrom
Date: Wed Oct 19 20:05:23 2005
New Revision: 326781
URL: http://svn.apache.org/viewcvs?rev=326781&view=rev
Log:
Fixed inconsistent ports and other anomolies for WebServices
Modified:
geronimo/trunk/sandbox/daytrader/dayTrader-plan.xml
geronimo/trunk/sandbox/daytrader/modules/ejb/src/java/org/apache/geronimo/samples/daytrader/TradeConfig.java
geronimo/trunk/sandbox/daytrader/modules/web/src/webapp/WEB-INF/wsdl/TradeServices.wsdl
geronimo/trunk/sandbox/daytrader/modules/wsappclient/src/client/META-INF/wsdl/TradeServices.wsdl
geronimo/trunk/sandbox/daytrader/modules/wsappclient/src/java/org/apache/geronimo/samples/daytrader/client/ws/ClientScenario.java
Modified: geronimo/trunk/sandbox/daytrader/dayTrader-plan.xml
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/daytrader/dayTrader-plan.xml?rev=326781&r1=326780&r2=326781&view=diff
==============================================================================
--- geronimo/trunk/sandbox/daytrader/dayTrader-plan.xml (original)
+++ geronimo/trunk/sandbox/daytrader/dayTrader-plan.xml Wed Oct 19 20:05:23 2005
@@ -14,7 +14,7 @@
<protocol>http</protocol>
<host>localhost</host>
<port>8080</port>
- <uri>/trade/services/TradeWSServices</uri>
+ <uri>/daytrader/services/TradeWSServices</uri>
</port>
</service-ref>
</web-app>
Modified: geronimo/trunk/sandbox/daytrader/modules/ejb/src/java/org/apache/geronimo/samples/daytrader/TradeConfig.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/daytrader/modules/ejb/src/java/org/apache/geronimo/samples/daytrader/TradeConfig.java?rev=326781&r1=326780&r2=326781&view=diff
==============================================================================
--- geronimo/trunk/sandbox/daytrader/modules/ejb/src/java/org/apache/geronimo/samples/daytrader/TradeConfig.java (original)
+++ geronimo/trunk/sandbox/daytrader/modules/ejb/src/java/org/apache/geronimo/samples/daytrader/TradeConfig.java Wed Oct 19 20:05:23 2005
@@ -83,7 +83,7 @@
/*Trade SOAP specific parameters */
private static String SoapURL =
- "http://localhost/trade/services/TradeWSServices?wsdl";
+ "http://localhost:8080/daytrader/services/TradeWSServices";
/*Trade XA Datasource specific parameters */
public static boolean JDBCDriverNeedsGlobalTransation = false;
Modified: geronimo/trunk/sandbox/daytrader/modules/web/src/webapp/WEB-INF/wsdl/TradeServices.wsdl
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/daytrader/modules/web/src/webapp/WEB-INF/wsdl/TradeServices.wsdl?rev=326781&r1=326780&r2=326781&view=diff
==============================================================================
--- geronimo/trunk/sandbox/daytrader/modules/web/src/webapp/WEB-INF/wsdl/TradeServices.wsdl (original)
+++ geronimo/trunk/sandbox/daytrader/modules/web/src/webapp/WEB-INF/wsdl/TradeServices.wsdl Wed Oct 19 20:05:23 2005
@@ -1278,7 +1278,7 @@
<wsdl:service name="Trade">
<wsdl:port binding="impl:TradeWSServicesSoapBinding" name="TradeWSServices">
- <wsdlsoap:address location="http://localhost:8080/trade/services/TradeWSServices"/>
+ <wsdlsoap:address location="http://localhost:8080/daytrader/services/TradeWSServices"/>
</wsdl:port>
</wsdl:service>
Modified: geronimo/trunk/sandbox/daytrader/modules/wsappclient/src/client/META-INF/wsdl/TradeServices.wsdl
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/daytrader/modules/wsappclient/src/client/META-INF/wsdl/TradeServices.wsdl?rev=326781&r1=326780&r2=326781&view=diff
==============================================================================
--- geronimo/trunk/sandbox/daytrader/modules/wsappclient/src/client/META-INF/wsdl/TradeServices.wsdl (original)
+++ geronimo/trunk/sandbox/daytrader/modules/wsappclient/src/client/META-INF/wsdl/TradeServices.wsdl Wed Oct 19 20:05:23 2005
@@ -1268,7 +1268,7 @@
<wsdl:port binding="impl:TradeWSServicesSoapBinding" name="TradeWSServices">
- <wsdlsoap:address location="http://localhost:9080/trade/services/TradeWSServices"/>
+ <wsdlsoap:address location="http://localhost:8080/daytrader/services/TradeWSServices"/>
</wsdl:port>
Modified: geronimo/trunk/sandbox/daytrader/modules/wsappclient/src/java/org/apache/geronimo/samples/daytrader/client/ws/ClientScenario.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/daytrader/modules/wsappclient/src/java/org/apache/geronimo/samples/daytrader/client/ws/ClientScenario.java?rev=326781&r1=326780&r2=326781&view=diff
==============================================================================
--- geronimo/trunk/sandbox/daytrader/modules/wsappclient/src/java/org/apache/geronimo/samples/daytrader/client/ws/ClientScenario.java (original)
+++ geronimo/trunk/sandbox/daytrader/modules/wsappclient/src/java/org/apache/geronimo/samples/daytrader/client/ws/ClientScenario.java Wed Oct 19 20:05:23 2005
@@ -46,7 +46,8 @@
private boolean stop = false;
//Properties pertaining to the entire scenario
- private static String servicePort = "http://localhost:9080/trade/services/TradeWSServices?wsdl";
+ // remove ?wsdl
+ private static String servicePort = "http://localhost:8080/daytrader/services/TradeWSServices";
private static long numThreads = 0; // # threads in scenario
private static long reqPerThread; // # requests for each thread to process
private static long startTime = 0; // Time (millis) when the scen. started