[jboss-user] [JBossWS] - Re: Webservice impl from WSDL

PeterJ do-not-reply at jboss.com
Wed Sep 10 17:22:39 EDT 2008


Are you doing a POJO web service or an EJB3 web service? They are slightly different. For a simple pojo 'hello world' service, you need:

WEB-INF/web.xml
WEB-INF/classes/pojo/ws/*.class (the wsconsume-generated classes)
WEB-INF/classes/pojo/ws/HelloImpl.class (the class you coded)
WEB-INF/wsdl/hello.wsdl

this layout assume this annotation on the HelloImpl class:

@WebService(.., wsdlLocation="WEB-INF/wsdl/hello.wsdl")



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175708#4175708

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175708



More information about the jboss-user mailing list