X-Received: by 10.224.110.68 with SMTP id m4mr1703932qap.2.1360887480719; Thu, 14 Feb 2013 16:18:00 -0800 (PST) X-Received: by 10.49.15.38 with SMTP id u6mr29714qec.8.1360887480660; Thu, 14 Feb 2013 16:18:00 -0800 (PST) Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!t2no734795qal.0!news-out.google.com!k2ni33058qap.0!nntp.google.com!t1no742468qaz.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.java.programmer Date: Thu, 14 Feb 2013 16:18:00 -0800 (PST) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=66.192.5.2; posting-account=WsE3HgoAAADaPdDKxYpYOcGXrcphy43G NNTP-Posting-Host: 66.192.5.2 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <79fbac87-364d-4aa1-91bf-c399192fbdd8@googlegroups.com> Subject: axis2 wsdl2java jaxb , xmlrootelement not same as defined in XSD From: Sri Injection-Date: Fri, 15 Feb 2013 00:18:00 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: csiph.com comp.lang.java.programmer:22312 Hi, I am using axis2 to generate JAXB classes from WSDL/XSD and here is strange problem I came across The root element in the SOAP response is not same as I defined in WSDL/XSD, it is coming as operation/method name defined on the interface. Ex: defined in WSDL/XSD: EmployeeDtlResponse Operation name in the interface: opGetEmployeeDtl and the root element name coming as opGetEmployeeDtl as supposed to be EmployeeDtlResponse. Did anybody run into this issue? Thanks, -Sri