wsdlcvt does not add all parameters from XSD file to MIF file when XSD file has <xs:attribute> tags. (Doc ID 1955561.1)

Last updated on FEBRUARY 11, 2017

Applies to:

Oracle Service Architecture Leveraging Tuxedo (SALT) - Version 12.1.1.0 and later
Information in this document applies to any platform.

Symptoms

Snippet of XSD file:


<?xml version="1.0" encoding="UTF-8"?>
<xs:schema elementFormDefault="unqualified" targetNamespace="aaa:bbb:ccc" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="requestMessages">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="requestId" type="xs:string"/>
        <xs:element maxOccurs="unbounded" name="requestMessage">
          <xs:complexType>
            <xs:all>
              <xs:element minOccurs="0" name="SRSys">
                <xs:complexType>
                  <xs:all>
                    <xs:element name="SRname" minOccurs="0" type="xs:string"/>
                    <xs:element name="SRmessageId" minOccurs="0" type="xs:string"/>
                    <xs:element name="SRsysIndicator" type="xs:string" maxOccurs="1" minOccurs="0"/>
                  </xs:all>
                </xs:complexType>
              </xs:element>
...
              <xs:element minOccurs="0" name="SRuser">
                <xs:complexType>
                  <xs:all>
                    <xs:element name="userName" minOccurs="0" type="xs:string"/>
                    <xs:element name="userId" minOccurs="0" type="xs:string"/>
                  </xs:all>
                </xs:complexType>
              </xs:element>
              <xs:element maxOccurs="1" minOccurs="0" name="SRService">
                <xs:complexType>
                  <xs:attribute name="run" type="xs:boolean" use="required"/>
                </xs:complexType>
              </xs:element>
              <xs:element maxOccurs="1" minOccurs="0" name="SRVerifyService">
                <xs:complexType>
                  <xs:attribute name="run" type="xs:boolean" use="required"/>
                </xs:complexType>
              </xs:element>
            </xs:all>
          </xs:complexType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
....
</xs:schema>

wsdlcvt command used to generate Metadata Input File (MIF):

wsdlcvt -i SRSaltWSDefinition.wsdl -o SRMetaData -y

 Snippet of generated MIF file:

    param=requestMessages
    access=in
    paramschema=XSD_E:requestMessages@aaa:bbb:ccc
    type=xml

 

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms