Hi Julio,

Would you please help log a JRIA issue [1] with test case if it is indeed a bug?

Thanks,
Bo

Julio Arias wrote:
Sorry I forgot about that, there is bug with the jaxws:endpoint configuration, you can apply it to the endpoint in a different way but you would need to declare more beans. I really don't know the difference between jaxws:endpoint and jaxws:server configs. I can give you an example on how to add the extra classes to the jaxws:endpoint it goes like this:

<bean id="jaxbDataBinding" class="org.apache.cxf.jaxb.JAXBDataBinding">
        <property name="extraClass">
            <bean class="ClassArrayFactoryBean">
                <property name="classNames">
                    <list>
                        <value>your.package.Class</value>
                    </list>
                </property>
            </bean>
        </property>
</bean>

<jaxws:endpoint id="yourService" address="/YourServiceAddress" implementor="#yourServiceImpl">
    <jaxws:serviceFactory>
<bean class="org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean">
            <property name="dataBinding" ref="jaxbDataBinding"/>
        </bean>
    </jaxws:serviceFactory>
</jaxws:endpoint>


Reply via email to