With JAXB I think you need to have a jaxb.index file in your package
which lists the class names. So if I had a packge "com.acme" with a
"Customer" class, I would have a jaxb.index file which contained
"Customer" on the first line.
Hope that helps,
- Dan
Julio Cesar de Melhado e Lima wrote:
Hi Folks
I'm trying to set-up a webservice using
org.codehaus.xfire.transport.http.XFireConfigurableServlet.
I'm also using JAXB2 for binding and JSR-181 to declare my
webservices and webmethods.
My service.xml looks like :
<bean id="gestaoAtivosService"
class="br.com.netset.visanet.gestaoativos.ws.GestaoAtivosServiceImpl"/>
<bean name="jaxbServiceFactory"
class="org.codehaus.xfire.jaxb2.JaxbServiceFactory"/>
<service>
<name>GestaoAtivosService</name>
<serviceBean>#gestaoAtivosService</serviceBean>
<serviceFactory>#jaxbServiceFactory</serviceFactory>
<style>document</style>
<use>literal</use>
</service>
</beans>
I can see my WSDL accessing a local url, but when I try to access an
operation I get an error like :
javax.xml.bind.JAXBException: "br.com.netset.visanet.gestaoativos"
doesnt contain ObjectFactory.class or jaxb.index
I know that I'm missing something... but I don't know what :-/
Any idea ?
Do I need to configure anything else ?
Thanks a lot !
JLima
--
Dan Diephouse
Envoi Solutions
http://envoisolutions.com
http://netzooid.com/blog
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email