This content has been marked as final.
Show 4 replies
-
1. Re: XMLSchema, WSDL and wsconsume tool
richard_opalka Oct 8, 2007 7:38 AM (in response to mleite)You have to bundle your wsdl to the packaged archive you're deploying.
Round trip you described doesn't work.
Richard -
2. Re: XMLSchema, WSDL and wsconsume tool
mleite Oct 8, 2007 9:00 AM (in response to mleite)Hi, Richard! Thanks for your help.
I've decided to put my complex/simple types within the WSDL file only for experience. Then i've put my WSDL file in a folder called wsdl and put this folder in the WEB-INF dir, but it doesn't work. JBoss still create the WSDL dinamically without my complex/simple types restrictions.
Any ideas?
Thanks in advance! -
-
4. Re: XMLSchema, WSDL and wsconsume tool
richard_opalka Oct 9, 2007 10:33 AM (in response to mleite)Hi,
annotate your Service implementation with @WebService annotation and specify
your wsdl location there. Here's the example:@WebService ( name = "Hello", targetNamespace = "http://org.jboss.ws/samples/wssecuritypolicy", wsdlLocation="WEB-INF/wsdl/HelloService.wsdl" )
Richard