Hello Anoop, In your WSDL file you had basically only two user defined complex types 1. NameValue and 2. QueryColumn
Rest 4 type you defined in WSDL are either array of these user defined types or of simple types 1. StringArray - array of string 2. QueryArray - array of QueryColumn 3. Row - array of NameValue 4. RowArray - array of Row or 2-dimentional array of NameValue. That is the reason that axis would have generated only two classes for the user defined data types and those are NameValue.java and QueryColumn.java. hope this clarifies "why only two classes?" thanks, Shrikant... Optimyz Software, Inc. email: [EMAIL PROTECTED] Web: www.optimyz.com For information about WebServiceTester product visit: http://www.optimyz.com Original Message: ----------------- From: anoop [EMAIL PROTECTED] Date: Mon, 6 Oct 2003 10:24:15 -0700 To: [EMAIL PROTECTED] Subject: wsdl2java question <html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40"> <head> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"> <meta name=ProgId content=Word.Document> <meta name=Generator content="Microsoft Word 10"> <meta name=Originator content="Microsoft Word 10"> <link rel=File-List href="cid:[EMAIL PROTECTED]"> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="place"/> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PostalCode"/> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="State"/> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="City"/> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="Street"/> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="address"/> <!--[if gte mso 9]><xml> <o:OfficeDocumentSettings> <o:DoNotRelyOnCSS/> </o:OfficeDocumentSettings> </xml><![endif]--><!--[if gte mso 9]><xml> <w:WordDocument> <w:SpellingState>Clean</w:SpellingState> <w:GrammarState>Clean</w:GrammarState> <w:DocumentKind>DocumentEmail</w:DocumentKind> <w:EnvelopeVis/> <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel> </w:WordDocument> </xml><![endif]--><!--[if !mso]> <style> st1\:*{behavior:url(#default#ieooui) } </style> <![endif]--> <style> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-parent:""; margin:0in; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:12.0pt; font-family:"Times New Roman"; mso-fareast-font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline; text-underline:single;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline; text-underline:single;} p {mso-margin-top-alt:auto; margin-right:0in; mso-margin-bottom-alt:auto; margin-left:0in; mso-pagination:widow-orphan; font-size:12.0pt; font-family:"Times New Roman"; mso-fareast-font-family:"Times New Roman";} p.code, li.code, div.code {mso-style-name:code; margin:0in; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; mso-bidi-font-size:12.0pt; font-family:"Courier New"; mso-fareast-font-family:"Times New Roman"; mso-bidi-font-family:"Times New Roman";} span.EmailStyle18 {mso-style-type:personal-compose; mso-style-noshow:yes; mso-ansi-font-size:10.0pt; mso-bidi-font-size:10.0pt; font-family:Arial; mso-ascii-font-family:Arial; mso-hansi-font-family:Arial; mso-bidi-font-family:Arial; color:windowtext;} span.SpellE {mso-style-name:""; mso-spl-e:yes;} span.GramE {mso-style-name:""; mso-gram-e:yes;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in; mso-header-margin:.5in; mso-footer-margin:.5in; mso-paper-source:0;} div.Section1 {page:Section1;} --> </style> <!--[if gte mso 10]> <style> /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin:0in; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman";} </style> <![endif]--> </head> <body lang=EN-US link=blue vlink=purple style='tab-interval:.5in'> <div class=Section1> <p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt; font-family:Arial'>Hi all,<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt; font-family:Arial'>I have a WSDL file representing a service and I wanted to call this service from Java. I used WSDL2Java to generate Java Classes but unfortunately, it generated only 2 of the 6 required data classes. <span class=GramE>Any Ideas?</span> Please help.<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p style='margin:0in;margin-bottom:.0001pt'><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial;mso-no-proof:yes'>Anoop Singhal</span></font><span style='mso-no-proof:yes'><o:p></o:p></span></p> <p style='margin:0in;margin-bottom:.0001pt'><font size=2 face="Times New Roman"><span style='font-size:10.0pt;mso-no-proof:yes'><o:p> </o:p></span></font></p> <p style='margin:0in;margin-bottom:.0001pt'><font size=2 face="Times New Roman"><span style='font-size:10.0pt;mso-no-proof:yes'>Reflectivity, Inc</span></font><span style='mso-no-proof:yes'><o:p></o:p></span></p> <p style='margin:0in;margin-bottom:.0001pt'><st1:Street><st1:address style="BACKGROUND-POSITION: left bottom; BACKGROUND-IMAGE: url(res://ietag.dll/#34/#1001); BACKGROUND-REPEAT: repeat-x"><font size=2 face="Times New Roman"><span style='font-size:10.0pt;mso-no-proof: yes'>350 Potrero Ave.</span></font></st1:address></st1:Street><span style='mso-no-proof:yes'><o:p></o:p></span></p> <p style='margin:0in;margin-bottom:.0001pt'><st1:place><st1:City><font size=2 face="Times New Roman"><span style='font-size:10.0pt;mso-no-proof:yes'>Sunnyvale</span></font></st1:City> <font size=2><span style='font-size:10.0pt;mso-no-proof:yes'>, </span></font><st1:State><font size=2><span style='font-size:10.0pt;mso-no-proof:yes'>CA</span></font></st1:State><font size=2><span style='font-size:10.0pt;mso-no-proof:yes'> </span></font><st1:PostalCode><font size=2><span style='font-size:10.0pt;mso-no-proof:yes'>94085</span></font></st1:PostalCod e></st1:place><span style='mso-no-proof:yes'><o:p></o:p></span></p> <p style='margin:0in;margin-bottom:.0001pt'><st1:PostalCode></st1:PostalCode><s t1:place></st1:place><font size=2 face="Times New Roman"><span style='font-size:10.0pt;mso-no-proof:yes'><o:p> </o:p></span></font></p> <p style='margin:0in;margin-bottom:.0001pt'><font size=2 face="Times New Roman"><span style='font-size:10.0pt;mso-no-proof:yes'>voice: 408-737-8100 x169</span></font><span style='mso-no-proof:yes'><o:p></o:p></span></p> <p style='margin:0in;margin-bottom:.0001pt'><font size=2 face="Times New Roman"><span style='font-size:10.0pt;mso-no-proof:yes'>fax: 408-737-8153</span></font><span style='mso-no-proof:yes'><o:p></o:p></span></p> <p style='margin:0in;margin-bottom:.0001pt'><font size=3 face="Times New Roman"><span style='font-size:12.0pt;mso-no-proof:yes'><a href="http://www.reflectivity.com/"><font size=2><span style='font-size:10.0pt'>http://www.reflectivity.com/</span></font></a><o:p> </o:p></span></font></p> <p><font size=2 face="Times New Roman"><span style='font-size:10.0pt; mso-no-proof:yes'>This email message (and any attached document) contains information from Reflectivity, Inc. which3 may be considered confidential by Reflectivity, or which may be privileged or otherwise exempt from disclosure under law, and is for the sole use of the individual or entity to whom it is addressed. Any other dissemination, distribution or copying of this message is strictly prohibited. If you receive this message in error, please notify me and destroy the attached message (and all attached documents) immediately. </span></font><font size=2><span style='font-size:10.0pt'><o:p></o:p></span></font></p> <p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size: 12.0pt'><o:p> </o:p></span></font></p> </div> </body> </html> -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.com/ .