On Friday 29 October 2010 6:30:04 pm KARR, DAVID (ATTSI) wrote:
> When I generate code from my WSDL with "wsdl2java", it gets me the
> following:
> * JAXB classes for each request and response info type.
> * JAXB classes for each PortType
> 
> These are all fine.  These are what I expect.
> 
> In addition to these, I also get files with names like
> "*PortType_*SoapHttpPort_Client.java".  Each of these defines a
> "SERVICE_NAME" QName along with a "main" method.  The "main" methods
> appear to be for testing.  Is there some way to avoid generating these
> classes?  There doesn't appear to be a need for them.  I could write
> some exclude filters if I have to, but that'll be a little messy.

What flags are you passing to wsdl2java.   By default, I don't think it does 
generate those unles you pass the -client or -all flags.


-- 
Daniel Kulp
[email protected]
http://dankulp.com/blog

Reply via email to