hi sagara,

In this case a solution will be to not to expose Java Collection , instead
you can expose simple types , arrays and beans ..
Please see this thread for details
http://marc.info/?t=117551437000002&r=1&w=2
HTH
Thanks

Lahiru

On 4/12/07, sagara <[EMAIL PROTECTED]> wrote:



Hi,
i tryed to deploy POJO based web service on AXIS2 ,it works well but when
i genarate
client code using WSDL2JAVA tool i got following problem ..
in my service i have operation  :  executeQuery(Query q)

Query class has following things




class Query{
Vector<QSelect> selectPart;
Vector<QForm> formPart  ;               (attributes and setter and getter
methods )
setSelectPart(QSelect se){...}

}


class QSelect{
Vector<QColumn> columnList;
addColumn(QColumn col){...}

}




class QColumn{
string name;
String type;
}



in this case of class Query got correct WSDL resault that is 2 ComplexType
for
QSelect and Qfrom and WSDL2JAVA tool genarate Client Stub correctly ...
but for Class QColumn dosent genarate any ComplexType ,insted of that it
genarate
simple element .

<xs:element name="columnList" type="xs:antType"/>  (No complexType)

then WSDL2JAVA tool also does not create proper stub( No inner class for
QColumn) .please some one help me to slove this

thanks
sagara


--
Open WebMail Project (http://openwebmail.org)


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Regards
Lahiru Sandakith

Reply via email to