The example you referred to helped me fix the problem, I think

in my previous pom file i had :

                                <wsdlOption>
                                    <wsdl>
                                       
${basedir}/../cdtbl-service-wsdl/src/main/resources/wsdl/geefCodetabelDienst.wsdl
                                    </wsdl>
                                    <extraargs>
                                        <extraarg>-verbose</extraarg>
                                        <extraarg>
                                           
-xjc-b,${basedir}/../cdtbl-service-wsdl/src/main/resources/wsdl/Datum.xjb
                                        </extraarg>
                                    </extraargs>
                                </wsdlOption>
                            </wsdlOptions>

Now, I am no CXF expert, I'm just upgrading an environment to fuse esb 7,
but I take this kind of configuration isn't allowed anymore when using
codege 2.5.x?

When I changed to 
                                <wsdlOption>
                                   
<wsdl>src/main/resources/wsdl/geefCodetabelDienst.wsdl</wsdl>
                                    <bindingFiles>
                                       
<bindingFile>src/main/resources/wsdl/Datum.xjb</bindingFile>
                                    </bindingFiles>
                                </wsdlOption>

the type of 
 public void setBeginDatum(Calendar value) {
        this.beginDatum = value;
    }

was succesfully compiled to java.util.Calender

Thanks guys!



--
View this message in context: 
http://cxf.547215.n5.nabble.com/Date-format-issue-with-cxf-codegen-2-5-0-tp5712487p5712688.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to