Hi,
When I tested it, I actually use your binding file.
We have a wsdl_first example in CXF kit, which use binding file to customize
the xsd:date from wsdl/schema, which is exactly same as your scenario.
You can edit $CXF_HOME/samples/wsdl_first/src/main/resources/binding.xml,
change the content same as your binding file.
Then run "mvn clean install"
then in
$CXF_HOME/samples/wsdl_first/target/generated-sources/cxf/com/example/customerservice/Customer.java
you can find it generate the import java.util.Calendar; for setBirthDate as
expected.
public void setBirthDate(Calendar value) {
this.birthDate = value;
}
Freeman
-------------
Freeman Fang
FuseSource
Email:[email protected]
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com
http://blog.sina.com.cn/u/1473905042
weibo: http://weibo.com/u/1473905042
On 2012-8-15, at 下午3:13, barthorre wrote:
> Hi Freeman,
>
> thanks for the reply. I'll post this in the fuse forum aswell.
>
> Now, the only thing I changed was the version number in my pom file. Didn't
> even touch any configs.
> And this config worked as expected with 2.4.2.
>
> Do you perhaps require any additional logging to get a better view of what's
> going on here?
>
>
>
> --
> View this message in context:
> http://cxf.547215.n5.nabble.com/Date-format-issue-with-cxf-codegen-2-5-0-tp5712487p5712603.html
> Sent from the cxf-user mailing list archive at Nabble.com.