dev@ws-test-harness.java.net

Re: does service always pre-generate WSDL?

From: Fabian Ritzmann <Fabian.Ritzmann_at_Sun.COM>
Date: Thu, 02 Nov 2006 09:05:48 +0200

Kohsuke Kawaguchi wrote:
> Fabian Ritzmann wrote:
>> I just started writing an e2e test for WSIT. The test is supposed to
>> test whether we are generating the correct WSDL (with policies added
>> from wsit.xml) when there is no WSDL bundled with the service. It
>> seems to me that the WS test harness is always creating WSDL and
>> packaging it with the service? Can that be disabled? If no, please
>> consider this a high-priority feature request.
>
> I guess it was generating WSDL for the purpose of exercising wsgen.
>
> It's bit tricky to get the local/in-vm transports running correctly
> with dynamically generated WSDL, though. I agree that the feature is
> needed for exercising more code path, but this is tricky to get right.

It's fine to generate the WSDL temporarily, just as long as I can
prevent it from being bundled with the final web app.

Fabian