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.

Reply via email to