Hi -

I have a @WebMethod with a signature like this LIst<MyObj> getSomthing () I'm using Doc/Lit Soap Binding, and MyObj is not been added to my WSDL, I found issue CXF-340 that says how to add extra classes to your JAXB context and i did someting like this (see code below) But it doesn't seem to work either, I debug the endpoint initialization an the properties are null.

<jaxws:endpoint id="documentService" address="/DocumentService" implementor="#documentServiceImpl">
                <jaxws:inInterceptors>
                        <ref bean="saajInInterceptor"/>
                        <ref bean="WSS4jInInterceptor"/>
                </jaxws:inInterceptors>           
                <jaxws:properties>
                        <entry key="jaxb.additionalContextClasses">
                                <bean 
class="com.rbx.lor.ws.utils.ClassArrayFactoryBean">
                                        <property name="classNames">
                                                <list>
                                                        
<value>com.rbx.lor.ws.soap.model.UserVO</value>
                                                </list>
                                        </property>
                                </bean>
                        </entry>
                </jaxws:properties>
        </jaxws:endpoint>




Julio Arias
Java Developer
Roundbox Global : enterprise : technology : genius
---------------------------------------------------------------------
Avenida 11 y Calle 7-9, Barrio Amón, San Jose, Costa Rica
tel: 404.567.5000 ext. 2001 | cell: 11.506.849.5981
email: [EMAIL PROTECTED] | www.rbxglobal.com
---------------------------------------------------------------------

Reply via email to