dev@jax-ws.java.net

[Fwd: Re: Catalog sample in samples dir]

From: Sameer Tyagi <Sameer.Tyagi_at_Sun.COM>
Date: Tue, 18 Jul 2006 15:43:31 -0400
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@Sun.COM>
To: Rama Pulavarthi <Rama.Pulavarthi@Sun.COM>
CC: Sameer.Tyagi@Sun.COM, jaxrpc-eng <jaxrpc-eng@sun.com>
References: <20060714171359.3849.qmail@dev.java.net> <44BBB644.6080900@sun.com> <44BBD798.1050000@sun.com> <44BBD702.3000904@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@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: 
>>>>