dev@ws-test-harness.java.net

Re: More on: Dispatch and new test harness

From: kathy walsh <Kathleen.Walsh_at_Sun.COM>
Date: Thu, 10 Aug 2006 15:03:28 -0400

Including Jitu for Provider answers-

Ken Hofsass wrote:

> Hi Kathy,
>
> A few more rookie questions regarding provider & dispatch:
>
>>> 1. server side is still running wsimport, even though it's a
>>> provider endpoint - can be automatically detected and skipped.
>>
>>
>> With a Dispatch client, it is not necessary to have a provider
>> endpoint. Tests for Dispatch will need the flexibility to run against
>> WSDL Endpoints as well.
>
>
> Oh, I meant for Provider services... WebServiceProvider could be
> detected and wsimport step skipped... But after thinking about that,
> is Provider similar situation to the Dispatch client side? Namely that
> a Provider-based service will still require use of wsimport or xjc?
>
> Does whether or not the Provider code includes a WSDL make a
> difference in whether wsimport/xjc will need to be run?

I'll let Jitu answer for Provider-

>
>
>>
>> That's ok, however, it brings up another issue regarding Dispatch
>> clients using JAXB data binded Objects. The Dispatch test does need
>> a way to use xjc to generate these objects before the tests. In some
>> of the Dispatch unit tests with JAXB Objects, xjc is used while in
>> other unit tests wsimport is the tool used. Developers might use
>> either tool so it would be good if the test harness flexibility
>> provided for use of either.
>
>
> So will a dispatch always need to call one of those tools? Or are
> there currently three tooling scenarios for a dispatch client:
> wsimport, xjc, none?

all three could be valid depending on the parameter type of the message,
ie Source, SOAPMessage, JAXB,

>
>
> thanks,
> Ken
>