Effective October 27, 2012, online and email support for FuseSource products will move to Red Hat support channels. For more information, please see the JIRA Migration to Red Hat FAQ.
As of October 27th, please open all new issues in the Red Hat Customer Portal .
Issue Details (XML | Word | Printable)

Key: ESB-974
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Giovani Seben
Votes: 0
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
FUSE ESB

Cannot use JAX-WS handler chain from cxf-bc component.

Created: 23/Oct/09 08:18 PM   Updated: 19/Mar/10 08:57 AM
Component/s: servicemix-cxf-bc
Affects Version/s: 3.4.0.4-fuse
Fix Version/s: None

File Attachments: 1. GZip Archive samlSample.tar.gz (7 kB)



 Description  « Hide
The cxf-bc component doesn't seem to work with a JAX-WS handler since input messages do not trigger the handler. I'm currently using a xbean configuration for the bc that uses the following busCfg file:
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:jaxws="http://cxf.apache.org/jaxws"
       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
          http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd">

    <jaxws:server name="{http://localhost:8080/doubleit/services/doubleit}DoubleItService" createdFromAPI="true">
    <jaxws:handlers>
      <bean class="com.progress.ServiceSAMLHandler"/>
    </jaxws:handlers>
  </jaxws:server> 
</beans>

But this config doesn't seem to take effect and it is ignored by the bc.



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Giovani Seben made changes - 23/Oct/09 08:21 PM
Field Original Value New Value
Description The cxf-bc component doesn't seem to work with a JAX-WS handler since input messages do not trigger the handler. I'm currently using a xbean configuration for the bc that uses the following busCfg file:
{code}
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:jaxws="http://cxf.apache.org/jaxws"
       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
          http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd">

    <jaxws:server name="{http://localhost:8080/doubleit/services/doubleit}DoubleItService" createdFromAPI="true">
    <jaxws:handlers>
      <bean class="com.progress.ServiceSAMLHandler"/>
    </jaxws:handlers>
  </jaxws:server>
</beans>
{code}

The cxf-bc component doesn't seem to work with a JAX-WS handler since input messages do not trigger the handler. I'm currently using a xbean configuration for the bc that uses the following busCfg file:
{code}
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:jaxws="http://cxf.apache.org/jaxws"
       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
          http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd">

    <jaxws:server name="{http://localhost:8080/doubleit/services/doubleit}DoubleItService" createdFromAPI="true">
    <jaxws:handlers>
      <bean class="com.progress.ServiceSAMLHandler"/>
    </jaxws:handlers>
  </jaxws:server>
</beans>
{code}

But this config doesn't seem to take effect and it is ignored by the bc.
Giovani Seben added a comment - 23/Oct/09 08:25 PM
Attached is a sample that attempts to use a JAX-WS handler to handle saml assertions. However, the client makes a request, it never goes through this handler.

Giovani Seben made changes - 23/Oct/09 08:25 PM
Attachment samlSample.tar.gz [ 15076 ]
Giovani Seben made changes - 23/Oct/09 08:30 PM
Link This issue is linked from DEV-1818 [ DEV-1818 ]
Rob Davies made changes - 01/Mar/10 04:55 PM
Assignee Rob Davies [ rajdavies ] Chris Custine [ ccustine ]
Chris Custine made changes - 19/Mar/10 08:57 AM
Assignee Chris Custine [ ccustine ]