I've been fighting with this pretty hard for a couple of hours now.  I did
find the proper cxf tools jar eventually but I'm getting one dependency
problem after another.  Currently I have:

>>>>>>
classcreate-wsdl-cxf:
    [mkdir] Created dir:
/mnt/c/wip/mcf/CONNECTORS-1566/connectors/csws/build/wsdljava
     [java] Jan 25, 2019 4:09:02 PM org.apache.cxf.staxutils.StaxUtils
createXMLInputFactory
     [java] WARNING: Could not create a secure Stax XMLInputFactory.  Found
class com.sun.xml.internal.stream.XMLInputFactoryImpl.  Suggest Woodstox
4.2.0 or newer.
     [java] Jan 25, 2019 4:09:03 PM org.apache.cxf.staxutils.StaxUtils
createXMLInputFactory
     [java] WARNING: Could not create a secure Stax XMLInputFactory.  Found
class com.sun.xml.internal.stream.XMLInputFactoryImpl.  Suggest Woodstox
4.2.0 or newer.
     [java]
     [java] WSDLToJava Error: Could not find jaxws frontend within classpath
     [java]
<<<<<<

... even though I have jaxws* in the path and woodstox 5.7 too.

Rafa, can you tell me what classpath you are using and what the full
dependencies are for this tool?

Karl


On Fri, Jan 25, 2019 at 9:53 AM Karl Wright <daddy...@gmail.com> 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 <daddy...@gmail.com> wrote:
>
>> The tools package doesn't seem to have it either.
>> Karl
>>
>>
>> On Fri, Jan 25, 2019 at 9:43 AM Karl Wright <daddy...@gmail.com> 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 <rh...@apache.org> 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 <daddy...@gmail.com> 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 <rh...@apache.org> 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 <daddy...@gmail.com>
>>>> wrote:
>>>> >>
>>>> >>> Were you able to look at this yesterday at all?
>>>> >>> Karl
>>>> >>>
>>>> >>> On Thu, Jan 24, 2019 at 6:34 AM Karl Wright <daddy...@gmail.com>
>>>> 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 <rh...@apache.org>
>>>> 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 <daddy...@gmail.com>
>>>> >>>>> 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
>>>> >>>>> >
>>>> >>>>>
>>>> >>>>
>>>>
>>>

Reply via email to