We sure have a lot of wsdls in there. Do any of them stand out as offering 'one of everything' in terms of schema or service issues?
> -----Original Message----- > From: Daniel Kulp [mailto:[EMAIL PROTECTED] > Sent: Monday, October 22, 2007 10:25 AM > To: [email protected] > Cc: Benson Margulies > Subject: Re: Borrowing WSDLs for unit tests > > On Monday 22 October 2007, Benson Margulies wrote: > > I have a new project for the Javascript generator. I want to use some > > of the existing inventory of WSDLs for unit tests. What's the POM > > recipe to copy them, or can I reference them 'in place' somehow? > > I chatted a bit with Benson on IRC about this, but thought I'd summarize > the response here for others. Basically, the "testutils" module is > generally the dumping ground for wsdl's used for tests in the other > runtime modules. (tooling is different. building testutils requires > the tooling). testutils also holds a bunch of pre-generated server > impls, interfaces, etc... that your test could use without having to > have wsdl2java run for your module. (making building your module > faster) > > If you use a Bus in your test and use the WSDLManager from the Bus, it's > pretty much automatic. If testutils is on the classpath (test scope > dependency in the pom), you can reference any of the wsdls either via: > > classpath:/wsdl/hello_world.wsdl > or > testutils/hello_world.wsdl > > The first pulls it from the classpath. The second uses an OASIS catalog > to map testutils prefix to the classpath form. > > > -- > J. Daniel Kulp > Principal Engineer > IONA > P: 781-902-8727 C: 508-380-7194 > [EMAIL PROTECTED] > http://www.dankulp.com/blog
