You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by James Mao <ja...@iona.com> on 2007/09/03 06:29:46 UTC
Re: Simple front end and JAB customization
Jacob,
Yes, It's through JAXB annotation.
First, you can find a wsdl which has the xsd:date type, then use the
instructions in the doc to generate java artifacts from the wsdl
Then, just copy the Adapter, Annotations from those artifacts
I haven't tried this approach, but should work.
James
> James,
>
> I am using the code first (Simple front end) approach. In this case how
> would I do the jaxb customization? Is it via annotations or is there a way
> to do this in the cxf.xml file? Between, I looked at the documentation in
> detail and they seem to be related to wsdltojava tool.
>
> Thanks in advance,
> Jacob
>
> On 8/30/07, James Mao <james.mao@iona.com > wrote:
>
>> Yes, through jaxb customization
>>
>> http://cwiki.apache.org/confluence/display/CXF20DOC/Tools
>>
>>
>> James
>>
>>
>> Jacob Marcus wrote:
>>
>>> Hi,
>>>
>>> Is there any way to customize JAXB type mapping when using the simple
>>>
>> front
>>
>>> end? I would like to have the java.util.Date for the xsd:dateTime.
>>>
>>> Thanks,
>>> Jacob
>>>
>>>
>>>
>
>