On Oct 18, 2012, at 7:44 AM, elMateo <[email protected]> wrote:

> It's very difficult for me to change all my application from Apache Felix
> to Apache Karaf. I have a lot of bundles into Felix.
> 
> Is there other form to develop a web service client bundle to run into
> Apache Felix?

You could try looking at the Karaf features.xml file that CXF provides:

http://repo1.maven.org/maven2/org/apache/cxf/karaf/apache-cxf/2.7.0/apache-cxf-2.7.0-features.xml

to see which bundles may be needed.    That's really the strength of Karaf 
(IMO) is the ability to group all these things together into features that can 
be more easily tested together.

You MAY be able to get it to work OK if you make sure the container/runtime is 
not exporting the javax.xml.bind and other related packages and make sure the 
SMX versions of those API's are deployed in the container.   Then make sure you 
have the latest runtime bundles as well.  (jaxb-impl for example)

Dan


> Best regards, Jesus.
> 
> On Thu, Oct 18, 2012 at 12:22 PM, elMateo <[email protected]> wrote:
> 
>> Ok, I'm going to try with Apache Karaf.
>> 
>> Thanks!!
>> 
>> 
>> On Thu, Oct 18, 2012 at 12:00 PM, Freeman Fang <[email protected]>wrote:
>> 
>>> Hi,
>>> 
>>> If possible, could you run with Apache Karaf 2.3? Apache Karaf 2.3
>>> support CXF OOTB and it could be based on Felix.
>>> -------------
>>> Freeman(Yue) Fang
>>> 
>>> Red Hat, Inc.
>>> FuseSource is now part of Red Hat
>>> Web: http://fusesource.com | http://www.redhat.com/
>>> Twitter: freemanfang
>>> Blog: http://freemanfang.blogspot.com
>>> http://blog.sina.com.cn/u/1473905042
>>> weibo: http://weibo.com/u/1473905042
>>> 
>>> On 2012-10-18, at 下午5:47, Jesus wrote:
>>> 
>>>> Thank you Daniel.
>>>> 
>>>> I add that flag to wsdl2java tool. Now, my code has not errors. But,
>>> when I
>>>> add my bundle into Felix (that is running on Java6), I still have the
>>> same
>>>> errors. I don't understand with your second part of your message :(
>>>> 
>>>> Excuse me for all these messages and doubts, but I'm stuck with this
>>> long
>>>> time :(
>>>> 
>>>> Thanks in advance for all your help
>>>> 
>>>> Jesus.
>>>> 
>>>> 
>>>> On Wed, Oct 17, 2012 at 8:36 PM, Daniel Kulp [via CXF] <
>>>> [email protected]> wrote:
>>>> 
>>>>> 
>>>>> On Oct 17, 2012, at 11:14 AM, Jesus <[hidden email]<
>>> http://user/SendEmail.jtp?type=node&node=5716878&i=0>>
>>>>> wrote:
>>>>> 
>>>>>> Hello,
>>>>>> 
>>>>>> yes I know, but I don't know how to resolve it. These classes are
>>>>>> autogenerated by wsdl2java tool of CXF
>>>>> 
>>>>> 
>>>>> Try adding "-fe jaxws21" flags to the wsdl2java tool.   You may be
>>> hitting
>>>>> one of the areas of JAXB that would require the full 2.2 api and
>>> runtime
>>>>> which you may not be getting (unless your Felix container is running on
>>>>> Java7).
>>>>> 
>>>>> Dan
>>>>> 
>>>>> 
>>>>>> 
>>>>>> Thanks.
>>>>>> 
>>>>>> On Wed, Oct 17, 2012 at 4:38 PM, Sergey Beryozkin-5 [via CXF] <
>>>>>> [hidden email] <http://user/SendEmail.jtp?type=node&node=5716878&i=1
>>>>> 
>>>>> wrote:
>>>>>> 
>>>>>>> It is something to do with:
>>>>>>> 
>>>>>>> On 17/10/12 15:34, Jesus wrote:
>>>>>>> 
>>>>>>>> The createAddActionResponse method has @XmlElementMapping on it, but
>>>>> it
>>>>>>>> doesn't
>>>>>>>> return a sub-type of JAXBElement.
>>>>>>>>       this problem is related to the following location:
>>>>>>>>               at
>>>>>>> @javax.xml.bind.annotation.XmlElementDecl(scope=class
>>>>>>>> javax.x
>>>>>>>> ml.bind.annotation.XmlElementDecl$GLOBAL, substitutionHeadName=,
>>>>>>>> defaultValue= ,
>>>>>>>> substitutionHeadNamespace=##default,
>>>>>>>> namespace=http://service.backend.connectio
>>>>>>>> n.optimizer/, name=AddActionResponse)
>>>>>>>>               at public javax.xml.bind.JAXBElement
>>>>>>>> optimizer.connection.backen
>>>>>>>> 
>>>>>>> 
>>>>> 
>>> d.service.ObjectFactory.createAddActionResponse(optimizer.connection.backend.ser
>>>>> 
>>>>>>> 
>>>>>>>> vice.AddActionResponse)
>>>>>>>>               at optimizer.connection.backend.service.ObjectFactory
>>>>>>> 
>>>>>>> Cheers, Sergey
>>>>>>> 
>>>>>>> 
>>>>>>> ------------------------------
>>>>>>> If you reply to this email, your message will be added to the
>>>>> discussion
>>>>>>> below:
>>>>>>> 
>>>>>>> 
>>>>> 
>>> http://cxf.547215.n5.nabble.com/SOAP-Web-service-client-problem-in-ApacheFelix-OSGi-tp5716645p5716836.html
>>>>>>> To unsubscribe from SOAP Web service client problem in ApacheFelix
>>>>> OSGi, click
>>>>>>> here<
>>>>> 
>>>>>>> .
>>>>>>> NAML<
>>>>> 
>>> http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
>>>> 
>>>>> 
>>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> --
>>>>>> View this message in context:
>>>>> 
>>> http://cxf.547215.n5.nabble.com/SOAP-Web-service-client-problem-in-ApacheFelix-OSGi-tp5716645p5716841.html
>>>>> 
>>>>>> Sent from the cxf-user mailing list archive at Nabble.com.
>>>>> 
>>>>> --
>>>>> Daniel Kulp
>>>>> [hidden email] <http://user/SendEmail.jtp?type=node&node=5716878&i=2>
>>> -
>>>>> http://dankulp.com/blog
>>>>> 
>>>>> Talend Community Coder - http://coders.talend.com
>>>>> 
>>>>> 
>>>>> 
>>>>> ------------------------------
>>>>> If you reply to this email, your message will be added to the
>>> discussion
>>>>> below:
>>>>> 
>>>>> 
>>> http://cxf.547215.n5.nabble.com/SOAP-Web-service-client-problem-in-ApacheFelix-OSGi-tp5716645p5716878.html
>>>>> To unsubscribe from SOAP Web service client problem in ApacheFelix
>>> OSGi, click
>>>>> here<
>>> http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5716645&code=c295ZWxtYXRlb0BnbWFpbC5jb218NTcxNjY0NXwtODU2MzA5NTk1
>>>> 
>>>>> .
>>>>> NAML<
>>> http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
>>>> 
>>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> --
>>>> View this message in context:
>>> http://cxf.547215.n5.nabble.com/SOAP-Web-service-client-problem-in-ApacheFelix-OSGi-tp5716645p5716917.html
>>>> Sent from the cxf-user mailing list archive at Nabble.com.
>>> 
>>> 
>> 

-- 
Daniel Kulp
[email protected] - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com

Reply via email to