commit | a759a05b10a8bc6d5091d1e0fceae64353060eea | [log] [tgz] |
---|---|---|
author | Freeman Yue Fang <ffang@apache.org> | Mon Dec 12 04:21:21 2011 +0000 |
committer | Freeman Yue Fang <ffang@apache.org> | Mon Dec 12 04:21:21 2011 +0000 |
tree | 5ae6348c92fc622d9412f9e5de46e356dacf59f7 | |
parent | 0df0c353c2264236ed6c5d738436f4092325f16f [diff] |
[SMX4-1008]let cxf-ws-rm example use http osgi transport git-svn-id: https://svn.apache.org/repos/asf/servicemix/smx4/features/trunk@1213140 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/examples/cxf/cxf-ws-rm/src/main/java/org/apache/servicemix/samples/cxf_ws_rm/Client.java b/examples/cxf/cxf-ws-rm/src/main/java/org/apache/servicemix/samples/cxf_ws_rm/Client.java index 985a402..b7dd088 100755 --- a/examples/cxf/cxf-ws-rm/src/main/java/org/apache/servicemix/samples/cxf_ws_rm/Client.java +++ b/examples/cxf/cxf-ws-rm/src/main/java/org/apache/servicemix/samples/cxf_ws_rm/Client.java
@@ -52,7 +52,7 @@ // Endpoint Address Service service = Service.create(Client.class.getResource("/HelloWorld.wsdl"), SERVICE_NAME); - String endpointAddress = "http://localhost:9191/HelloWorld"; + String endpointAddress = "http://localhost:8181/cxf/HelloWorld"; // Add a port to the Service service.addPort(PORT_NAME, SOAPBinding.SOAP11HTTP_BINDING, endpointAddress);
diff --git a/examples/cxf/cxf-ws-rm/src/main/resources/META-INF/spring/beans.xml b/examples/cxf/cxf-ws-rm/src/main/resources/META-INF/spring/beans.xml index 100ca9f..b2a90cb 100755 --- a/examples/cxf/cxf-ws-rm/src/main/resources/META-INF/spring/beans.xml +++ b/examples/cxf/cxf-ws-rm/src/main/resources/META-INF/spring/beans.xml
@@ -38,7 +38,7 @@ <jaxws:endpoint id="helloWorld" implementor="org.apache.servicemix.examples.cxf.HelloWorldImpl" wsdlLocation="classpath:HelloWorld.wsdl" - address="http://localhost:9191/HelloWorld"/> + address="/HelloWorld"/> <cxf:bus> <cxf:features> <cxf:logging/>