Hi Freeman,

I have deployed the web service using cxf, but for the client I am using
axis 1.2, or that is what I am trying to do, is that fine? the problem is
that if i make any reference in the meta-inf to javax.xml.rpc, servicemix
cant find it when i try to start it:

ERROR CommandLineExecutionFailed:
org.apache.geronimo.gshell.command.CommandException:
org.osgi.framework.BundleException:
 Unresolved constraint in bundle 161: package;
(package=javax.xml.rpc.encoding)

The headers is:

servicioWeb (161)
-----------------
Created-By = Apache Maven
Bundle-Classpath = .
Built-By = pablo.pizarro
Export-Package =
com.steria.conexionParlamento;version="0.0.1";uses:="javax.xml.namespace,javax.xml.rpc,org.apache.axis,or
g.apache.axis.client,org.apache.axis.description,org.apache.axis.encoding",com.steria.servicioWeb;version="0.0.1";uses:="j
avax.jws",com.steria.servicioWeb.impl;version="0.0.1";uses:="com.steria.servicioWeb,javax.xml.bind.annotation,org.springfr
amework.beans.factory",com.steria.servicioWeb.informacionparlamentaria;version="0.0.1";uses:="javax.jws,javax.xml.bind,jav
ax.xml.bind.annotation,javax.xml.datatype,javax.xml.namespace,javax.xml.ws"
Unversioned-Imports = *
Bundle-Version = 0.0.1
Build-Jdk = 1.5.0_15
Manifest-Version = 1.0
Bundle-ManifestVersion = 2
Spring-DM-Version = 0.0.1T
Archiver-Version = Plexus Archiver
Import-Package =
javax.jws,javax.xml.bind,javax.xml.bind.annotation,javax.xml.datatype,javax.xml.namespace,javax.xml.rpc,j
avax.xml.rpc.encoding,javax.xml.ws,org.apache.axis,org.apache.axis.client,org.apache.axis.constants,org.apache.axis.descri
ption,org.apache.axis.encoding,org.apache.axis.encoding.ser,org.apache.axis.soap,org.apache.axis.utils,org.slf4j,org.sprin
gframework.beans.factory
Bundle-Name = servicioWeb
Bundle-SymbolicName = servicioWeb




Freeman Fang wrote:
> 
> Hi,
> 
> I assume you are using cxf client in the bundle, one problem is that the 
> cxf doesn't support rpc/encoding at all.
> So if your third application must be rpc/encoding, then you can't use 
> cxf client IMHO...
> 
> Freeman
> 
> papiar wrote:
>> Hi!
>>
>> I am trying to do a demo in servicemix4, the bus have to deploy a web
>> service and receive one request from a client after process it, it will
>> have
>> to re-send to a third application.
>>
>> The first part, deploy web-service receive and process the request is
>> fine,
>> I have deployed it in one bundle.
>>
>> After, I tried, in the same bundle, to create the web service client and
>> from here call the third application. The problem is that the third
>> application has deployed its web service with rpc encoding, if i try to
>> attack it i receive the following error:
>> "Application has thrown exception, unwinding now javax/xml/rpc/Service"
>>
>> I am doing well the process? I should use servicemix-http? I am absolutly
>> newbie in servicemix, osgi and jbi but i have to make it.
>>
>> I have thought to deploy the client of the web service in other bundle,
>> would this solve me anything?
>>   
> 
> 
> -- 
> Freeman Fang
> ------------------------
> Open Source SOA: http://fusesource.com
> 
> 
> 

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

Reply via email to