IBM Support

PK12796: RAD6 NOT ABLE TO MAKE USE OF THE SOAP ENVELOPE SCHEMA AS IN WSAD V512

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as fixed if next.

Error description

  • RADv601 pmr 24949,379,000
    Steps to reproduce:
    .
    a) In WSAD,
    create a web project and import the attached WB.xml file  into
    the webcontent folder.  The XML file will have no errors.  It is
    able to make use of the SOAP Envelope Schema.
    .
    b) In RAD, create a web project and import the attached WB.xml
    file  into the webcontent folder.  The XML file has an error:
     "cvc-elt.1: Cannot find the declaration of element
    'SOAP-ENV:Envelope'."
    .
    //====
    .
    There are potentially two RAD defects here:
    .
    1) In RAD, if the XML file is imported to a Web project, the
    error is present since it is not able to make use of the SOAP
    Envelope Schema as it does in a WSAD v512 Web project.
    .
    2) If the XML file is imported into a Java project, the error is
    NOT present a sthere is no validation.  XML Validation is not
    done on any Java Project until it you explicitely RC>Validate
    XML file  on the xml file at least once for one Java project.
    Then its validated in every Java project with this file.
    Note:
    XML Capabilities and all XML/XSD related validation and all
    automatic validation are specified for the RAD Workbench
    preferences.
    .
    .
    This APAR is for defect item (1).
    .
    .
    Suspected problem (preliminary dev feedback):
    -  With 1, seems that the way in which unresolved resources
    are handled by the parser has changed.
    In WSAD a flag was raised allowing the XML validator to
    state that no grammar was detected for the file.
    In RAD this flag is not raised. This appears to be a bug in
    our code as a result of a change in the underlying XML
    parser we use for validation.
    .
    .
    
    Internal defect RATLC01100001
    

Local fix

  • Workaround for Defect (1):
    .
    Add the schema located at
    http://schemas.xmlsoap.org/soap/envelope/ to the XML
    catalog. Then the file will validate properly.
    Here are some more specific instructions.
    - In a Web browser, go to
    http://schemas.xmlsoap.org/soap/envelope/.
    - The schema should display in your browser. Select to view
    the source (right click ->view source) and save the source
    as an XSD file.
    - Add the XSD file you created to the XML catalog with the
    namespace
    (PublicId)http://schemas.xmlsoap.org/soap/envelope/.
    .
    

Problem summary

  • to be fixed in future interim fix
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PK12796

  • Reported component name

    APP DEV V6 WIN

  • Reported component ID

    5724J1901

  • Reported release

    601

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2005-10-03

  • Closed date

    2005-10-25

  • Last modified date

    2005-10-25

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

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

Fix information

Applicable component levels

  • R601 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSRTLW","label":"Rational Application Developer for WebSphere Software"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
25 October 2005