On Oct 17, 2012, at 11:14 AM, Jesus <[email protected]> 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] < > [email protected]> 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<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-tp5716645p5716841.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
