IBM Support

LI82161: CREATING AN API FROM WSDL FAILS TO READ A SCHEMA THAT HAS A SPACE IN AN END TAG

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • The multipart 'wsdl' field contains a WSDL definition with
    validation errors  Expected <xsd_restriction> to have children
    ...
    

Local fix

  • Remove extra space from end tag in schema.
    

Problem summary

  • The WSDL and XSD files contain XML that defines the web service.
    If an end tag of an element contains whitespace, the create API
    from WSDL operation may fail with an error.
    
    Here is an example of an end tag containing whitespace:
    
       <xs:restriction base="xs:string">
          ...
       </xs:restriction  >
    
    <span style="background-color:rgb(255, 255, 255)">The workaround
    is to remove the whitespaces from end tags.   For
    example:</span>
    
    <span style="background-color:rgb(255, 255, 255)">
    <xs:restriction base="xs:string"></span>
    <span style="background-color:rgb(255, 255, 255)">
    ...</span>
    <span style="background-color:rgb(255, 255, 255)">
    </</span><span style="background-color:rgb(255, 255,
    255)">xs:restriction></span>
    

Problem conclusion

  • API Connect is fixed to support whitespaces in end tags.
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI82161

  • Reported component name

    API CONNECT ENT

  • Reported component ID

    5725Z2201

  • Reported release

    18X

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-05-12

  • Closed date

    2021-08-05

  • Last modified date

    2021-08-05

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    API CONNECT ENT

  • Fixed component ID

    5725Z2201

Applicable component levels

  • R18X PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSMNED","label":"IBM API Connect"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"18X","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
29 September 2021