[jbdevstudio-users] How do I change the template for the JBoss WS generated classes.

Brian Fitzpatrick jbdevstudio-users at lists.jboss.org
Fri Jun 13 08:45:53 EDT 2014


Hi Filipe!

Sorry it's taken a bit to get back to you on this. After doing a little looking, it appears there is a "-w" or "-wsdlLocation" option (see  and [JBWS-3530]   (https://issues.jboss.org/browse/JBWS-3530)for some discussion on this. As part of the Generate Java Bean Skeleton wizard, you can pass this option with a value and it replaces the generated @WebServiceClient code..

So with this:

 Image:bean-skeleton-wsdllocation.png 

I get this with my sample WSDL:

{code}
@WebServiceClient(name = "OrderService", 
                  wsdlLocation = "MYWSDLURL",
                  targetNamespace = "urn:switchyard-quickstart:validate-xml:0.1.0") 
{code}
.
That should handle what you're looking for I think. Please let me know if that doesn't work!
--Fitz

Posted by forums
Original post: https://community.jboss.org/message/878069#878069



More information about the jbdevstudio-users mailing list