dev@ws-test-harness.java.net

Re: sun-jaxws.xml in the from java case

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Fri, 14 Jul 2006 15:31:56 -0700

Bobby Bissett - Javasoft wrote:
> I have the sun-jaxws.xml generation part fixed now for from-java (am
> starting to like this beanshell idea!). The only part I don't like is
> that it requires the service impl class to have the name attribute set
> in the @WebService annotation. By doing this, we ensure that the same
> name is used in the sun-jaxws.xml file and the generated wsdl.
>
> To get around this, we could find out how wsgen creates names and use
> the same steps or call wsgen first and get the info from the wsdl. Let
> me know how much you want to avoid having the developer add a name (see
> fromjava/server/AddNumbersImpl for the diff).
>
> So now the harness gets through to the client creation I think, but the
> wsdl file isn't generated in the right spot.

In that case, we should make the test fail if name is not set, since
test developers are likely to forget to set name.


-- 
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com