Hi,

I have solved the problem, I had to set the classpath with two libraries,
but now when I make a request, servicemix send this message:

Application has thrown exception, unwinding now org/w3c/dom/Node

I use axis in my bundle to call a web service.

I write down my manifest:

Manifest-Version: 1.0
Archiver-Version: Plexus Archiver
Unversioned-Imports: *
Built-By: pablo.pizarro
Created-By: Apache Maven
Bundle-Classpath: .,axis-jaxrpc-1.2.jar,axis-1.2.jar
Import-Package:
META-INF.cxf,javax.jws,javax.xml.bind,javax.xml.bind.annotation,jav
 ax.xml.datatype,javax.xml.namespace,javax.xml.rpc,javax.xml.rpc.encod
 ing,javax.xml.ws,org.apache.axis,org.apache.axis.client,org.apache.ax
 is.constants,org.apache.axis.description,org.apache.axis.encoding,org
 .apache.axis.encoding.ser,org.apache.axis.soap,org.apache.axis.utils,
 org.slf4j,org.springframework.beans.factory,org.springframework.beans
 .factory.config,javax.naming,
 org.apache.cxf.bus, org.apache.cxf.bus.resource,
 org.apache.cxf.bus.spring, org.apache.cxf.configuration.spring,
 org.apache.cxf.binding.soap, org.apache.cxf.binding,
 org.apache.cxf.transport, org.apache.cxf.wsdl11, org.apache.cxf.phase, 
 org.apache.cxf.workqueue, org.apache.cxf.buslifecycle, 
 org.apache.cxf.endpoint, org.apache.cxf.transport.http, 
 org.apache.cxf.headers, org.apache.cxf.catalog,
org.apache.cxf.transport.http.policy, 
 org.apache.cxf.transport.http_jetty, org.apache.cxf.binding.http, 
 org.apache.cxf.resource
Spring-DM-Version: 0.0.1T
Export-Package: javax.xml.rpc.encoding,org.apache.axis.soap,org.apache
 .axis.utils,org.apache.axis.constants,org.apache.axis.encoding.ser,ja
 vax.xml.rpc,org.apache.axis.description,org.apache.axis.encoding,org.
 apache.axis.client,org.apache.axis,
 com.steria.conexionParlamento;version="0.0.1";uses:="j
 avax.xml.namespace,javax.xml.rpc,org.apache.axis,org.apache.axis.clie
 nt,org.apache.axis.description,org.apache.axis.encoding",com.steria.s
 ervicioWeb;version="0.0.1";uses:="javax.jws",com.steria.servicioWeb.i
 mpl;version="0.0.1";uses:="com.steria.servicioWeb,javax.xml.bind.anno
 tation,org.springframework.beans.factory",com.steria.servicioWeb.info
 rmacionparlamentaria;version="0.0.1";uses:="javax.jws,javax.xml.bind,
 javax.xml.bind.annotation,javax.xml.datatype,javax.xml.namespace,java
 x.xml.ws"
Bundle-Version: 0.0.1
Bundle-Name: servicioWeb
Build-Jdk: 1.5.0_15
Bundle-ManifestVersion: 2
Bundle-SymbolicName: servicioWeb







Freeman Fang wrote:
> 
> Hi,
> 
> I'm not sure those jars are bundle jar.
> Could you use like
> osgi/headers 164
> to get the header?
> ensure there is something like
> Export-Package = javax.xml.rpc.encoding
> 
> Freeman
> 
> papiar wrote:
>> I have installed the bundle jar containing the jar but it didnt solve the
>> error.
>>
>> install -s mvn:axis.axis/axis
>> install -s mvn:axis/axis-jaxrpc
>>
>> In the list of osgi i can see:
>>
>> [ 163] [Active     ] [       ] [   60] mvn:axis/axis
>> [ 164] [Active     ] [       ] [   60] mvn:axis/axis-jaxrpc
>>
>>
>>   
> 
> 
> -- 
> Freeman Fang
> ------------------------
> Open Source SOA: http://fusesource.com
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/deploy-WebService-client-in-servicemix4-tp23499596p23654272.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to