You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by en...@apache.org on 2009/06/16 11:38:10 UTC
svn commit: r785128 - in /servicemix/smx4/features/trunk/examples: cxf-osgi/
cxf-osgi/src/main/java/org/apache/servicemix/samples/cxf_osgi/
cxf-ws-addressing/ cxf-ws-addressing/src/main/resources/META-INF/spring/
cxf-ws-addressing/src/main/resources/or...
Author: enolan
Date: Tue Jun 16 09:38:10 2009
New Revision: 785128
URL: http://svn.apache.org/viewvc?rev=785128&view=rev
Log:
SMX4-308 - change default OSGI HTTP Port to 8181 to need to updates examples.
Modified:
servicemix/smx4/features/trunk/examples/cxf-osgi/README.txt
servicemix/smx4/features/trunk/examples/cxf-osgi/client.html
servicemix/smx4/features/trunk/examples/cxf-osgi/src/main/java/org/apache/servicemix/samples/cxf_osgi/Client.java
servicemix/smx4/features/trunk/examples/cxf-ws-addressing/README.txt
servicemix/smx4/features/trunk/examples/cxf-ws-addressing/client.html
servicemix/smx4/features/trunk/examples/cxf-ws-addressing/src/main/resources/META-INF/spring/beans.xml
servicemix/smx4/features/trunk/examples/cxf-ws-addressing/src/main/resources/org/apache/servicemix/examples/cxf/wsaddressing/request.xml
servicemix/smx4/features/trunk/examples/cxf-ws-addressing/src/main/resources/wsdl/hello_world_addr.wsdl
servicemix/smx4/features/trunk/examples/itests/cxf-handler-cfg/src/main/resources/META-INF/spring/beans.xml
servicemix/smx4/features/trunk/examples/itests/cxf-handler-cfg/src/main/resources/wsdl/addNumbers.wsdl
servicemix/smx4/features/trunk/examples/itests/cxf-http-osgi/src/main/resources/META-INF/spring/beans.xml
servicemix/smx4/features/trunk/examples/itests/cxf-http-osgi/src/main/resources/wsdl/hello_world.wsdl
servicemix/smx4/features/trunk/examples/itests/cxf-soap-handler-osgi/src/main/resources/META-INF/spring/beans.xml
servicemix/smx4/features/trunk/examples/itests/cxf-soap-handler-osgi/src/main/resources/wsdl/addNumbers.wsdl
servicemix/smx4/features/trunk/examples/itests/tests/src/test/java/org/apache/servicemix/examples/IntegrationTest.java
Modified: servicemix/smx4/features/trunk/examples/cxf-osgi/README.txt
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/cxf-osgi/README.txt?rev=785128&r1=785127&r2=785128&view=diff
==============================================================================
--- servicemix/smx4/features/trunk/examples/cxf-osgi/README.txt (original)
+++ servicemix/smx4/features/trunk/examples/cxf-osgi/README.txt Tue Jun 16 09:38:10 2009
@@ -47,13 +47,13 @@
Now, just open your browser and go to the following url:
-http://localhost:8080/cxf/HelloWorld?wsdl
+http://localhost:8181/cxf/HelloWorld?wsdl
It should display the WSDL of the service (if you use Safari, make sure to
right click the window and select 'Show Source', else the page will be blank).
Or you can also test it from ServiceMix console using"
-optional/cat http://localhost:8080/cxf/HelloWorld?wsdl
+optional/cat http://localhost:8181/cxf/HelloWorld?wsdl
You can also open the client.html page in a browser to try sending a request
to the service.
Modified: servicemix/smx4/features/trunk/examples/cxf-osgi/client.html
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/cxf-osgi/client.html?rev=785128&r1=785127&r2=785128&view=diff
==============================================================================
--- servicemix/smx4/features/trunk/examples/cxf-osgi/client.html (original)
+++ servicemix/smx4/features/trunk/examples/cxf-osgi/client.html Tue Jun 16 09:38:10 2009
@@ -20,7 +20,7 @@
<head>
<title>ServiceMix 4 CXF-OSGi Example</title>
<script type="text/javascript">
-var urlToOpen = "http://localhost:8080/cxf/HelloWorld"; //default URL to open
+var urlToOpen = "http://localhost:8181/cxf/HelloWorld"; //default URL to open
function getHTTPObject() {
var xmlhttp = false;
Modified: servicemix/smx4/features/trunk/examples/cxf-osgi/src/main/java/org/apache/servicemix/samples/cxf_osgi/Client.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/cxf-osgi/src/main/java/org/apache/servicemix/samples/cxf_osgi/Client.java?rev=785128&r1=785127&r2=785128&view=diff
==============================================================================
--- servicemix/smx4/features/trunk/examples/cxf-osgi/src/main/java/org/apache/servicemix/samples/cxf_osgi/Client.java (original)
+++ servicemix/smx4/features/trunk/examples/cxf-osgi/src/main/java/org/apache/servicemix/samples/cxf_osgi/Client.java Tue Jun 16 09:38:10 2009
@@ -35,7 +35,7 @@
}
public void sendRequest() throws Exception {
- URLConnection connection = new URL("http://localhost:8080/cxf/HelloWorld")
+ URLConnection connection = new URL("http://localhost:8181/cxf/HelloWorld")
.openConnection();
connection.setDoInput(true);
connection.setDoOutput(true);
Modified: servicemix/smx4/features/trunk/examples/cxf-ws-addressing/README.txt
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/cxf-ws-addressing/README.txt?rev=785128&r1=785127&r2=785128&view=diff
==============================================================================
--- servicemix/smx4/features/trunk/examples/cxf-ws-addressing/README.txt (original)
+++ servicemix/smx4/features/trunk/examples/cxf-ws-addressing/README.txt Tue Jun 16 09:38:10 2009
@@ -47,13 +47,13 @@
Now, just open your browser and go to the following url:
- http://localhost:8080/cxf/SoapContext/SoapPort?wsdl
+ http://localhost:8181/cxf/SoapContext/SoapPort?wsdl
It should display the WSDL of the service (if you use Safari, make sure to
right click the window and select 'Show Source', else the page will be blank).
Or you can also test it from ServiceMix console using"
- optional/cat http://localhost:8080/cxf/SoapContext/SoapPort?wsdl
+ optional/cat http://localhost:8181/cxf/SoapContext/SoapPort?wsdl
You can also open the client.html page in a browser to try sending a request
to the service.
Modified: servicemix/smx4/features/trunk/examples/cxf-ws-addressing/client.html
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/cxf-ws-addressing/client.html?rev=785128&r1=785127&r2=785128&view=diff
==============================================================================
--- servicemix/smx4/features/trunk/examples/cxf-ws-addressing/client.html (original)
+++ servicemix/smx4/features/trunk/examples/cxf-ws-addressing/client.html Tue Jun 16 09:38:10 2009
@@ -20,7 +20,7 @@
<head>
<title>ServiceMix 4 CXF-OSGi Example</title>
<script type="text/javascript">
-var urlToOpen = "http://localhost:8080/cxf/SoapContext/SoapPort"; //default URL to open
+var urlToOpen = "http://localhost:8181/cxf/SoapContext/SoapPort"; //default URL to open
function getHTTPObject() {
var xmlhttp = false;
Modified: servicemix/smx4/features/trunk/examples/cxf-ws-addressing/src/main/resources/META-INF/spring/beans.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/cxf-ws-addressing/src/main/resources/META-INF/spring/beans.xml?rev=785128&r1=785127&r2=785128&view=diff
==============================================================================
--- servicemix/smx4/features/trunk/examples/cxf-ws-addressing/src/main/resources/META-INF/spring/beans.xml (original)
+++ servicemix/smx4/features/trunk/examples/cxf-ws-addressing/src/main/resources/META-INF/spring/beans.xml Tue Jun 16 09:38:10 2009
@@ -56,7 +56,7 @@
xmlns:e="http://apache.org/hello_world_soap_http"
xmlns:s="http://apache.org/hello_world_soap_http"
wsdlLocation="wsdl/hello_world_addr.wsdl"
- address="http://localhost:8080/cxf/SoapContext/SoapPort">
+ address="http://localhost:8181/cxf/SoapContext/SoapPort">
</jaxws:client>
<osgi:service id="testWSAddressing" ref="client"
Modified: servicemix/smx4/features/trunk/examples/cxf-ws-addressing/src/main/resources/org/apache/servicemix/examples/cxf/wsaddressing/request.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/cxf-ws-addressing/src/main/resources/org/apache/servicemix/examples/cxf/wsaddressing/request.xml?rev=785128&r1=785127&r2=785128&view=diff
==============================================================================
--- servicemix/smx4/features/trunk/examples/cxf-ws-addressing/src/main/resources/org/apache/servicemix/examples/cxf/wsaddressing/request.xml (original)
+++ servicemix/smx4/features/trunk/examples/cxf-ws-addressing/src/main/resources/org/apache/servicemix/examples/cxf/wsaddressing/request.xml Tue Jun 16 09:38:10 2009
@@ -2,7 +2,7 @@
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header>
<MessageID xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:123456789</MessageID>
- <To xmlns="http://www.w3.org/2005/08/addressing">http://localhost:8080/SoapContext/SoapPort</To>
+ <To xmlns="http://www.w3.org/2005/08/addressing">http://localhost:8181/SoapContext/SoapPort</To>
<ReplyTo xmlns="http://www.w3.org/2005/08/addressing">
<Address>http://www.w3.org/2005/08/addressing/anonymous</Address>
</ReplyTo>
Modified: servicemix/smx4/features/trunk/examples/cxf-ws-addressing/src/main/resources/wsdl/hello_world_addr.wsdl
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/cxf-ws-addressing/src/main/resources/wsdl/hello_world_addr.wsdl?rev=785128&r1=785127&r2=785128&view=diff
==============================================================================
--- servicemix/smx4/features/trunk/examples/cxf-ws-addressing/src/main/resources/wsdl/hello_world_addr.wsdl (original)
+++ servicemix/smx4/features/trunk/examples/cxf-ws-addressing/src/main/resources/wsdl/hello_world_addr.wsdl Tue Jun 16 09:38:10 2009
@@ -166,7 +166,7 @@
</wsdl:binding>
<wsdl:service name="SOAPService">
<wsdl:port binding="tns:Greeter_SOAPBinding" name="SoapPort">
- <soap:address location="http://localhost:8080/cxf/SoapContext/SoapPort"/>
+ <soap:address location="http://localhost:8181/cxf/SoapContext/SoapPort"/>
<wswa:UsingAddressing xmlns:wswa="http://www.w3.org/2005/02/addressing/wsdl"/>
</wsdl:port>
</wsdl:service>
Modified: servicemix/smx4/features/trunk/examples/itests/cxf-handler-cfg/src/main/resources/META-INF/spring/beans.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/itests/cxf-handler-cfg/src/main/resources/META-INF/spring/beans.xml?rev=785128&r1=785127&r2=785128&view=diff
==============================================================================
--- servicemix/smx4/features/trunk/examples/itests/cxf-handler-cfg/src/main/resources/META-INF/spring/beans.xml (original)
+++ servicemix/smx4/features/trunk/examples/itests/cxf-handler-cfg/src/main/resources/META-INF/spring/beans.xml Tue Jun 16 09:38:10 2009
@@ -55,7 +55,7 @@
xmlns:e="http://apache.org/springcfg/handlers"
xmlns:s="http://apache.org/springcfg/handlers"
wsdlLocation="wsdl/addNumbers.wsdl"
- address="http://localhost:8080/cxf/SpringConfigHandler">
+ address="http://localhost:8181/cxf/SpringConfigHandler">
<jaxws:handlers>
<bean class="org.apache.servicemix.examples.cxf.springcfghandler.ModifyNumberHandler"/>
</jaxws:handlers>
Modified: servicemix/smx4/features/trunk/examples/itests/cxf-handler-cfg/src/main/resources/wsdl/addNumbers.wsdl
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/itests/cxf-handler-cfg/src/main/resources/wsdl/addNumbers.wsdl?rev=785128&r1=785127&r2=785128&view=diff
==============================================================================
--- servicemix/smx4/features/trunk/examples/itests/cxf-handler-cfg/src/main/resources/wsdl/addNumbers.wsdl (original)
+++ servicemix/smx4/features/trunk/examples/itests/cxf-handler-cfg/src/main/resources/wsdl/addNumbers.wsdl Tue Jun 16 09:38:10 2009
@@ -90,7 +90,7 @@
</binding>
<service name="AddNumbersService">
<port name="AddNumbersPort" binding="tns:AddNumbersBinding">
- <soap:address location="http://localhost:8080/cxf/SpringConfigHandler" />
+ <soap:address location="http://localhost:8181/cxf/SpringConfigHandler" />
</port>
</service>
</definitions>
Modified: servicemix/smx4/features/trunk/examples/itests/cxf-http-osgi/src/main/resources/META-INF/spring/beans.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/itests/cxf-http-osgi/src/main/resources/META-INF/spring/beans.xml?rev=785128&r1=785127&r2=785128&view=diff
==============================================================================
--- servicemix/smx4/features/trunk/examples/itests/cxf-http-osgi/src/main/resources/META-INF/spring/beans.xml (original)
+++ servicemix/smx4/features/trunk/examples/itests/cxf-http-osgi/src/main/resources/META-INF/spring/beans.xml Tue Jun 16 09:38:10 2009
@@ -49,7 +49,7 @@
xmlns:e="http://cxf.examples.servicemix.apache.org/"
xmlns:s="http://cxf.examples.servicemix.apache.org/"
wsdlLocation="wsdl/hello_world.wsdl"
- address="http://localhost:8080/cxf/HelloWorld"/>
+ address="http://localhost:8181/cxf/HelloWorld"/>
<osgi:service id="testHelloWorld" ref="client"
interface="org.apache.servicemix.examples.cxf.HelloWorld"/>
Modified: servicemix/smx4/features/trunk/examples/itests/cxf-http-osgi/src/main/resources/wsdl/hello_world.wsdl
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/itests/cxf-http-osgi/src/main/resources/wsdl/hello_world.wsdl?rev=785128&r1=785127&r2=785128&view=diff
==============================================================================
--- servicemix/smx4/features/trunk/examples/itests/cxf-http-osgi/src/main/resources/wsdl/hello_world.wsdl (original)
+++ servicemix/smx4/features/trunk/examples/itests/cxf-http-osgi/src/main/resources/wsdl/hello_world.wsdl Tue Jun 16 09:38:10 2009
@@ -73,7 +73,7 @@
</wsdl:binding>
<wsdl:service name="HelloWorldImplService">
<wsdl:port binding="tns:HelloWorldImplServiceSoapBinding" name="HelloWorldImplPort">
- <soap:address location="http://localhost:8080/cxf/HelloWorld" />
+ <soap:address location="http://localhost:8181/cxf/HelloWorld" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
Modified: servicemix/smx4/features/trunk/examples/itests/cxf-soap-handler-osgi/src/main/resources/META-INF/spring/beans.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/itests/cxf-soap-handler-osgi/src/main/resources/META-INF/spring/beans.xml?rev=785128&r1=785127&r2=785128&view=diff
==============================================================================
--- servicemix/smx4/features/trunk/examples/itests/cxf-soap-handler-osgi/src/main/resources/META-INF/spring/beans.xml (original)
+++ servicemix/smx4/features/trunk/examples/itests/cxf-soap-handler-osgi/src/main/resources/META-INF/spring/beans.xml Tue Jun 16 09:38:10 2009
@@ -49,7 +49,7 @@
xmlns:e="http://apache.org/handlers"
xmlns:s="http://apache.org/handlers"
wsdlLocation="wsdl/addNumbers.wsdl"
- address="http://localhost:8080/cxf/SoapHandler"/>
+ address="http://localhost:8181/cxf/SoapHandler"/>
<osgi:service id="testHelloWorld" ref="client"
interface="org.apache.handlers.AddNumbers"/>
Modified: servicemix/smx4/features/trunk/examples/itests/cxf-soap-handler-osgi/src/main/resources/wsdl/addNumbers.wsdl
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/itests/cxf-soap-handler-osgi/src/main/resources/wsdl/addNumbers.wsdl?rev=785128&r1=785127&r2=785128&view=diff
==============================================================================
--- servicemix/smx4/features/trunk/examples/itests/cxf-soap-handler-osgi/src/main/resources/wsdl/addNumbers.wsdl (original)
+++ servicemix/smx4/features/trunk/examples/itests/cxf-soap-handler-osgi/src/main/resources/wsdl/addNumbers.wsdl Tue Jun 16 09:38:10 2009
@@ -90,7 +90,7 @@
</binding>
<service name="AddNumbersService">
<port name="AddNumbersPort" binding="tns:AddNumbersBinding">
- <soap:address location="http://localhost:8080/cxf/SoapHandler" />
+ <soap:address location="http://localhost:8181/cxf/SoapHandler" />
</port>
</service>
</definitions>
Modified: servicemix/smx4/features/trunk/examples/itests/tests/src/test/java/org/apache/servicemix/examples/IntegrationTest.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/itests/tests/src/test/java/org/apache/servicemix/examples/IntegrationTest.java?rev=785128&r1=785127&r2=785128&view=diff
==============================================================================
--- servicemix/smx4/features/trunk/examples/itests/tests/src/test/java/org/apache/servicemix/examples/IntegrationTest.java (original)
+++ servicemix/smx4/features/trunk/examples/itests/tests/src/test/java/org/apache/servicemix/examples/IntegrationTest.java Tue Jun 16 09:38:10 2009
@@ -290,7 +290,7 @@
Thread.sleep(5000);
waitOnContextCreation("cxf-jaxrs");
- URL url = new URL("http://localhost:8080/cxf/crm/customerservice/customers/123");
+ URL url = new URL("http://localhost:8181/cxf/crm/customerservice/customers/123");
InputStream in = url.openStream();
ByteArrayOutputStream bos = new ByteArrayOutputStream();