Description: |
The Axis 1.2.1 WSDL2Java tool fails because of a clash in the names of WSDL messages and fault type declarations. For
example, defining a fault as follows:
<xsd:element name="InvalidStartPositionFault">
<xsd:complexType/>
</xsd:element>
<wsdl:message name="InvalidStartPositionFault">
<wsdl:part name="InvalidStartPositionFault" element="wsdaix:InvalidStartPositionFault"/>
</wsdl:message>
The above causes WSDL2Java to produce Java code which does not compile. Changing the first letter of the fault type
declaration to lower case, as shown below, fixes this.
<xsd:element name="invalidStartPositionFault">
<xsd:complexType/>
</xsd:element>
<wsdl:message name="InvalidStartPositionFault">
<wsdl:part name="InvalidStartPositionFault" element="wsdaix:invalidStartPositionFault"/>
</wsdl:message>
Perhaps all fault declarations should be changed in this way so that potential WS-DAI developers choosing to use Axis do
not encounter this problem.
. |