You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Alexey Markevich <bu...@gmail.com> on 2019/12/04 12:58:07 UTC

Re: How to specify byte[] type map in wadl2java?

tMap value expected as 'NamingSpacePackageString' [1]

1. https://github.com/apache/cxf/blob/master/tools/wadlto/jaxrs/src/main/java/org/apache/cxf/tools/wadlto/jaxrs/jaxrs-toolspec.xml#L78

On 11/25/19, Colm O hEigeartaigh <co...@apache.org> wrote:
> I think the problem is in the CXF Option class - it looks like it only
> allows a Java class name and not an array. I'm not sure if the code is
> changed to allow an array if it will work or not. Can you create a JIRA and
> attach a test-case to reproduce the issue and I'll try to see if I can get
> it to work?
>
> Colm.
>
> On Thu, Nov 21, 2019 at 6:57 AM Vjacheslav V. Borisov <sl...@gmail.com>
> wrote:
>
>> Hi!
>>
>> Trying to specify byte[] type map in wadl2java:
>>                                         <extraarg>-tMap</extraarg>
>>                                         <extraarg>{
>> http://www.w3.org/2001/XMLSchema}base64Binary=byte[]</extraarg>
>>
>> But this not works:
>>
>> Failed to execute goal
>> org.apache.cxf:cxf-wadl2java-plugin:3.3.3:wadl2java
>> (generate-sources) on project filedossier-api:
>> org.apache.cxf.tools.common.toolspec.parser.BadUsageException: -tMap has
>> invalid character!
>>
>