You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Alessio Soldano (JIRA)" <ji...@apache.org> on 2009/04/03 11:52:13 UTC

[jira] Updated: (CXF-2148) wsdl2java does not generate @XmlJavaTypeAdapter in SEI

     [ https://issues.apache.org/jira/browse/CXF-2148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alessio Soldano updated CXF-2148:
---------------------------------

    Attachment: CXF-2148.txt

I'm attaching a patch for providing a XmlJavaTypeAdapterAnnotator that is added to JavaMethod and JavaParameter instances when xsd:hexBinary is specified (rpc/lit and doc/lit-bare).

Unfortunately this overlaps with the CXF-2147 patch, as some files are changed by both of them. Basically this patch fixes both issues.
Please evaluate it. Thanks.

> wsdl2java does not generate @XmlJavaTypeAdapter in SEI
> ------------------------------------------------------
>
>                 Key: CXF-2148
>                 URL: https://issues.apache.org/jira/browse/CXF-2148
>             Project: CXF
>          Issue Type: Sub-task
>          Components: Tooling
>    Affects Versions: 2.2
>            Reporter: Alessio Soldano
>            Assignee: Alessio Soldano
>         Attachments: CXF-2148.txt
>
>
> CXF seems not to add the javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter annotation when running the wsdl2java tool against a wsdl with a message like this:
> <message name="inoutSimpleTypesResponse">
>     ...
>     <part name="varHexBinary" type="xsd:hexBinary" />
> </message>
> This should cause the corresponding param in one of the SEI method to have a @XmlJavaTypeAdapter(HexBinaryAdapter.class) .

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.