IBM Support

PM55281: Generating a WSDL from an existing PLI program results in an error where namespace Q1 is unresolved

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • APAR Error Description:
    Abstract: In Rational Developer for System Z (RDz) 8.0.3,
    attempts to generate a WSDL from an existing PLI program
    containing OCCR statements result in an error where namespace Q1
    is unresolved:
    XSD: Type reference 'xsd1#msg_out_occr_txt_out' is unresolved
    Problem: For example with a PLI declaration like:
    
    define structure
     1 MSG_OUT,
     2 OCCR(2),
     3 TXT_OUT,
     4 STR CHAR(30);
    
    RDz will generate a WSDL with an incorrect qualifier Q1
    
    ?complexType name='Msg_out_occr'?
     ?sequence?
       ?element name='TXT_OUT' type='Q1:msg_out_occr_txt_out'/?
     ?/sequence?
    ?/complexType?
    
    Opening the WSDL file in WSDL editor or Web Services Explorer
    gives an error:
    XSD: Type reference 'xsd1#msg_out_occr_txt_out' is unresolved
    
    Local fix:
    Replace namespace Q1 by pli:
    ?element name='TXT_OUT' type='pli:msg_out_occr_txt_out'/?
    
    There is no error with a declaration like:
    
    define structure
     1 MSG_OUT,
     2 OCCR(2),
     3 STR CHAR(30);
    

Local fix

Problem summary

  • In the WSDL generator, elements are populated where type
    attribute value is prefixed with default value and then
    converted to with prefix "pli".  This conversion didn't work
    correctry when the group element is array. because timing of
    refreshment of generated elements was not valid.
    

Problem conclusion

  • The correct timing is before processing reference attribute of
    group element.
    The WSLD generator has been corrected.
    The problem listed in this APAR has been resolved with
    IBM Rational Developer for System z V8.0.3.2 Fix Pack which
    is available from the Recommended Fixes support download page:
    http://www-1.ibm.com/support/docview.wss?rs=2294&uid=swg27006335
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM55281

  • Reported component name

    RATL DEV FOR SY

  • Reported component ID

    5724T0700

  • Reported release

    803

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-01-04

  • Closed date

    2012-03-29

  • Last modified date

    2012-03-29

  • 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

    RATL DEV FOR SY

  • Fixed component ID

    5724T0700

Applicable component levels

  • R803 PSY

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSJK49","label":"IBM Developer for z Systems"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0.3","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
27 October 2020