users@jax-rpc.java.net

Re: apt task does not generate WSDL or Schema

From: Doug Kohlert <Doug.Kohlert_at_Sun.COM>
Date: Mon, 18 Jul 2005 10:00:26 -0700

Anne,


Anne Thomas Manes wrote:

>So I gather you don't encourage using the "WSDL First" development methodology.
>Too bad.
>
>
>
I am not sure why you would say that. We absolutely support and
encourage "WSDL First" development, but
one would use the wsimport tool and not the apt task. The apt task and
wsgen tools are only used when
starting from Java.

Doug

>Anne
>
>On 7/11/05, Doug Kohlert <Doug.Kohlert_at_sun.com> wrote:
>
>
>>Kevin,
>>I just want to make sure you are clear on why wsgen has this option.
>>First, we do not expect, or desire
>>the web service developer to generate the WSDL/schema at tool-time and
>>package them in the WAR file.
>>The JAX-WS runtime will generate the wsdl/schema dynamically at
>>deployment time for you. The -wsdl
>>option was only added to the wsgen tool so that developers would have a
>>way to look at the WSDL/schema
>>that would be generated at rumtime. So basically, this option is just
>>there for convenience so you don't have to
>>deploy the web service to look at the WSDL. We left this option off of
>>the apt task on purpose so that
>>developers would not include the generated WSDL/schemas into the WAR
>>file. Of course, this could change
>>if we see a need to do so.
>>
>>Fung, Kevin [IT] wrote:
>>
>>
>>
>>>Hi,
>>>
>>>Should the apt task support an option to generate WSDL and Schema? Currently, apt task has to be used to parse the java source followed by the wsgen task to generate the WSDL and Schema. There are a lot of overlaps between these two tasks. If apt task supports the genWSDL option, the two steps can be combined into one.
>>>
>>>Thanks,
>>>
>>>Kevin Fung
>>>Sr. Architect
>>>GCAT Engineering
>>>Citigroup, Inc.
>>>kevin.fung_at_citigroup.com
>>>908-563-0546
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: users-unsubscribe_at_jax-rpc.dev.java.net
>>>For additional commands, e-mail: users-help_at_jax-rpc.dev.java.net
>>>
>>>
>>>
>>>
>>>
>>--
>> - Doug
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe_at_jax-rpc.dev.java.net
>>For additional commands, e-mail: users-help_at_jax-rpc.dev.java.net
>>
>>
>>
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe_at_jax-rpc.dev.java.net
>For additional commands, e-mail: users-help_at_jax-rpc.dev.java.net
>
>
>

-- 
 - Doug