Hello all..
I am a beginner with cfx. I made an WebService in Axis2 then from it's WSDL
code, i used CXF utility WSDL2java to generate java code. Everything is
working fine except one thing.
In the auto generated code CXF generates all Bean classes with JAXB mappings
but while making these bean classes, it generates name the bean property
with first letter small.
        private String providerID;   ->      
@XmlElementRef(name = "providerID", namespace = "some url", type =
JAXBElement.class)
    protected JAXBElement<String> providerID;

so this is working fine becuse here the name of property already starts with
a small letter which is providerId, but i have some other properties which
are having capital letter's in their name like
private String CIN;  In this case CXF make its first letter small so proper
mapping is not possible
like     
@XmlElementRef(name = "cIN", namespace = "some url", type =
JAXBElement.class)
    protected JAXBElement<String> cin;

so when i try to run this from my system object is going to the service with
values of only few properties whose name is already start with small letter,
in case of capital letter value recieving is null.

Can anybody explain it... what is the issue here what should i do.
-- 
View this message in context: 
http://old.nabble.com/Problem-in-autogenerated-code-from-wsdl2java-of-cxf.-tp28956415p28956415.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to