The JSR-109 spec, version 1.2, in section 4.2.12 ("Packaging"), says:
The catalog file jax-ws-catalog.xml must be co-located with the module
deployment descriptor (WEB-INF/jax-ws-catalog.xml for web modules and
META-INF/jax-ws-catalog.xml for the rest).
Roberto
Sameer Tyagi wrote:
> Moving this thread to Java.Net
>
> /s
>
> -------- Original Message --------
> Subject: Re: Catalog sample in samples dir
> Date: Mon, 17 Jul 2006 11:52:57 -0700
> From: Jitendra Kotamraju <Jitendra.Kotamraju_at_Sun.COM>
> To: Rama Pulavarthi <Rama.Pulavarthi_at_Sun.COM>
> CC: Sameer.Tyagi_at_Sun.COM, jaxrpc-eng <jaxrpc-eng_at_sun.com>
> References: <20060714171359.3849.qmail_at_dev.java.net>
> <44BBB644.6080900_at_sun.com> <44BBD798.1050000_at_sun.com>
> <44BBD702.3000904_at_sun.com>
>
>
>
> I think we need to see 109 doc .
>
> Jitu
>
> Rama Pulavarthi wrote:
>
>> Should n't it be in META-INF as per spec.
>> "The catalog is assembled by taking into account all accessible
>> resources whose name is META-INF/jax--ws-catalog.xml. "
>>
>> thanks,
>> Rama Pulavarthi
>>
>> Jitendra Kotamraju wrote:
>>
>>>
>>> Sameer Tyagi wrote:
>>>
>>>> I was looking at this catalog example in samples/catalog and couldnt
>>>> quite figure out how this jax-ws-catalog.xml
>>>> file is actually used. Nothing in the build, packaging or source
>>>> actually ever refers to this file.
>>>
>>>
>>> on the client and j2se endpoints, if META-INF/jax-ws-catalog.xml in
>>> the classpath, it will be picked up.
>>>
>>> For the sevlet endpoints, it should be in WEB-INF/jax-ws-catalog.xml
>>> so that runtime picks it up using ServletContext. So it war needs to
>>> be packaged correctly if it needs to use catalog.
>>>
>>>>
>>>> When the client is built , wsimport still retrieves
>>>> http://localhost:8080/jaxws-catalog/addnumbers?wsdl
>>>
>>>
>>> May this sample wants to show only client side runtime(not the tool
>>> time).
>>>
>>> Jitu
>>>
>>>>
>>>> Looks like wsimport target in build.xml is missing the catalog
>>>> attribute.
>>>> catalog="etc/META-INF/jax-ws-catalog.xml"
>>>>
>>>> /s
>>>>
>>>>
>>>>
>>>> kohlert_at_dev.java.net wrote:
>>>>
>>>>> User: kohlert Date: 2006/07/14 10:13:59
>>>>>
>>>>> Added:
>>>>>
>>>>> jax-ws/www/jax-ws-20-fcs/samples/catalog/etc/META-INF/jax-ws-catalog.xml
>>>>>
>>>>>
>>>>> Log:
>>>>> forgot this file
>>>>> CVS:
>>>>>
>
> --------------------------------------------------------------------- To
> unsubscribe, e-mail: dev-unsubscribe_at_jax-ws.dev.java.net For additional
> commands, e-mail: dev-help_at_jax-ws.dev.java.net