cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clément Tamisier <clement.tamis...@gmail.com>
Subject Re: wsdl2java issue
Date Fri, 13 Sep 2013 02:01:54 GMT
Hi everybody,

Daniel Kulp > only 2 interface files are affected because only 2 wsdl files
has: xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" so this is normal.

I am in taiwan so I was sleeping when you wrote :)

Thanks for your replies and the issue in jira.

https://issues.apache.org/jira/browse/CXF-5280



On Fri, Sep 13, 2013 at 5:39 AM, Aki Yoshida <elakito@gmail.com> wrote:

> just created CXF-5280 for this issue.
>
>
> 2013/9/12 Aki Yoshida <elakito@gmail.com>:
> > Yeah. the strangeness probably comes from the evolutionary process in
> > which cxf has tried to cope with this strange behavior of wsdl4j's
> > unknown attribute value handling. :-)
> >
> > @Clément
> > I think you probably got no time to create a ticket today, In that
> > case, I'll go ahead and create a ticket later today and link it to
> > this thread. Just let me know if you are actually on it so that we can
> > avoid creating a duplicate ticket.
> >
> > thanks.
> > regards, aki
> >
> > 2013/9/12 Daniel Kulp <dkulp@apache.org>:
> >>
> >> What's really strange is the @Action is correct for ALL the other
> generated interfaces.    I kind of would have expected they would all be
> wrong or all be correct.
> >>
> >> Definitely puzzled.
> >>
> >>
> >> Dan
> >>
> >>
> >> On Sep 12, 2013, at 9:08 AM, Aki Yoshida <elakito@gmail.com> wrote:
> >>
> >>> Hi Clément,
> >>> there is an issue that needs to be fixed in cxf.
> >>> It's a strange situation, though.
> >>> The behavior of wsdl4j is rather strange and it tries to interpret an
> >>> unknown attribute value as QName and not as String.
> >>> The Action's type is defined as anyURI in the schema, but because of
> >>> this behavior, the cxf code is also expecting a QName value.
> >>> So a few things in cxf need to be fixed.
> >>>
> >>> could you create a jira ticket and link this mail thread?
> >>> thanks.
> >>> regards, aki
> >>>
> >>>
> >>>
> >>> 2013/9/12 Aki Yoshida <elakito@gmail.com>:
> >>>> i think there is a strange issue with the code generation somewhere.
> >>>> I'll have a second look.
> >>>> regards, aki
> >>>>
> >>>> 2013/9/12 Clément Tamisier <clement.tamisier@gmail.com>:
> >>>>> Hi,
> >>>>>
> >>>>> I am using wsdl2java to generate java class from Global Platform
> wsdl files
> >>>>> (http://www.globalplatform.org/specificationssystems.asp)
> >>>>>
> >>>>> In ServiceLifeCycleNotification.java (generated file) there is:
> >>>>> @Action(input =
> >>>>> "//
> globalplatform.org/servicelifecyclenotification/ServiceLifeCycleNotification/HandleStartServiceStateChangeNotification
> ")
> >>>>>
> >>>>> but it should be:
> >>>>> @Action(input =
> >>>>> "
> http://globalplatform.org/servicelifecyclenotification/ServiceLifeCycleNotification/HandleStartServiceStateChangeNotification
> ")
> >>>>>
> >>>>> In ServiceLifeCycleNotification.wsdl (the corresponding wsdl), there
> is:
> >>>>> xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" in
> <wsdl:definitions>
> >>>>> tag.
> >>>>>
> >>>>> Without this namespace the generation is correct.
> >>>>>
> >>>>> I joined a simple maven project to reproduce this: run "mvn clean
> >>>>> generate-sources"
> >>>>>
> >>>>> Do you know if there is a problem during the generation or in my
> >>>>> configuration ? or the wsdl definition ?
> >>>>>
> >>>>> Thanks for your help.
> >>>>> Regards.
> >>>>>
> >>>>> Clément
> >>>>>
> >>>>>
> >>
> >> --
> >> Daniel Kulp
> >> dkulp@apache.org - http://dankulp.com/blog
> >> Talend Community Coder - http://coders.talend.com
> >>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message