I have a WSDL/XSD from client and try to import using wsimport, and it complains:
[ERROR] Unexpected <complexType> appears at line 508 column 33
I checked the file and it shows:
<complexType name="ActionInfo">
<sequence/>
<attribute name="action">
<complexType name="string">
<simpleContent>
<extension/>
</simpleContent>
</complexType>
</attribute>
<attribute name="type">
<complexType name="string">
<simpleContent>
<extension/>
</simpleContent>
</complexType>
</attribute>
</complexType>
Is this even legal? Apparently this is the xsd I got from their production environment so it somehow works for them.
On the top of their WSDL, it says it is generated by Axis 1.4