WSDL2C 1.0 NO IDEA Avatar
  1. OMG Issue

WSDL2C — CORBA Source Annotation Namespace in schema

  • Key: WSDL2C-20
  • Legacy Issue Number: 7834
  • Status: closed  
  • Source: Fujitsu ( Tom Rutt)
  • Summary:

    Corba IDL to WSDL interworking: ptc/03-11-02

    Section 1.2.3: Identifying the Source IDL

    The text states that the annotation elements are in the CORBA namespace.

    However both schema have the wrong targetNamespace.

    The erroneous schema namespace information should be deleted. Put all the corba namespace type and element definitions in a single normative schema section and file.

    Solution Proposed by Submitter:

    In Section 1.2.3:

    On pages 1-3 and 1-4

    Delete the first four lines of each schema:

    <?xml version="1.0" encoding="UTF-8"?>

    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"

    targetNamespace="http://www.omg.org/IDL-MAPPED"

    elementFormDefault="qualified" attributeFormDefault="unqualified">

    and delete the final line of each schema:

    </xsd:schema>

    Add the following new normative schema for the CORBA namespace, gathering all the type and element definitions spread throughout the document (the schema for objectReference, from issue xxxx, is fixed in this new schema):

    <?xml version="1.0" encoding="utf-8"?>

    <!--

    WSDL for IDL to WSDL CORBA Namespace

    Name: corba.wsdl

    -->

    <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:corba="http://www.omg.org/IDL-WSDL/1.0/" targetNamespace="http://www.omg.org/IDL-WSDL/1.0/" name="corba">

    <types>

    <xsd:schema targetNamespace="http://www.omg.org/IDL-WSDL/1.0/">

    <xsd:element name="SourceIDL" >

    <xsd:annotation>

    <xsd:documentation>IDL/WSDL Mapping Info</xsd:documentation>

    </xsd:annotation>

    <xsd:complexType>

    <xsd:sequence>

    <xsd:element name="source" type="xsd:string" minOccurs="1" maxOccurs="1"/>

    <xsd:element name="version" type="xsd:string" minOccurs="1" maxOccurs="1"/>

    </xsd:sequence>

    </xsd:complexType>

    </xsd:element>

    <xsd:element name="SourceRepositoryID" >

    <xsd:annotation>

    <xsd:documentation>IDL Mapped Repository ID </xsd:documentation>

    </xsd:annotation>

    <xsd:complexType>

    <xsd:sequence>

    <xsd:element name="repositoryID" type="xsd:string" minOccurs="1" maxOccurs="1"/>

    <xsd:element name="version" type="xsd:string" minOccurs="1" maxOccurs="1"/>

    </xsd:sequence>

    </xsd:complexType>

    </xsd:element>

    <xsd:complexType name="ObjectReference">

    <xsd:sequence>

    <xsd:element name="url" type="xsd:url" minOccurs="1"/>

    </xsd:sequence>

    </xsd:complexType>

    <xsd:complexType name="CORBA.TypeCode">

    <xsd:sequence>

    <xsd:element name="definition" type="xsd:url" maxOccurs="1" minOccurs="1"/>

    <xsd:element name="typename" type="xsd:string" maxOccurs="1" minOccurs="1"/>

    </xsd:sequence>

    </xsd:complexType>

    <xsd:complexType name="CORBA.Any">

    <xsd:sequence>

    <xsd:element name="type" type="corba:CORBA.TypeCode" maxOccurs="1" minOccurs="1"/>

    <xsd:element name="value" type="xsd:anyType" maxOccurs="1" minOccurs="1"/>

    </xsd:sequence>

    </xsd:complexType>

    <xsd:simpleType name="CORBA.completion_status">

    <xsd:restriction base="xsd:string">

    <xsd:enumeration value="COMPLETED_YES"/>

    <xsd:enumeration value="COMPLETED_NO"/>

    <xsd:enumeration value="COMPLETED_MAYBE"/>

    </xsd:restriction>

    </xsd:simpleType>

    <xsd:complexType name="CORBA.SystemException">

    <xsd:sequence>

    <xsd:element name="minor" type="xsd:unsignedInt" maxOccurs="1" minOccurs="1"/>

    <xsd:element name="completion_status" type="corba:CORBA.completion_status" maxOccurs="1" minOccurs="1"/>

    </xsd:sequence>

    </xsd:complexType>

    </xsd:schema>

    </types>

    <message name="CORBA.SystemExceptionMessage">

    <part name="_return" type="corba:CORBA.SystemException"/>

    </message>

    </definitions>

  • Reported: WSDL2C 1.0b1 — Mon, 4 Oct 2004 04:00 GMT
  • Disposition: Resolved — WSDL2C 1.0
  • Disposition Summary:

    Close with accepting solution proposed by submitter

  • Updated: Sat, 7 Mar 2015 04:08 GMT