The WSDLFlattener do two things iirc:
* include imported wsdl and schemas so that the service
can expose a single standalone WSDL as required by
JBI 1.0
* in doing so, it only extracts a single portType (iirc)
I think the CXF-BC could make use of the wsdl flattener
if it is not the case yet (i can't recall), so feel free to
raise a JIRA (and provide a patch if possible).
Why do you need your WSDL to contain other ports ?
On Feb 1, 2008 10:48 AM, Andrea Zoppello <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I'm beginning to use CXF-BC, in some use case where i need to expose
> my sa ( process )
> with a particular wsdl interface that is predefined, and i cannot
> *autogenerate*.
>
> So the aim is to use CXF-BC where i've just the wsdl.
>
> The problem, is that this wsdl, contains, some *xsd import*
> instructions, with schemaLocation
> attribute. For this reason i've seen in servicemix there's an utility
> class WSDLFlattener that
> could make me happy to avoid locations import in wsdl.
>
> BTW i need to flatten the original WSDL definition, for all the port
> type defined in the wsdl.
>
> The WSDLFlattener seems to cover the use case, only if i want to get a
> flattened for
> a particular portType.
>
> Is possible to modify the WSDLFlattener so to flatten all portType???
>
> Andrea
>
--
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/