Can you paste the service definition and the code snippet here?

-----Original Message-----
From: Vinu Varghese [mailto:[email protected]] 
Sent: Tuesday, February 03, 2009 2:08 PM
To: [email protected]
Subject: Re: OUT Parameter as Array

Hi

 I tried this, but got
 Exception: org.ofbiz.service.ServiceValidationException
     [java] Message: Type check failed for field 
[customCDCountryCodeList.countryCode]; expected type is [List]; actual 
type is [[Lcom.lb.xminds.services.customcd.orderreceiver.CountryCode;]

Any help?

regards
Vinu

........................................
<signature>
   <full-name> Vinu Varghese </full-name>
   <company-email> [email protected] </company-email>
   <company-website> www.x-minds.org </company-website>
   <big-words>
    Success always occurs in private, and failure in full view.
    </big-words>
   <company-name-big>
\/      ._ _   o  ._    _|   _
/\  ~~  | | |  |  | |  (_|  _\

    </company-name-big>
</signature>



Nikita Shinde wrote:
> Hi Vinu,
>
>         You can use the following in your service definition 
>
>         <attribute name="results" type="List" mode="OUT"
optional="false"/>
>
> Kind Regards,
> Nikita Shinde
> Amicon Technologies Pvt. Ltd., Mumbai, India.
> India's No. 1 OFBiz Services Provider
>
> -----Original Message-----
> From: Vinu Varghese [mailto:[email protected]] 
> Sent: Tuesday, February 03, 2009 1:31 PM
> To: [email protected]
> Subject: OUT Parameter as Array
>
> Hi all,
>
>  I am creating a ofbiz java service, is there any option I can pass an 
> Array of Objects as OUT parameter?
>
> regards
> Vinu
>
>   

Reply via email to