I can't test it because it's importing a schema that you hadn't included. But if you plug it into my soap_client_tutorial sample: https://github.com/gmazza/blog-samples/tree/master/soap_client_tutorial, delete the WSClient.java file there and run mvn clean install you'll get feedback from CXF on whether it will accept your WSDL. Also, with the -PMetro option you can test it with Metro's wsdl2java equivalent to see if you get better results.

HTH,
Glen

On 10/22/2012 06:59 AM, elMateo wrote:
Sorry for my ignorance, but it's possible that my wsdl isn't compatible with CXF??

I attached my wsdl.

Thanks!

On Thu, Oct 18, 2012 at 4:52 PM, Jesus <[email protected] <mailto:[email protected]>> wrote:

    I forgot to comment in my last mail that I only want to develop a
    SOAP Web
    Service Client into my Felix container.

    So if there is somebody that know other form to do this, it would be
    wonderful comment. I'm not required to do with CXF.

    Thanks and forgive me for any inconvenience.

    Best regards, Jesús.


    On Wed, Oct 17, 2012 at 8:36 PM, Daniel Kulp [via CXF] <
    [email protected]
    <mailto:ml-node%[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-tp5716645p5716941.html
    Sent from the cxf-user mailing list archive at Nabble.com.




--
Glen Mazza
Talend Community Coders - coders.talend.com
blog: www.jroller.com/gmazza

Reply via email to