axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject [jira] Updated: (AXIS-1259) local xsd:group constructs are not processed properly
Date Tue, 23 Mar 2004 20:08:58 GMT
The following issue has been updated:

    Updater: Dominic Battre (mailto:dominic.battre@gmx.de)
       Date: Tue, 23 Mar 2004 12:07 PM
    Comment:
sure.
java org.apache.axis.message.addressing.tools.wsdl.WSDL2Java --server-side --skeletonDeploy
true --verbose test.wsdl
raises the exception but generates a nice org/w3/www/_2001/XMLSchema/SimpleRestrictionModel.java
    Changes:
             Attachment changed to test.wsdl
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://issues.apache.org/jira/secure/ViewIssue.jspa?key=AXIS-1259&page=history

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/secure/ViewIssue.jspa?key=AXIS-1259

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXIS-1259
    Summary: local xsd:group constructs are not processed properly
       Type: Bug

     Status: Reopened
   Priority: Major

    Project: Axis
 Components: 
             WSDL processing
   Fix Fors:
             current (nightly)
   Versions:
             current (nightly)

   Assignee: Davanum Srinivas
   Reporter: Dominic Battre

    Created: Tue, 23 Mar 2004 5:07 AM
    Updated: Tue, 23 Mar 2004 12:07 PM
Environment: Gentoo Linux, Blackdown JDK 1.4.1

Description:
The fix for http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26548 seems to create some problems
concerning xsd:groups.

At least WSDL2Java (cvs as of Feb 5 2004) processes the following code without complains whilst
WSDL2Java (cvs as of Feb 6 2004) produces this exception:

java org.apache.axis.wsdl.WSDL2Java --server-side --skeletonDeploy true --verbose test.wsdl

Parsing XML file:  test.wsdl
java.io.IOException: Type {http://www.w3.org/2001/XMLSchema}simpleRestrictionModel is referenced
but not defined.
        at org.apache.axis.wsdl.symbolTable.SymbolTable.checkForUndefined(SymbolTable.java:670)
        at org.apache.axis.wsdl.symbolTable.SymbolTable.add(SymbolTable.java:550)
        at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:524)
        at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:501)
        at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:374)
        at java.lang.Thread.run(Thread.java:536)


The wsdl code creating the problem is

 <xsd:complexType name="foobartype">
    <xsd:sequence>
       <xsd:group ref="xsd:simpleRestrictionModel" minOccurs="0"/>
    </xsd:sequence>
 </xsd:complexType>

I will attach the whole wsdl file and the patch that was applied on Feb 6 2004.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message