geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r465442 - in /geronimo/sandbox/javaee5/modules-jee5: geronimo-cxf-builder/src/main/java/org/apache/geronimo/cxf/builder/ geronimo-cxf/src/main/java/org/apache/geronimo/cxf/
Date Thu, 19 Oct 2006 01:43:03 GMT
Author: djencks
Date: Wed Oct 18 18:43:01 2006
New Revision: 465442

URL: http://svn.apache.org/viewvc?view=rev&rev=465442
Log:
simple cxf example deploys without error... dunno if it works

Modified:
    geronimo/sandbox/javaee5/modules-jee5/geronimo-cxf-builder/src/main/java/org/apache/geronimo/cxf/builder/CXFBuilder.java
    geronimo/sandbox/javaee5/modules-jee5/geronimo-cxf/src/main/java/org/apache/geronimo/cxf/CXFWebServiceContainer.java
    geronimo/sandbox/javaee5/modules-jee5/geronimo-cxf/src/main/java/org/apache/geronimo/cxf/GeronimoDestinationFactory.java

Modified: geronimo/sandbox/javaee5/modules-jee5/geronimo-cxf-builder/src/main/java/org/apache/geronimo/cxf/builder/CXFBuilder.java
URL: http://svn.apache.org/viewvc/geronimo/sandbox/javaee5/modules-jee5/geronimo-cxf-builder/src/main/java/org/apache/geronimo/cxf/builder/CXFBuilder.java?view=diff&rev=465442&r1=465441&r2=465442
==============================================================================
--- geronimo/sandbox/javaee5/modules-jee5/geronimo-cxf-builder/src/main/java/org/apache/geronimo/cxf/builder/CXFBuilder.java
(original)
+++ geronimo/sandbox/javaee5/modules-jee5/geronimo-cxf-builder/src/main/java/org/apache/geronimo/cxf/builder/CXFBuilder.java
Wed Oct 18 18:43:01 2006
@@ -147,7 +147,7 @@
         }
 
         targetGBean.setReferencePattern("WebServiceContainerFactory", containerFactoryName);
-
+        targetGBean.setAttribute("pojoClassName", seiClassName);
     }
 
 

Modified: geronimo/sandbox/javaee5/modules-jee5/geronimo-cxf/src/main/java/org/apache/geronimo/cxf/CXFWebServiceContainer.java
URL: http://svn.apache.org/viewvc/geronimo/sandbox/javaee5/modules-jee5/geronimo-cxf/src/main/java/org/apache/geronimo/cxf/CXFWebServiceContainer.java?view=diff&rev=465442&r1=465441&r2=465442
==============================================================================
--- geronimo/sandbox/javaee5/modules-jee5/geronimo-cxf/src/main/java/org/apache/geronimo/cxf/CXFWebServiceContainer.java
(original)
+++ geronimo/sandbox/javaee5/modules-jee5/geronimo-cxf/src/main/java/org/apache/geronimo/cxf/CXFWebServiceContainer.java
Wed Oct 18 18:43:01 2006
@@ -18,8 +18,12 @@
         //TODO actually use portInfo
         this.bus = bus;
         DestinationFactoryManager destinationFactoryManager = bus.getExtension(DestinationFactoryManager.class);
-        DestinationFactory factory = new GeronimoDestinationFactory();
+        DestinationFactory factory = new GeronimoDestinationFactory(bus);
+        destinationFactoryManager.registerDestinationFactory("http://cxf.apache.org/transports/http/configuration",
factory);
+        destinationFactoryManager.registerDestinationFactory("http://www.w3.org/2003/05/soap/bindings/HTTP/",
factory);
+        destinationFactoryManager.registerDestinationFactory("http://schemas.xmlsoap.org/soap/http",
factory);
         destinationFactoryManager.registerDestinationFactory("http://schemas.xmlsoap.org/wsdl/http/",
factory);
+        destinationFactoryManager.registerDestinationFactory("http://schemas.xmlsoap.org/wsdl/soap/",
factory);
         destinationFactoryManager.registerDestinationFactory("http://schemas.xmlsoap.org/wsdl/soap/http",
factory);
         destinationFactoryManager.registerDestinationFactory(XMLConstants.NS_XML_FORMAT,
factory);
         EndpointImpl publishedEndpoint = publishEndpoint(target);
@@ -40,7 +44,7 @@
         assert target != null : "null target received";
 
         EndpointImpl ep = new EndpointImpl(bus, target, (String)null);
-        ep.publish("meaningless");
+        ep.publish("http://nopath");
         return ep;
 
     }

Modified: geronimo/sandbox/javaee5/modules-jee5/geronimo-cxf/src/main/java/org/apache/geronimo/cxf/GeronimoDestinationFactory.java
URL: http://svn.apache.org/viewvc/geronimo/sandbox/javaee5/modules-jee5/geronimo-cxf/src/main/java/org/apache/geronimo/cxf/GeronimoDestinationFactory.java?view=diff&rev=465442&r1=465441&r2=465442
==============================================================================
--- geronimo/sandbox/javaee5/modules-jee5/geronimo-cxf/src/main/java/org/apache/geronimo/cxf/GeronimoDestinationFactory.java
(original)
+++ geronimo/sandbox/javaee5/modules-jee5/geronimo-cxf/src/main/java/org/apache/geronimo/cxf/GeronimoDestinationFactory.java
Wed Oct 18 18:43:01 2006
@@ -6,8 +6,14 @@
 import org.apache.cxf.service.model.EndpointInfo;
 import org.apache.cxf.transport.Destination;
 import org.apache.cxf.transport.http.HTTPTransportFactory;
+import org.apache.cxf.Bus;
 
 public class GeronimoDestinationFactory extends HTTPTransportFactory {
+
+    public GeronimoDestinationFactory(Bus bus) {
+        super();
+        setBus(bus);
+    }
 
     public Destination getDestination(EndpointInfo endpointInfo)
         throws IOException {



Mime
View raw message