Hi everyone,

First, one word to say I quite appreciate the CXF framework. Powerful,
rather sleek and nice code. Like it.

Secondly, I have a request. For the purposes of a tool I'm building, I
need to be able to put child elements inside a wsdl:documentation
element. These children will be parsed and exploited on the other end.

I would like to be able to specify these programmatically. Unless I'm
mistaken, this currently isn't possible. @WSDLDocumentation only allows
specifying strings, just as
org.apache.cxf.service.model.AbstractPropertiesHolder holds
documentation only as a string, as opposed to an org.w3c.dom.Element
(note that javax.wsdl.WSDLElement uses an Element for that purpose).

What I would like would be something like this:

@WSDLDocumentation {
   String text
   Placement placement
   Class<?> faultClass
   WSDLDocumentationChild[] children
}

@WSDLDocumentationChild {
   String text
   String namespace
   String elementName
   WSDLDocumentationChildAttribute[] attributes
   WSDLDocumentationChild[] children
}
   
@WSDLDocumentationChildAttribute {
   String name
   String value
}

Any chance ? :o)


 Olivier.

-- 
I have a very strange feeling about this... -- Luke Skywalker

Reply via email to