Hi,

 

Is it possible to configure both <jaxws:client> and <jaxws:endpoint>
beans in the same bus? 

 

For testing purposes, I'm configuring my endpoint as follows;

 

<jaxws:endpoint id="{http://foo.com/test}APort"; createdFromAPI="true">

    <jaxws:features>

        ...

    </jaxws:features>

<jaxws:endpoint>

 

My problem is that when I set up my client outbound interceptors via
<jaxws:client>, they don't seem to 

get picked up;

 

<jaxws:client id="{http://foo.com/test}APort"; createdFromAPI="true">

            <jaxws:outInterceptors>

            ...

      </jaxws:outInterceptors>

</jaxws:client>

 

However, when I attach my interceptors to the bus they *do* get picked
up, but this is not ideal as they

get attached to the endpoint as well;

 

<bean id="cxf" class="org.apache.cxf.bus.CXFBusImpl">

    <property name="outInterceptors">

        <list> 

... 

        </list> 

    </property>

</bean>

 

A quick grep tells me that there is no test in CXF that configures both
a <jaxws:client> and a <jaxws:endpoint> in

the same bus. Could someone confirm that it is possible to do this?

 

Cheers,

 

Colm.

Reply via email to