On Fri, 12 Nov 2004, [EMAIL PROTECTED] wrote:

> Hi all, I'm compiling a ASN1 project to Java 2 (with OSS compiler) and i
> have a problem with OPERATION macro. I'm handling Facility fields. The
> OPERATION is Operation {joint-iso-ccitt remote-operations (4)
> notation(0)} First of all, the compiler not writes Java classes
> compiling the OPERATION file (says that PDU are not present): it's
> normal? After, i add a file that contains this code:
>
> CCBS-Operations-and-Errors {ccitt identified-organization etsi(0) 359
> operations-and-errors(1)}
>
> DEFINITIONS EXPLICIT TAGS ::=
>
> BEGIN
>
> EXPORTS             CCBSRequest;
>
> IMPORTS             OPERATION, ERROR
>                     FROM Remote-Operation-Notation
>                         {joint-iso-ccitt remote-operations(4) notation(0)}
>
>
> CCBSRequest                 ::= OPERATION
>                                 ARGUMENT    callLinkageID       CallLinkageID
>                                 RESULT SEQUENCE {   -- Error Line
>                                             recallMode             RecallMode,
>                                             cCBSReference       CCBSReference}
>
> (RecallMode and CCBSReference, we suppose, are INTEGER and they are defined 
> correctly in the file,this isn't the problem)
>
> Now the compiler says that on "Error Line" there is an error: "expecting an 
> assignment statement or 'END' but found SEQUENCE."
> How i can resolve?
> If i modify in
>
>                                    RESULT one_thing SEQUENCE { ... }
>
> all is ok but it's correct to do so?
>
> Once compiled the classes, if i call from my Java software the
> CCBSRequest, how can I manipulate the ARGUMENT and/or the RESULT? Can I
> have a control on this two element?

What ASN.1 compiler are you using?  If it is the OSS ASN.1 Tools, please
email [EMAIL PROTECTED]  If some other ASN.1 compiler, please email the
respective compiler vendor's support team.

This mailing list is for ASN.1 questions or problems unrelated to any
particular ASN.1 tool.

[If you are using the OSS ASN.1 Tools, please send the full diagnostic
output from the compiler, as well as the compiler input files and options
that you used in invoking the compiler to [EMAIL PROTECTED]

-------------------------------------------------------------------------
Bancroft Scott                               Toll Free    :1-888-OSS-ASN1
OSS Nokalva                                  International:1-732-302-0750
[EMAIL PROTECTED]                                 Tech Support :1-732-302-9669 
x-1
1-732-302-9669 x-200                         Fax          :1-732-302-0023
http://www.oss.com
_______________________________________________
ASN1 mailing list
[EMAIL PROTECTED]
http://lists.asn1.org/mailman/listinfo/asn1

Reply via email to