CXF Gurus,

I have a class defined as follows:
    @XmlAccessorType(XmlAccessType.PROPERTY)
    @XmlRootElement(name = "FOO")
    public class FOO {
        ...
    }

When CXF generates the WSDL it looks like this:
    <xs:element name="FOO" type="tns:foo"/>

and:
    <xs:complexType name="foo">
        ...
    </xs:complexType>

Further, when the code is generated from the WSDL:
    @XmlType(name = "foo")
    @XmlAccessorType(XmlAccessType.FIELD)
    public class Foo {
        ...
    }

Why is the case different (FOO to Foo), and what do I need to do to
make it the same?

tia,
rouble

Reply via email to