Hi , Iam new to axis ,
1) I define a bean as follows 2) Use WSAD 5.1.2 and axis runtime to create Webservice using Java bean 3) How do i serialize the tree elements in to JavaBean I am assumingItem [] will get deserialized into an array and create the right WSDL 4) I get a class cast exception IWAB0398E Error in generating WSDL file for java for the bean designed ? 5) how do i serialize the items ? public class AServlet { public ResponseMessages validate( String orderNumber, String itemscount, String totalAmount, Item[] items) throws java.rmi.RemoteException { ResponseMessages errors = null; system.out.println("items here " + items) return errors; } } <?xml version="1.0" encoding="UTF-8"?> <!--order details --> <order Number="0000000001"> <productItems itemscount="2" totalAmount="350.00"> <item number ="00001" member="00000000000000023" group="0000FEP00" Amount="50.00" Reason="Refund" validated="true" PatientFirstName="Pejavar" PatientLastName="Rao" ></item> <item number ="00002" member="00000000000000023" group="0000FEP00" Amount="50.00" Reason="Refund" validated="true" PatientFirstName="Pejavar" PatientLastName="Rao" ></item> <item number ="00003" member="00000000000000023" group="0000FEP00" Amount="50.00" Reason="Refund" validated="true" PatientFirstName="Pejavar" PatientLastName="Rao" ></item> <item number ="00004" member="00000000000000023" group="0000FEP00" Amount="50.00" Reason="Refund" validated="true" PatientFirstName="Pejavar" PatientLastName="Rao" ></item> <item number ="00005" member="00000000000000023" group="0000FEP00" Amount="50.00" Reason="Refund" validated="true" PatientFirstName="Pejavar" PatientLastName="Rao" ></item> <item number ="00006" member="00000000000000023" group="0000FEP00" Amount="50.00" Reason="Refund" validated="true" PatientFirstName="Pejavar" PatientLastName="Rao" ></item> <item number ="00007" member="00000000000000023" group="0000FEP00" Amount="50.00" Reason="Refund" validated="true" PatientFirstName="Pejavar" PatientLastName="Rao" ></item> </productItems> </order> Thanks & Regards Pejavar ********** The information contained in this communication is confidential, private, proprietary, or otherwise privileged and is intended only for the use of the addressee. Unauthorized use, disclosure, distribution or copying is strictly prohibited and may be unlawful. If you have received this communication in error, please notify the sender immediately at (312)653-6000 in Illinois; (972)766-6900 in Texas; or (800)835-8699 in New Mexico. **********