axis-java-dev mailing list archives

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

     Author: Dominic Battre
    Created: Tue, 23 Mar 2004 8:22 AM
       Body:
Compiles fine. But the produced FoobarType.java has no attributes that indicate its origin
of simpleRestrictionModel. It is more or less an empty class.
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/secure/ViewIssue.jspa?key=AXIS-1259&page=comments#action_26482

---------------------------------------------------------------------
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: Closed
   Priority: Major
 Resolution: FIXED

    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 8:22 AM
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