cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Pederson (JIRA)" <>
Subject [jira] Created: (CXF-3069) XmlElement(required=true) on @WebParam not honored in WSDL
Date Fri, 15 Oct 2010 21:46:34 GMT
XmlElement(required=true) on @WebParam not honored in WSDL

                 Key: CXF-3069
             Project: CXF
          Issue Type: Bug
    Affects Versions: 2.3.0
            Reporter: Eric Pederson

My service looks like this:
public interface ServiceTest
    public void testService(
            String foo,

            int bar

But the WSDL fragment for the testService method request looks like:

<xs:complexType name="testService"> 
      <xs:element minOccurs="0" name="foo" type="xs:string"/> 
      <xs:element name="bar" type="xs:int"/> 

I did the endorsed dirs thing and think CXF is seeing the JAX-WS 2.2 jars.  To test did the
- Checked the value of org.apache.cxf.jaxws.spi.ProviderImpl.isJaxWs22(), it returns true
- Checked the class of my endpoint, it is org.apache.cxf.jaxws22.spring.JAXWS22SpringEndpointImpl

(I am not sure if this is a sufficient test.)  

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message