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?

Thank you,

Luca.
        



____________________________________________________________
Libero ADSL: navighi gratis a 1.2 Mega, senza canone e costi di attivazione. 
Abbonati subito su http://www.libero.it 


_______________________________________________
ASN1 mailing list
[EMAIL PROTECTED]
http://lists.asn1.org/mailman/listinfo/asn1

Reply via email to