FYI, this commit broke dispatch/provider sample in distribution, running sample 
will give users following error/stack trace:
 
server:
      [java] Starting Server
      [java] Starting SoapService1
      [java] Starting SoapService2
      [java] Exception in thread "main" java.lang.NullPointerException
      [java]     at
org.apache.cxf.binding.soap.SoapDestinationFactory.getDestination(SoapDestinationFactory.java:68)
      [java]     at
org.apache.cxf.endpoint.ServerImpl.<init>(ServerImpl.java:49)
      [java]     at
org.apache.cxf.service.factory.ServerFactoryBean.create(ServerFactoryBean.java:78)
      [java]     at
org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:245)
      [java]     at
org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:161)
      [java]     at
org.apache.cxf.jaxws.spi.ProviderImpl.createAndPublishEndpoint(ProviderImpl.java:67)
      [java]     at javax.xml.ws.Endpoint.publish(Endpoint.java:156)
      [java]     at demo.hwDispatch.server.Server.<init>(Server.java:36)

Thanks,
Bo

________________________________

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Mon 10/23/2006 12:44 AM
To: [email protected]
Subject: svn commit: r466932 [1/2] - in /incubator/cxf/trunk: ./ api/ 
api/src/main/java/org/apache/cxf/binding/ 
api/src/main/java/org/apache/cxf/service/model/ 
api/src/main/java/org/apache/cxf/transport/ common/common/ 
common/common/src/main/java/org/apache/cxf...



Author: dandiep
Date: Sun Oct 22 21:44:24 2006
New Revision: 466932

URL: http://svn.apache.org/viewvc?view=rev&rev=466932
Log:
o Remove BindingInfoFactoryBeanManager as the way its implemented has
  two issues.
  1. BIFactoryBeans are stateful (hence the bean in the name),
  so if two people tried to use the SoapBindingInfoFactoryBean at the same
  time there would be clashes.
  2. BIFBs are frontend specific. One can imagine a situation where we
  have multiple front ends. In that case, there would be different BIFBs
  for each frontend for the same namespace and this would cause clashes.
o As I said on email, I think a dynamic discovery mechanism IS needed
  for the BindingInfoFactoryBeans, however I'm hoping for some feedback
  on the best way to do so. Once we decide on the list we can make this
  less static and add discovery back in...
o Add a JaxWsSoapBindingInfoFactoryBean which recognizes SOAPBinding
  annotations.
o Add SpringBeanMap which allows us to simplify managers and do things
  less invasively than with having an ExtensionManager. Really its
  just an ExtensionManager as a deferred Map.
o Rework Conduit/Destination managers to accept a Map as the constructor
  and use SpringBeanMap instead of the ExtensionManager. While we end up
  loading the HTTPTransportFactory etc on startup, this is not resource
  intensive and we need to load all the factories for
  getDestinationFactoryForUri to work correctly.
o We needed a way to go from an Address in JAX-WS to a DestinationFactory
  id. To do this I added a
  destinationFactoryManager.getDestinationFactoryForUri() method. This
  allows us to get a DestinationFactory. I then added a getTransportIds
  method to DestinationFactory so we can determine which one we're using
  so we can look it up later.
o Did some work to make the XML Schema for a particular MessagePartInfo
  available. This is necessary for some HTTP/REST stuff I'm adding Real
  Soon :-)
o Upgrade XmlSchema for the work mentioned above. Some bugs were fixed in
  XML Schema so now the Schema imports are actually traversed, meaning we
  needed to improve our URIResolver to work with jars and use that when
  resolving imports.

Added:
    
incubator/cxf/trunk/common/common/src/main/java/org/apache/cxf/configuration/spring/SpringBeanMap.java
   (with props)
    
incubator/cxf/trunk/common/common/src/main/java/org/apache/cxf/resource/XmlSchemaURIResolver.java
   (with props)
    
incubator/cxf/trunk/common/common/src/test/java/org/apache/cxf/configuration/spring/Person.java
   (with props)
    
incubator/cxf/trunk/common/common/src/test/java/org/apache/cxf/configuration/spring/PersonImpl.java
   (with props)
    
incubator/cxf/trunk/common/common/src/test/java/org/apache/cxf/configuration/spring/SpringBeanMapTest.java
   (with props)
    
incubator/cxf/trunk/common/common/src/test/java/org/apache/cxf/configuration/spring/beanMap.xml
   (with props)
    
incubator/cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/SoapBindingInfoFactoryBean.java
   (with props)
    
incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/service/factory/AbstractBindingInfoFactoryBean.java
      - copied, changed from r465960, 
incubator/cxf/trunk/api/src/main/java/org/apache/cxf/service/model/AbstractBindingInfoFactoryBean.java
    
incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/transport/AbstractTransportFactory.java
   (with props)
    
incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/binding/soap/JaxWsSoapBindingInfoFactoryBean.java
   (with props)
    
incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/support/AbstractJaxWsServiceFactoryBean.java
   (with props)
Removed:
    
incubator/cxf/trunk/api/src/main/java/org/apache/cxf/binding/BindingInfoFactoryBeanManager.java
    
incubator/cxf/trunk/api/src/main/java/org/apache/cxf/service/model/AbstractBindingInfoFactoryBean.java
    
incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/binding/BindingInfoFactoryBeanManagerImpl.java
Modified:
    incubator/cxf/trunk/api/pom.xml
    
incubator/cxf/trunk/api/src/main/java/org/apache/cxf/service/model/MessagePartInfo.java
    
incubator/cxf/trunk/api/src/main/java/org/apache/cxf/service/model/OperationInfo.java
    
incubator/cxf/trunk/api/src/main/java/org/apache/cxf/transport/ConduitInitiator.java
    
incubator/cxf/trunk/api/src/main/java/org/apache/cxf/transport/ConduitInitiatorManager.java
    
incubator/cxf/trunk/api/src/main/java/org/apache/cxf/transport/DestinationFactory.java
    
incubator/cxf/trunk/api/src/main/java/org/apache/cxf/transport/DestinationFactoryManager.java
    incubator/cxf/trunk/common/common/pom.xml
    
incubator/cxf/trunk/common/common/src/main/java/org/apache/cxf/helpers/DOMUtils.java
    
incubator/cxf/trunk/common/common/src/main/java/org/apache/cxf/resource/URIResolver.java
    
incubator/cxf/trunk/common/common/src/main/java/org/apache/cxf/staxutils/StaxUtils.java
    incubator/cxf/trunk/pom.xml
    
incubator/cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/SoapDestinationFactory.java
    
incubator/cxf/trunk/rt/bindings/soap/src/main/resources/META-INF/cxf/cxf-extension.xml
    
incubator/cxf/trunk/rt/bindings/xml/src/main/java/org/apache/cxf/binding/xml/XMLBindingFactory.java
    
incubator/cxf/trunk/rt/bindings/xml/src/main/java/org/apache/cxf/binding/xml/XMLBindingInfoFactoryBean.java
    
incubator/cxf/trunk/rt/bindings/xml/src/main/resources/META-INF/cxf/cxf-extension.xml
    
incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/transport/ConduitInitiatorManagerImpl.java
    
incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/transport/DestinationFactoryManagerImpl.java
    
incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/wsdl11/WSDLServiceBuilder.java
    
incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/wsdl11/WSDLServiceFactory.java
    incubator/cxf/trunk/rt/core/src/main/resources/META-INF/bus-extensions.xml
    incubator/cxf/trunk/rt/core/src/main/resources/META-INF/cxf/cxf.xml
    
incubator/cxf/trunk/rt/core/src/test/java/org/apache/cxf/wsdl11/WSDLServiceBuilderTest.java
    incubator/cxf/trunk/rt/frontend/jaxws/pom.xml
    
incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/EndpointImpl.java
    
incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/ServiceImpl.java
    
incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/servlet/ServletTransportFactory.java
    
incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/support/JaxWsImplementorInfo.java
    
incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/support/JaxWsServiceConfiguration.java
    
incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/support/JaxWsServiceFactoryBean.java
    
incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/support/ProviderServiceFactoryBean.java
    
incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/support/WebServiceProviderConfiguration.java
    
incubator/cxf/trunk/rt/frontend/jaxws/src/main/resources/META-INF/cxf/cxf-extension.xml
    
incubator/cxf/trunk/rt/frontend/simple/src/main/java/org/apache/cxf/service/factory/ReflectionServiceFactoryBean.java
    
incubator/cxf/trunk/rt/frontend/simple/src/main/java/org/apache/cxf/service/factory/ServerFactoryBean.java
    
incubator/cxf/trunk/rt/frontend/simple/src/test/java/org/apache/cxf/service/factory/ReflectionServiceFactoryTest.java
    
incubator/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPTransportFactory.java
    
incubator/cxf/trunk/rt/transports/http/src/main/resources/META-INF/cxf/cxf-extension.xml
    incubator/cxf/trunk/rt/transports/jms/   (props changed)
    
incubator/cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/JMSTransportFactory.java
    
incubator/cxf/trunk/rt/transports/jms/src/main/resources/META-INF/cxf/cxf-extension.xml
    
incubator/cxf/trunk/rt/transports/local/src/main/java/org/apache/cxf/transport/local/LocalTransportFactory.java



Reply via email to