Hi, 

Does WSDL2WS tool in Axis 1.5 or 1.6a support "union" types? For example 

<xsd:schema
   targetNamespace='http://www.example.org/'
   xmlns:image='http://iana.org/mime/image'>
   <xsd:import namespace='http://iana.org/mime/image'/>
   <xsd:element name="Photo"
       type='okImagesT' />
   <xsd:simpleType name='okimagesT'>
      <xsd:union memberTypes='image:jpeg image:gif'/>
   </xsd:simpleType>
</schema>

Which is described in w3.org for xsd. 

I had a look in the wsdl2ws java files and found traces of "union" types,
but haven't got any further. 

There are no wsdl files that use "union" in the testcases, so I am not sure
it is supported. I have tried creating simple unions types but with no
result (type is translated to a class with no attribute).

Any help is appreciated.

Yuan

Reply via email to