axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Cole (JIRA)" <>
Subject [jira] [Closed] (AXIS2-4955) Corba module cannot handle unbounded sequences
Date Wed, 28 Jan 2015 17:31:35 GMT


David Cole closed AXIS2-4955.
    Resolution: Unresolved

Apparently there is no intent to resolve this issue.

> Corba module cannot handle unbounded sequences
> ----------------------------------------------
>                 Key: AXIS2-4955
>                 URL:
>             Project: Axis2
>          Issue Type: Bug
>          Components: corba
>    Affects Versions: 1.5.4
>            Reporter: David Cole
> While trying to follow the example found on the WS02 website at:
> Like others, I encounted issues running the example.
> It turns out that the corba module is unable to handle 'unbounded' sequences within the
IDL file, like that used in the example.
> Here is the IDL code snipplet for the sequence that is creating an issue (for the full
IDL file refer to the link above):
> typedef sequence <long> longVals;
> When defining an unbounded sequence like this, the corba module will throw an exception
and is unable to parse the IDL file:
> org.apache.axis2.corba.exceptions.InvalidIDLException: an identifier is required after
the 'long' keyword
> at org.apache.axis2.corba.idl.parser.IDLVisitor.findDataType(
> at org.apache.axis2.corba.idl.parser.IDLVisitor.visitAnonymousSequence(
> at org.apache.axis2.corba.idl.parser.IDLVisitor.findDataType(
> at org.apache.axis2.corba.idl.parser.IDLVisitor.visitAndAddTypedefs(
> at org.apache.axis2.corba.idl.parser.IDLVisitor.visit(
> at org.apache.axis2.corba.idl.parser.IDLVisitor.visit(
> at org.apache.axis2.corba.idl.IDLProcessor.process(
> The only workaround for now is to use a bounded sequence instead:
>   typedef sequence <long,20> longVals;
> The corba module should not enforce using only bounded sequences and it seems that this
is imposing an unnecessary restriction.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message