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-tp17646667p17646667.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to