I was able to get the wsdl->java compilation working without downloading a ton of additional dependencies, and with cxf version 2.6.2. Thanks, Rafa, for your help in getting this far.
Karl On Fri, Jan 25, 2019 at 4:11 PM Karl Wright <[email protected]> wrote: > That's one approach. I'm not thrilled with it; we cannot guarantee no > client wsdl changes over time. But if there's nothing better we'll have to > live with it. > > The real problem, of course, is that code generated with version X of cxf > requires runtime libraries from version X, and that's still a conflict. So > I need to get the WSDL2Java going for 2.6.2. > > Karl > > > On Fri, Jan 25, 2019 at 3:54 PM Rafa Haro <[email protected]> wrote: > >> I would try to be pragmatic. If those wsdl are not likely to change in the >> future, I would build the client classes offline. Not sure if the >> generated >> class are going to use further classes of cxf and then the problem could >> end up being the same, but it is worth to try >> >> El El vie, 25 ene 2019 a las 21:14, Karl Wright <[email protected]> >> escribió: >> >> > I downloaded the cxf binary, latest version. >> > The dependency list is huge and very likely conflicts with existing >> > connectors which have dependencies on cxf 2.x. I would estimate that >> > including all the new jars and dependencies would easily double our >> > download footprint. >> > >> > Surely there must be a list of the minimal jars needed to get >> WSDLToJava to >> > function somewhere? >> > >> > Karl >> > >> > >> > >> > >> > On Fri, Jan 25, 2019 at 2:14 PM Karl Wright <[email protected]> wrote: >> > >> > > I'm not getting missing cxf jars. I'm getting problems with >> downstream >> > > dependencies. >> > > >> > > We don't usually ship more jars than we need to, is the short answer >> to >> > > your second question. >> > > >> > > Karl >> > > >> > > >> > > On Fri, Jan 25, 2019 at 11:38 AM Rafa Haro <[email protected]> wrote: >> > > >> > >> which jars are you downloading?. Why not getting the whole release? >> > >> >> > >> On Fri, Jan 25, 2019 at 5:31 PM Rafa Haro <[email protected]> wrote: >> > >> >> > >>> Not sure, Karl I just picked up last release. I can try to find the >> > >>> first version offering it but as long as they have backwards >> > compatibility >> > >>> we should be fine with the last version although we might need to >> > update >> > >>> the affected connectors >> > >>> >> > >>> Rafa >> > >>> >> > >>> On Fri, Jan 25, 2019 at 3:53 PM Karl Wright <[email protected]> >> > wrote: >> > >>> >> > >>>> When did it first appear? We're currently on 2.6.2; this is set by >> > >>>> various dependencies by our connectors. >> > >>>> >> > >>>> Karl >> > >>>> >> > >>>> On Fri, Jan 25, 2019 at 9:52 AM Karl Wright <[email protected]> >> > wrote: >> > >>>> >> > >>>>> The tools package doesn't seem to have it either. >> > >>>>> Karl >> > >>>>> >> > >>>>> >> > >>>>> On Fri, Jan 25, 2019 at 9:43 AM Karl Wright <[email protected]> >> > >>>>> wrote: >> > >>>>> >> > >>>>>> Do you know what jar/maven package this is in? because I don't >> seem >> > >>>>>> to have it in our normal cxf jars... >> > >>>>>> >> > >>>>>> Karl >> > >>>>>> >> > >>>>>> >> > >>>>>> On Fri, Jan 25, 2019 at 9:08 AM Rafa Haro <[email protected]> >> wrote: >> > >>>>>> >> > >>>>>>> I used a wsdl2java script that comes as an utility of the apache >> > cxf >> > >>>>>>> release, but basically is making use >> > >>>>>>> of org.apache.cxf.tools.wsdlto.WSDLToJava class. You can find >> here >> > >>>>>>> an usage >> > >>>>>>> example with ant: http://cxf.apache.org/docs/wsdl-to-java.html >> > >>>>>>> >> > >>>>>>> On Fri, Jan 25, 2019 at 2:59 PM Karl Wright <[email protected] >> > >> > >>>>>>> wrote: >> > >>>>>>> >> > >>>>>>> > I was using ancient Axis 1.4 and none of them were working. >> You >> > >>>>>>> can >> > >>>>>>> > exercise this with "ant classcreate-wsdls" in the csws >> directory. >> > >>>>>>> > >> > >>>>>>> > If you can give instructions for invoking CXF, maybe we can do >> > that >> > >>>>>>> > instead. What's the main class, and what jars do we need to >> > >>>>>>> include? >> > >>>>>>> > >> > >>>>>>> > Karl >> > >>>>>>> > >> > >>>>>>> > >> > >>>>>>> > On Fri, Jan 25, 2019 at 7:28 AM Rafa Haro <[email protected]> >> > >>>>>>> wrote: >> > >>>>>>> > >> > >>>>>>> >> Yes, I did. I have only tested Authentication service with >> > Apache >> > >>>>>>> CXF and >> > >>>>>>> >> it was apparently working fine. Which ones were failing for >> you? >> > >>>>>>> >> >> > >>>>>>> >> On Fri, Jan 25, 2019 at 12:38 PM Karl Wright < >> > [email protected]> >> > >>>>>>> wrote: >> > >>>>>>> >> >> > >>>>>>> >>> Were you able to look at this yesterday at all? >> > >>>>>>> >>> Karl >> > >>>>>>> >>> >> > >>>>>>> >>> On Thu, Jan 24, 2019 at 6:34 AM Karl Wright < >> > [email protected]> >> > >>>>>>> wrote: >> > >>>>>>> >>> >> > >>>>>>> >>>> They're all checked in. >> > >>>>>>> >>>> >> > >>>>>>> >>>> See >> > >>>>>>> >>>> >> > >>>>>>> >> > >> https://svn.apache.org/repos/asf/manifoldcf/branches/CONNECTORS-1566/connectors/csws/wsdls >> > >>>>>>> >>>> >> > >>>>>>> >>>> Karl >> > >>>>>>> >>>> >> > >>>>>>> >>>> >> > >>>>>>> >>>> On Thu, Jan 24, 2019 at 6:24 AM Rafa Haro < >> [email protected]> >> > >>>>>>> wrote: >> > >>>>>>> >>>> >> > >>>>>>> >>>>> Karl, can you share the WSDL, I can try to take a look >> later >> > >>>>>>> today >> > >>>>>>> >>>>> >> > >>>>>>> >>>>> On Thu, Jan 24, 2019 at 12:13 PM Karl Wright < >> > >>>>>>> [email protected]> >> > >>>>>>> >>>>> wrote: >> > >>>>>>> >>>>> >> > >>>>>>> >>>>> > I'm redeveloping the Livelink connector because the API >> > code >> > >>>>>>> has been >> > >>>>>>> >>>>> > discontinued and the only API is now web services based. >> > >>>>>>> The WSDLs >> > >>>>>>> >>>>> and >> > >>>>>>> >>>>> > XSDs have been exported and I'm trying to use the Axis >> tool >> > >>>>>>> >>>>> WSDL2Java to >> > >>>>>>> >>>>> > convert to Java code. Unfortunately, I haven't been >> able >> > to >> > >>>>>>> make >> > >>>>>>> >>>>> this work >> > >>>>>>> >>>>> > -- even though the WSDLs references have been made local >> > and >> > >>>>>>> the >> > >>>>>>> >>>>> XSDs also >> > >>>>>>> >>>>> > seem to be getting parsed, it complains about missing >> > >>>>>>> definitions, >> > >>>>>>> >>>>> even >> > >>>>>>> >>>>> > though those definitions are clearly present in the XSD >> > >>>>>>> files. >> > >>>>>>> >>>>> > >> > >>>>>>> >>>>> > Has anyone had enough experience with this tool, and web >> > >>>>>>> services in >> > >>>>>>> >>>>> > general, to figure out what's wrong? I've tried >> turning on >> > >>>>>>> as >> > >>>>>>> >>>>> verbose a >> > >>>>>>> >>>>> > debugging level for WSDL2Java as I can and it's no help >> at >> > >>>>>>> all. I >> > >>>>>>> >>>>> suspect >> > >>>>>>> >>>>> > namespace issues but I can't figure out what they are. >> > >>>>>>> >>>>> > >> > >>>>>>> >>>>> > Thanks in advance, >> > >>>>>>> >>>>> > Karl >> > >>>>>>> >>>>> > >> > >>>>>>> >>>>> >> > >>>>>>> >>>> >> > >>>>>>> >> > >>>>>> >> > >> >
