Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 26286 invoked from network); 11 Jun 2007 08:27:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Jun 2007 08:27:42 -0000 Received: (qmail 50892 invoked by uid 500); 11 Jun 2007 08:27:36 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 50694 invoked by uid 500); 11 Jun 2007 08:27:36 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 50683 invoked by uid 99); 11 Jun 2007 08:27:35 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jun 2007 01:27:35 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of spikemulligan44@gmail.com designates 66.249.90.182 as permitted sender) Received: from [66.249.90.182] (HELO ik-out-1112.google.com) (66.249.90.182) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jun 2007 01:27:31 -0700 Received: by ik-out-1112.google.com with SMTP id b35so1024430ika for ; Mon, 11 Jun 2007 01:27:10 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=JTf+YOznpY4tyrZH9qu6/tcRlv48MyCVOLECLT6HmtTSOhh4Cy5GXgsK5A06pSYrfMTxrVENs6eeXLpkFptkpOUT+NmJ61hoNioG1tD26RcOl0yPIggbPKhuuBMDgsCvLirP4VRIBdc0SViSXGEdiCe+In/pes8ftrPO172ebxA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=F6FtY5dmh9YYHAjWaW5Vc7UbZqAGoacJUDx0VlDMGAFPL0WTCoIchkKi9F+ExLHl++Xuj/JkGRduedlShDlaBk2CaNH0hZvpyHpHEn1Vce4NIdBFRVxKmoXVorIaPNs36+NLNp6hWX64o1/aqf0nvysrcN24ffLIPLIs0luu5SQ= Received: by 10.78.37.7 with SMTP id k7mr2047648huk.1181550430370; Mon, 11 Jun 2007 01:27:10 -0700 (PDT) Received: by 10.78.165.10 with HTTP; Mon, 11 Jun 2007 01:27:10 -0700 (PDT) Message-ID: <1c2557ea0706110127h57e725f7w2615be97cb9a653@mail.gmail.com> Date: Mon, 11 Jun 2007 11:27:10 +0300 From: "Spike Mulligan" To: axis-user@ws.apache.org Subject: AXIS2 + wsdl2java + XMLBeans not producing correct binding MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_35413_2689506.1181550430354" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_35413_2689506.1181550430354 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline So I have a schema containing the following structure: AbstractType / \ / \ extension / \ Type1 Type2 When I send the service an instance of Type1 for example using xsi:type="ns1:Type1", it should give me the Type1 class(which wsdl2java generated and which extends the AbstractType class). Instead it gives me a class of type AbstractType! Has anyone successfully done this? Does it work? What am I doing wrong? ------=_Part_35413_2689506.1181550430354 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline So I have a schema containing the following structure:

AbstractType
      /    \
     /      \     extension
   /          \
Type1    Type2


When I send the service an instance of Type1 for example using xsi:type="ns1:Type1", it should give me the Type1 class(which wsdl2java generated and which extends the AbstractType class).

Instead it gives me a class of type AbstractType!

Has anyone successfully done this?  Does it work?  What am I doing wrong?

------=_Part_35413_2689506.1181550430354--