Actually i did this, but i get output described upper.
Can u try attached assembly?




lhe77 wrote:
> 
> Actually there is another way to do this. Make a jar for your common lib
> and 
> drop it to the lib folder of servicemix.
> 
> But I think you should prefer using the shared-library archetype for such 
> things. Just set the scope of this dependency to "provided" and then it
> will 
> not be included into every SU.
> 
> 
> 
> On Wednesday 04 June 2008 15:24:43 sedo wrote:
>> I have a problem:
>> I want a few assemblies, using common library. I think there's two ways:
>> 1. standart dependency (library is zipped into lib folder somewhere in my
>> assembly)
>> 2. sharedlibrary (standalone installed in servicemix)
>> My concept is here:
>> http://www.nabble.com/file/p17646667/smx-sharedlib.zip smx-sharedlib.zip
>>
>> First version works great, but have drawback - every assembly have this
>> lib
>> inside - this is what i don't want.
>>
>> Second version looks great.
>> Although sharedlibrary is for components, i thing for this purpose it's
>> good idea.
>> But doesn't work for me on half. Installing sharedlibrary is ok, but
>> installing assembly which uses this sharedlibrary cause servicemix this
>> output:
>>
>> 4.6.2008 14:42:41
>> org.apache.cxf.service.factory.ReflectionServiceFactoryBean
>> fillInSchemaCrossreferences
>> SEVERE: Schema element {http://huavi.sedo.sk/service/dht}testResponse
>> references undefined type
>> {http://huavi.sedo.sk/service/dht}TestResponseType for service
>> {http://huavi.sedo.sk/service/dht}ServiceRoutingDHTService. 4.6.2008
>> 14:42:41
>> org.apache.cxf.service.factory.ReflectionServiceFactoryBean
>> fillInSchemaCrossreferences
>> SEVERE: Schema element
>> {http://huavi.sedo.sk/service/dht}dhtServiceException references
>> undefined
>> type
>> {http://huavi.sedo.sk/service/dht}DhtServiceExceptionType for service
>> {http://huavi.sedo.sk/service/dht}ServiceRoutingDHTService.
>> 4.6.2008 14:42:41
>> org.apache.cxf.service.factory.ReflectionServiceFactoryBean
>> fillInSchemaCrossreferences
>> SEVERE: Schema element {http://huavi.sedo.sk/service/dht}testRequest
>> references undefined type
>> {http://huavi.sedo.sk/service/dht}TestRequestType
>> for service {http://huavi.sedo.sk/service/dht}ServiceRoutingDHTService.
>>
>> First version     - lib packaged in assembly    - works
>> Second version - sharedlibrary                    - returns null instead
>> of
>> some string
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Using-sharedLibrary-vs-standart-dependency-tp17646667p17647232.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to