I am working on a CXF/JAXB code-first web service. I would like to be able to
modify the WSDL definitions of some of the inputs.
For example, given the following interface snippet:
@WebMethod
public void Something(@WebParam(name="date") Date date);
The WSDL will generate the XMLSchema for the input "date" to be a "datetime"
xml element. I would like it to be simply a "date" element instead.
It would also be nice to be able to specify the some of the other input
attributes, such as minOccurs, etc.
For a custom object, the sub-elements can define all of these things through
annotations such as XmlElement and XmlSchemaType. However, these annotations
are not legal on an input parameter.
I know earlier versions of CXF did not handle this, but I'm not sure about the
later versions. I'm currently running CXF 2.3.5.
NOTICE: This email message is for the sole use of the intended recipient(s)
and may contain confidential and privileged information. Any unauthorized
review, use, disclosure or distribution is prohibited. If you are not the
intended recipient, please contact the sender by reply email and destroy all
copies of the original message.