From: Yuval - D. T. N. <yu...@do...> - 2002-04-08 13:04:35
|
Hi, I'm trying to change a status of a domain like this: epp_DomainStatus status = new epp_DomainStatus[1]; status[0] = new epp_DomainStatus(); status[0].setType( epp_DomainStatusType.CLIENT_LOCK ); add3.setStatus( status ); But when I try to compile the file this the errors I get: OTE.java:779: incompatible types found : org.openrtk.idl.epp.domain.epp_DomainStatus[] required: org.openrtk.idl.epp.domain.epp_DomainStatus epp_DomainStatus status = new epp_DomainStatus[1]; ^ OTE.java:780: array required, but org.openrtk.idl.epp.domain.epp_DomainStatus found status[0] = new epp_DomainStatus(); ^ OTE.java:781: array required, but org.openrtk.idl.epp.domain.epp_DomainStatus found status[0].setType( epp_DomainStatusType.CLIENT_LOCK ); ^ OTE.java:783: array required, but org.openrtk.idl.epp.domain.epp_DomainStatus found add3.setStatus( status[0] ); ^ 4 errors Can someone help with this? Regards, Yuval Domain The Net Technologies Ltd. 6 Weitzman Blvd. Ramat-Hasharon Israel 47211 Tel: 972-3-5474443 Fax: 972-3-5474446 www.DomainTheNet.com “This email message and any attachments hereto are intended only for use by the addressee(s) named above, and may contain legally privileged and/or confidential information. If you are not the intended addressee, you are hereby kindly notified that any dissemination, distribution or copying of this email and any attachments hereto is strictly prohibited. If you have received this email in error, kindly delete it from your computer system, and notify us at the telephone number or email address appearing above. Thank you" |