axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <>
Subject Re: [Axis2] xsi:type support with JAXB databinding?
Date Fri, 01 Feb 2008 15:12:33 GMT
tough to say without knowing your namespace declarations
Any chance we can see the entire wsdl? or at least display the namespace declaration?

Bon Chance
  ----- Original Message ----- 
  Sent: Friday, February 01, 2008 7:57 AM
  Subject: Re: [Axis2] xsi:type support with JAXB databinding?

  Thanks for the answer. I used JAXB databinding. 
  Should I switch to ADB? 


        "Amila Suriarachchi" <> 
        01/02/2008 06:22 Veuillez répondre à

              Objet Re: [Axis2] xsi:type support with JAXB databinding? 



  On Jan 30, 2008 8:58 PM, <> wrote: 

  Hello axis users, 
  I have a web service client (which I can't modify) which sends requests using xsi:type attributes:

  <EQUIPEMENT xmlns="" xsi:type="LUNETTETYPE">


  After generating sources from the wsdl using jaxb2 databinding, I got the following classes: and 
  During Axis2 request treatmeent I receive an InstantiationException (the detail is the the
linked file) : Unable to create an instance of com.almerys.schemas.requeteoptoamc._2_6.EQUIPEMENTTYPE

  If I send a request without xsi:type : 
  <LUNETTETYPE xmlns=""> 

  It works perfectly. 

  So my question: Does Axis2 support xsi:type attribute? On the website , I saw this article,
about adb : telling that it is not supported.

  Have you written the service using the ADB. This is an Axis21.0 article. With Axis2 1.2
and onwards it supports the xsi:type. Use -g option when generating the code.


  Does anybody knows what to do? 

  Thanks in advance, 


  To unsubscribe, e-mail:
  For additional commands, e-mail: 

  Amila Suriarachchi,
  WSO2 Inc. 

View raw message