axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alain Andrieux" <aa_vr...@hotmail.com>
Subject WSDL2Java: generated call to non-existent <constructor>(String)
Date Fri, 10 Oct 2003 18:54:21 GMT
Still do not have it.Axis version: 1.1 1541 June 18 2003

I have a variation of bug 19544: 
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19544
Which in my view is the same as BUG 19069 :
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19069

Where Schema Type A --> class A
          Schema Type B --> class B
And a wrong constructor is called from class B to class A.

In my case though, the relationship b/w type A and type B is not 
a simple type restriction, but a union, as in:

<xs:simpleType name="MyUnionType">
      <xs:union memberTypes="wsp:MyRestrictionType xs:QName"/>
</xs:simpleType>

with:

<xs:simpleType name="MyRestrictionType">
     <xs:restriction base="xs:QName">
         <xs:enumeration value="ns:blabla"/>
          [...]
     </xs:restriction>
</xs:simpleType>

Just like in the bugs I refer to above, no constructor is generated in 
MyRestrictionType.java with a java.lang.String parameter, but a call 
to such a constructor is made in MyUnionType.

I am wondering if anyone has a workaround for this...
(dreaming is allowed, right? :-)  )

Thanks

Alain

Mime
View raw message