Java proxy generation fails when a type appears only in arguments

Java proxy generation fails when a type appears only in arguments

book

Article ID: KB0090773

calendar_today

Updated On:

Products Versions
TIBCO DataSynapse GridServer -
Not Applicable -

Description

Resolution:
There is an issue in the proxy generation mechanism if a Java service uses a type T[ ] in argument or return values, but not in type T itself, and T is not primitive. In this case, proxy generation fails.

The workaround is to write a dummy method that mentions T. For example:

public void workaround(DataType foo) {
    // workaround for array fix
}

Issue/Introduction

Java proxy generation fails when a type appears only in arguments