cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Glynn, Eoghan" <eoghan.gl...@iona.com>
Subject Generic client config [WAS: svn commit: r525667]
Date Thu, 05 Apr 2007 16:50:42 GMT



Dan,

Quick question about this commit.

I presume from the namespace that the <jaxws:client> config bean is
limited to JAX-WS proxies, as opposed to org.apache.cxf.endpoint.Clients
in general, or?

Could it be made more generic? Which elements/attributes are definitely
specific to JAX-WS?

In particular I'm thinking the {in|out}[Fault]Interceptors elements
should be configurable for any Client, whether JAX-WS or simple. As all
the other client-side InterceptorProviders (Bus, Endpoint, Binding) are
configurable in this way, whereas the generic Client must seems to be
the odd-man-out, needing its interceptor chains to be specified
programmatically. 

Maybe these generic aspects should be moved to a base bean type for the
generic Client, which is then specialized for JAX-WS?

Cheers,
Eoghan


> -----Original Message-----
> From: dandiep@apache.org [mailto:dandiep@apache.org] 
> Sent: 05 April 2007 02:03
> To: cxf-commits@incubator.apache.org
> Subject: svn commit: r525667 - in /incubator/cxf/trunk: 
> api/src/main/java/org/apache/cxf/configuration/ 
> common/common/src/main/java/org/apache/cxf/configuration/sprin
> g/ common/common/src/main/java/org/apache/cxf/helpers/ 
> integration/jca/src/main/java/org/apache...
> 
> Author: dandiep
> Date: Wed Apr  4 18:03:01 2007
> New Revision: 525667
> 
> URL: http://svn.apache.org/viewvc?view=rev&rev=525667
> Log:
> o Make ServiceImpl use the JaxWsClientFactoryBean instead of 
> replicating
>   the same code in multiple places.
> o Enable <jaxws:client> configuration for both Spring-only 
> and ServiceImpl
>   cases. 
> o Add support for setting endpointName & serviceName on 
> EndpointFactoryBean.
>   EndpointFactoryBean still needs to be unified with 
> ServerFactoryBean &
>   EndpointImpl somehow. Also I need to add in support for 
> configuring a
>   EndpointImpl via <jaxws:endpoint>. That should come in my 
> next commit.
> o Remove http/jms namespaces from SoapBindingFactory 
> configurations. Properly
>   check for these the JAX-WS binding ids inside 
> JaxWsServerFactoryBean and map
>   them to the appropriate binding configurations. Now if you 
> select the 
>   SOAP12_MTOM_BINDING, you should actually get a binding with 
> soap 1.2 and 
>   MTOM enabled - although this does need some proper tests.
> 
> 
> Added:
>     
> incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache
> /cxf/jaxws/spring/JaxWsProxyFactoryBeanDefinitionParser.java  
>  (with props)
>     
> incubator/cxf/trunk/rt/frontend/jaxws/src/test/java/org/apache
> /cxf/jaxws/soapServiceConfig.xml   (with props)
>     
> incubator/cxf/trunk/rt/frontend/jaxws/src/test/java/org/apache
> /cxf/jaxws/spring/clients.xml   (with props)
> Modified:
>     
> incubator/cxf/trunk/api/src/main/java/org/apache/cxf/configura
> tion/Configurer.java
>     
> incubator/cxf/trunk/common/common/src/main/java/org/apache/cxf
> /configuration/spring/AbstractBeanDefinitionParser.java
>     
> incubator/cxf/trunk/common/common/src/main/java/org/apache/cxf
> /helpers/DOMUtils.java
>     
> incubator/cxf/trunk/integration/jca/src/main/java/org/apache/c
> xf/jca/cxf/ManagedConnectionImpl.java
>     
> incubator/cxf/trunk/rt/bindings/soap/src/main/resources/META-I
> NF/bus-extensions.xml
>     
> incubator/cxf/trunk/rt/bindings/soap/src/main/resources/META-I
> NF/cxf/cxf-extension-soap.xml
>     
> incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/confi
> guration/NullConfigurer.java
>     
> incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/confi
> guration/spring/ConfigurerImpl.java
>     
> incubator/cxf/trunk/rt/core/src/main/resources/META-INF/cxf/cxf.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/JaxWsClientFactoryBean.java
>     
> incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache
> /cxf/jaxws/JaxWsProxyFactoryBean.java
>     
> incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache
> /cxf/jaxws/JaxWsServerFactoryBean.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/spring/EndpointFactoryBean.java
>     
> incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache
> /cxf/jaxws/spring/EndpointFactoryBeanDefinitionParser.java
>     
> incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache
> /cxf/jaxws/spring/NamespaceHandler.java
>     
> incubator/cxf/trunk/rt/frontend/jaxws/src/main/resources/org/a
> pache/cxf/jaxws/spring/jaxws.xsd
>     
> incubator/cxf/trunk/rt/frontend/jaxws/src/test/java/org/apache
> /cxf/jaxws/CodeFirstTest.java
>     
> incubator/cxf/trunk/rt/frontend/jaxws/src/test/java/org/apache
> /cxf/jaxws/ServiceImplTest.java
>     
> incubator/cxf/trunk/rt/frontend/jaxws/src/test/java/org/apache
> /cxf/jaxws/spring/SpringBeansTest.java
>     
> incubator/cxf/trunk/rt/frontend/jaxws/src/test/java/org/apache
> /cxf/jaxws/spring/endpoints.xml
>     
> incubator/cxf/trunk/rt/frontend/simple/src/main/java/org/apach
> e/cxf/frontend/AbstractEndpointFactory.java
>     
> incubator/cxf/trunk/rt/frontend/simple/src/main/java/org/apach
> e/cxf/frontend/ClientFactoryBean.java
>     
> incubator/cxf/trunk/rt/frontend/simple/src/main/java/org/apach
> e/cxf/frontend/ClientProxyFactoryBean.java
>     
> incubator/cxf/trunk/rt/frontend/simple/src/main/java/org/apach
> e/cxf/service/factory/ReflectionServiceFactoryBean.java
>     incubator/cxf/trunk/rt/ws/security/pom.xml
>     
> incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/syst
> est/bus/SpringBusFactoryTest.java
>     
> incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/syst
> est/jaxws/ClientServerTest.java
> 

Mime
View raw message