axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor P. Cahill (JIRA)" <axis-...@ws.apache.org>
Subject [jira] Commented: (AXIS-1993) WSDL2Java 1.2 fails where 1.2RC3 worked (XML Signature XSD)
Date Tue, 20 Sep 2005 16:48:29 GMT
    [ http://issues.apache.org/jira/browse/AXIS-1993?page=comments#action_12330023 ] 

Conor P. Cahill commented on AXIS-1993:
---------------------------------------

The fixes appear to have fixed the original problem, but it is now causing a problem with
the structure:

    <xs:complexType name="StatusType">
        <xs:annotation>
            <xs:documentation>
                A type that may be used for status codes.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element ref="Status" minOccurs="0" maxOccurs="unbounded"/>
        </xs:sequence>
        <xs:attribute name="code" type="xs:string" use="required"/>
        <xs:attribute name="ref" type="IDReferenceType" use="optional"/>
        <xs:attribute name="comment" type="xs:string" use="optional"/>
    </xs:complexType>

    <xs:element name="Status" type="StatusType">
        <xs:annotation>
            <xs:documentation>
                A standard Status type
            </xs:documentation>
        </xs:annotation>
    </xs:element>

Which now results in a loop exception in TypeEntry.updateDefined() which did not happen before
(and given the structure, I'm sure this is related to the change).

Placing another element into the sequence works aournd the problem (or using the -w flag).

> WSDL2Java 1.2 fails where 1.2RC3 worked (XML Signature XSD)
> -----------------------------------------------------------
>
>          Key: AXIS-1993
>          URL: http://issues.apache.org/jira/browse/AXIS-1993
>      Project: Apache Axis
>         Type: Bug
>   Components: WSDL processing
>     Versions: 1.2
>  Environment: MS Windows XP
>     Reporter: Micha³ Kochanowicz
>     Assignee: Davanum Srinivas
>  Attachments: WymianaWS.wsdl, xmldsig-core-schema.xsd
>
> WSDL2Java tool fails with message:
> java.io.IOException: Type {http://www.w3.org/2000/09/xmldsig#}Reference is referenced
but not defined.
> Same file were processed without problems with version 1.2beta2, 1.2RC2 & 1.2RC3.
> I'll attach these files.

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message