This is a static archive of the previous Open Grid Forum GridForge content management system saved from host forge.ogf.org file /sf/go/artf2686?nav=1 at Fri, 04 Nov 2022 20:20:15 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  
 (4 Items)
Field Old Value New Value Date Performed By
Status
Open
Closed
06/21/2006 10:26 AM EDT Steven Lynden
Closed 06/21/2006 06/21/2006 10:26 AM EDT Steven Lynden
assigned_to
100
9474
05/27/2006 3:52 AM EDT Norman Paton
Priority
-
2
05/26/2006 10:20 AM EDT Norman Paton

 
 
 
< 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/go/artf2686?nav=1 at Fri, 04 Nov 2022 20:20:19 GMT