This is a static archive of the previous Open Grid Forum GridForge content management system saved from host forge.ogf.org file /sf/sfmain/do/go/artf2686?nav=1&selectedTab=associations at Sun, 06 Nov 2022 12:26:27 GMT SourceForge : artf2686: (1800) Axis WSDL2Java error when generating fault types

Project Home

Tracker

Documents

Tasks

Source Code

Discussions

File Releases

Wiki

Project Admin
Search Tracker
Project: DAIS-WG     Trackers > WS-DAI Issues > View Artifact
Artifact artf2686 : (1800) Axis WSDL2Java error when generating fault types
Tracker: WS-DAI Issues
Title: (1800) Axis WSDL2Java error when generating fault types
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.
.
Submitted By: Steven Lynden
Submitted On: 04/28/2006 10:03 AM EDT
Last Modified: 06/21/2006 10:26 AM EDT
Closed: 06/21/2006 10:26 AM EDT

Status / Comments Change Log Associations Attachments  
Date Association Posted By Comment Association Type
No results found.

 
 
 
< Previous
 
 
Next >
 


The Open Grid Forum Contact Webmaster | Report a problem | GridForge Help
This is a static archive of the previous Open Grid Forum GridForge content management system saved from host forge.ogf.org file /sf/sfmain/do/go/artf2686?nav=1&selectedTab=associations at Sun, 06 Nov 2022 12:26:27 GMT