You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Alain Andrieux <aa...@hotmail.com> on 2003/10/10 20:54:21 UTC
WSDL2Java: generated call to non-existent (String)
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