You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2007/10/08 19:31:13 UTC

svn commit: r582902 - in /incubator/cxf/branches/2.0.x-fixes: ./ distribution/src/main/release/samples/integration/jca/hello_world_soap_http/ distribution/src/main/release/samples/integration/jca/hello_world_soap_http/src/demo/servlet/

Author: dkulp
Date: Mon Oct  8 10:31:12 2007
New Revision: 582902

URL: http://svn.apache.org/viewvc?rev=582902&view=rev
Log:
Merged revisions 579531 via svnmerge from 
https://svn.apache.org/repos/asf/incubator/cxf/trunk

........
  r579531 | ningjiang | 2007-09-26 05:22:03 -0400 (Wed, 26 Sep 2007) | 1 line
  
  CXF-1063 applied the patch from Jeff, thanks.
........

Modified:
    incubator/cxf/branches/2.0.x-fixes/   (props changed)
    incubator/cxf/branches/2.0.x-fixes/distribution/src/main/release/samples/integration/jca/hello_world_soap_http/README.txt
    incubator/cxf/branches/2.0.x-fixes/distribution/src/main/release/samples/integration/jca/hello_world_soap_http/src/demo/servlet/HelloWorldServlet.java

Propchange: incubator/cxf/branches/2.0.x-fixes/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.

Modified: incubator/cxf/branches/2.0.x-fixes/distribution/src/main/release/samples/integration/jca/hello_world_soap_http/README.txt
URL: http://svn.apache.org/viewvc/incubator/cxf/branches/2.0.x-fixes/distribution/src/main/release/samples/integration/jca/hello_world_soap_http/README.txt?rev=582902&r1=582901&r2=582902&view=diff
==============================================================================
--- incubator/cxf/branches/2.0.x-fixes/distribution/src/main/release/samples/integration/jca/hello_world_soap_http/README.txt (original)
+++ incubator/cxf/branches/2.0.x-fixes/distribution/src/main/release/samples/integration/jca/hello_world_soap_http/README.txt Mon Oct  8 10:31:12 2007
@@ -104,8 +104,7 @@
   (Windows) > cd common
             > ant
 
-The demo may be built from the directory 
-hello_world_soap_http.
+The demo needs be built from the directory outbound.
 
 Issue the command:
 
@@ -121,7 +120,7 @@
 
 To launch the service:
 
-1.  Move into the sample/hello_world/ directory.
+1.  Move into the sample/wsdl_first/ directory.
 2.  launch server
     Issue the command: 
   (Unix)    % ant server

Modified: incubator/cxf/branches/2.0.x-fixes/distribution/src/main/release/samples/integration/jca/hello_world_soap_http/src/demo/servlet/HelloWorldServlet.java
URL: http://svn.apache.org/viewvc/incubator/cxf/branches/2.0.x-fixes/distribution/src/main/release/samples/integration/jca/hello_world_soap_http/src/demo/servlet/HelloWorldServlet.java?rev=582902&r1=582901&r2=582902&view=diff
==============================================================================
--- incubator/cxf/branches/2.0.x-fixes/distribution/src/main/release/samples/integration/jca/hello_world_soap_http/src/demo/servlet/HelloWorldServlet.java (original)
+++ incubator/cxf/branches/2.0.x-fixes/distribution/src/main/release/samples/integration/jca/hello_world_soap_http/src/demo/servlet/HelloWorldServlet.java Mon Oct  8 10:31:12 2007
@@ -31,6 +31,7 @@
 
 import org.apache.cxf.connector.CXFConnectionFactory;
 import org.apache.cxf.connector.Connection;
+import org.apache.cxf.jca.cxf.CXFConnectionRequestInfo;
 import org.apache.hello_world_soap_http.Greeter;
 
 public class HelloWorldServlet extends DemoServletBase {
@@ -80,7 +81,8 @@
 
         // create the connection 
         //
-        return (Connection)factory.getConnection(Greeter.class, wsdlLocation, serviceName, portName);
+        CXFConnectionRequestInfo requestInfo = new CXFConnectionRequestInfo(Greeter.class, wsdlLocation, serviceName, portName);
+        return (Connection)factory.getConnection(requestInfo);
     }