[ 
https://issues.apache.org/jira/browse/CAMEL-12714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16571772#comment-16571772
 ] 

ASF GitHub Bot commented on CAMEL-12714:
----------------------------------------

onderson commented on a change in pull request #2457: CAMEL-12714 - support 
handlers in cxf payload mode without SEI
URL: https://github.com/apache/camel/pull/2457#discussion_r208259951
 
 

 ##########
 File path: 
components/camel-cxf/src/main/java/org/apache/camel/component/cxf/WSDLServiceFactoryBean.java
 ##########
 @@ -102,7 +102,7 @@ protected void buildServiceFromWSDL(String url) {
         super.buildServiceFromWSDL(url);
     }
     public Endpoint createEndpoint(EndpointInfo ei) throws EndpointException {
-        Endpoint ep = new EndpointImpl(getBus(), getService(), ei);
+        Endpoint ep = new JaxWsEndpointImpl(getBus(), getService(), ei);
 
 Review comment:
   this may be a breaking change. @davsclaus , @ffang  could you have a look?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> support handlers in cxf payload data format without SEI
> -------------------------------------------------------
>
>                 Key: CAMEL-12714
>                 URL: https://issues.apache.org/jira/browse/CAMEL-12714
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-cxf
>            Reporter: Peter Van den Bosch
>            Priority: Major
>
> When using a cxf endpoint in payload mode, specifying a WSDL and no service 
> class, the JAX-WS protocol handlers are ignored.
> Documentation however indicates that payload mode supports protocol JAX-WS 
> handlers.
> I made a pull request that activates the JAX-WS handlers in this scenario as 
> well, by using a JaxWsEndpointImpl instead of EndpointImpl and removing some 
> checks that avoid the handlers being set.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to