You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Frank Lynch <fr...@iona.com> on 2007/02/15 23:08:48 UTC
getting wsdl2java to dump "preprocessed" wsdl
Hi Folks,
Is there a way to get wsdl2java to preprocess a wsdl document (parse xsd
and wsdl imports & includes), and output a single document for debugging
purposes. I'm trying to resolve an order of include/imports problem with
some quite complex schema & wsdl... or should I create an enhancement
request in Jira for this?
cheers,
--Frank
Re: getting wsdl2java to dump "preprocessed" wsdl
Posted by Bozhong Lin <bl...@iona.com>.
Hi,
I believe current wsdl2java tool doesn't have this kind of debugging
functionality. You can go ahead and create an enhancement request in
Jira [1].
Cheers,
Bo
[1] https://issues.apache.org/jira/browse/CXF
Frank Lynch wrote:
> Hi Folks,
> Is there a way to get wsdl2java to preprocess a wsdl document (parse xsd
> and wsdl imports & includes), and output a single document for debugging
> purposes. I'm trying to resolve an order of include/imports problem with
> some quite complex schema & wsdl... or should I create an enhancement
> request in Jira for this?
> cheers,
> --Frank
>
>
RE: getting wsdl2java to dump "preprocessed" wsdl
Posted by "Sakala, Adinarayana" <ad...@iona.com>.
FYI, You cannot inline wsdl/xsd documents that are imports if they are
from different namespace.
If this is a WSDL Design issue, Did you try using WTP WSDL Editor or
XMLSpy (trial version :) ) to see if you can resolve order problem?
Thanks,
Adi Sakala
> -----Original Message-----
> From: Liu, Jervis [mailto:jliu@iona.com]
> Sent: Friday, February 16, 2007 1:17 AM
> To: cxf-user@incubator.apache.org
> Subject: RE: getting wsdl2java to dump "preprocessed" wsdl
>
> Hi Frank,
>
> In theory, this can be done by XSLT. In practice, it is a bit tricky.
I
> once spent a good while to write an in-line function using XSLT that
in-
> lines imported xsd schemas into wsdl file for a idltowsdl tool. Note,
this
> XSLT does not work for WSDL imports and includes.
>
> I am not sure if its worth us time (I estimate it is a work will take
at
> least two days for a non-XSLT expert like me) to add a such feature
into
> wsdltojava solely for debugging purposes, but I would definitely say
yes
> if you have a use case that requires wsdl2java (or xxxtowsdl) to do an
in-
> line transformation on its input.
>
> Cheers,
> Jervis
>
> > -----Original Message-----
> > From: Frank Lynch [mailto:frank@iona.com]
> > Sent: 2007?2?16? 6:09
> > To: cxf-user@incubator.apache.org
> > Subject: getting wsdl2java to dump "preprocessed" wsdl
> >
> >
> > Hi Folks,
> > Is there a way to get wsdl2java to preprocess a wsdl document
> > (parse xsd
> > and wsdl imports & includes), and output a single document
> > for debugging
> > purposes. I'm trying to resolve an order of include/imports
> > problem with
> > some quite complex schema & wsdl... or should I create an
enhancement
> > request in Jira for this?
> > cheers,
> > --Frank
> >
> >
RE: getting wsdl2java to dump "preprocessed" wsdl
Posted by "Liu, Jervis" <jl...@iona.com>.
Hi Frank,
In theory, this can be done by XSLT. In practice, it is a bit tricky. I once spent a good while to write an in-line function using XSLT that in-lines imported xsd schemas into wsdl file for a idltowsdl tool. Note, this XSLT does not work for WSDL imports and includes.
I am not sure if its worth us time (I estimate it is a work will take at least two days for a non-XSLT expert like me) to add a such feature into wsdltojava solely for debugging purposes, but I would definitely say yes if you have a use case that requires wsdl2java (or xxxtowsdl) to do an in-line transformation on its input.
Cheers,
Jervis
> -----Original Message-----
> From: Frank Lynch [mailto:frank@iona.com]
> Sent: 2007?2?16? 6:09
> To: cxf-user@incubator.apache.org
> Subject: getting wsdl2java to dump "preprocessed" wsdl
>
>
> Hi Folks,
> Is there a way to get wsdl2java to preprocess a wsdl document
> (parse xsd
> and wsdl imports & includes), and output a single document
> for debugging
> purposes. I'm trying to resolve an order of include/imports
> problem with
> some quite complex schema & wsdl... or should I create an enhancement
> request in Jira for this?
> cheers,
> --Frank
>
>