IBM Support

RS01937: HTDS EXECUTION FAILS ON PREFIX USED IN XSI:TYPE ONLY DEFINED LOCALLY

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • HTDS execution fails when the request contains an xsi:type
    declaration using a prefix that is only defined locally as in
    the example below:
    <soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-
    instance" xmlns:soapenv="http://schemas.xmlsoap.
    org/soap/envelope/" xmlns:myr="http://www.ibm.
    com/rules/decisionservice/Myruleapp/Myrules" xmlns:par="http:
    //www.ibm.com/rules/decisionservice/Myruleapp/Myrules/param"
    xmlns:myx="http://myxom">
       <soapenv:Header/>
       <soapenv:Body>
          <myr:MyrulesRequest>
             <myr:DecisionID>XYZ</myr:DecisionID>
             <par:theRequest>
                <myx:request>
    <myx:customer xmlns:ns1="http://myxom"
    xsi:type="ns1:corporateCustomer" >
                      <firstName>John</firstName>
                      <lastName>Doe</lastName>
                      <corporationName>ACME</corporationName>
                   </myx:customer>
                </myx:request>
             </par:theRequest>
          </myr:MyrulesRequest>
       </soapenv:Body>
    </soapenv:Envelope>
    The exception in SystemErr.log is similar to:
    [3/18/15 12:53:30:899 EDT] 00000092 SystemErr     R   java.lang.
    IllegalArgumentException: prefix ns2 is not bound to a namespace
    [3/18/15 12:53:30:900 EDT] 00000092 SystemErr     R       at
    com.sun.xml.internal.bind.DatatypeConverterImpl._parseQName(
    DatatypeConverterImpl.java:358)
    [3/18/15 12:53:30:900 EDT] 00000092 SystemErr     R       at
    com.sun.xml.internal.bind.v2.runtime.unmarshaller.
    LeafPropertyXsiLoader.selectLoader(LeafPropertyXsiLoader.java:
    87)
    [3/18/15 12:53:30:900 EDT] 00000092 SystemErr     R       at
    com.sun.xml.internal.bind.v2.runtime.unmarshaller.
    LeafPropertyXsiLoader.startElement(LeafPropertyXsiLoader.java:
    70)
    [3/18/15 12:53:30:900 EDT] 00000092 SystemErr     R       at
    com.sun.xml.internal.bind.v2.runtime.unmarshaller.
    UnmarshallingContext._startElement(UnmarshallingContext.java:
    498)
    [3/18/15 12:53:30:900 EDT] 00000092 SystemErr     R       at
    com.sun.xml.internal.bind.v2.runtime.unmarshaller.
    UnmarshallingContext.startElement(UnmarshallingContext.java:477)
    [3/18/15 12:53:30:901 EDT] 00000092 SystemErr     R       at
    com.sun.xml.internal.bind.v2.runtime.unmarshaller.
    InterningXmlVisitor.startElement(InterningXmlVisitor.java:72)
    [3/18/15 12:53:30:901 EDT] 00000092 SystemErr     R       at
    com.sun.xml.internal.bind.v2.runtime.unmarshaller.
    StAXEventConnector.handleStartElement(StAXEventConnector.java:
    258)
    [3/18/15 12:53:30:901 EDT] 00000092 SystemErr     R       at
    com.sun.xml.internal.bind.v2.runtime.unmarshaller.
    StAXEventConnector.bridge(StAXEventConnector.java:127)
    [3/18/15 12:53:30:901 EDT] 00000092 SystemErr     R       at
    com.sun.xml.internal.bind.v2.runtime.unmarshaller.
    UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:429)
    [3/18/15 12:53:30:901 EDT] 00000092 SystemErr     R       at
    com.sun.xml.internal.bind.v2.runtime.unmarshaller.
    UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:387)
    [3/18/15 12:53:30:901 EDT] 00000092 SystemErr     R       at
    com.ibm.rules.res.xml.internal.XSDUtil.deserializeJavaType(
    XSDUtil.java:223)
    [3/18/15 12:53:30:901 EDT] 00000092 SystemErr     R       at
    com.ibm.rules.htds.binding.xml.XMLEventObjectReader.getResult(
    XMLEventObjectReader.java:273)
    [3/18/15 12:53:30:901 EDT] 00000092 SystemErr     R       at
    com.ibm.rules.htds.binding.xml.HTDSContentHandler.endElement(
    HTDSContentHandler.java:632)
    [3/18/15 12:53:30:902 EDT] 00000092 SystemErr     R       at
    org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown
    Source)
    [3/18/15 12:53:30:902 EDT] 00000092 SystemErr     R       at
    org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(
    Unknown Source)
    [3/18/15 12:53:30:902 EDT] 00000092 SystemErr     R       at
    org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$
    FragmentContentDispatcher.dispatch(Unknown Source)
    [3/18/15 12:53:30:902 EDT] 00000092 SystemErr     R       at
    org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.
    scanDocument(Unknown Source)
    [3/18/15 12:53:30:902 EDT] 00000092 SystemErr     R       at
    org.apache.xerces.parsers.XML11Configuration.parse(Unknown
    Source)
    [3/18/15 12:53:30:902 EDT] 00000092 SystemErr     R       at
    org.apache.xerces.parsers.XML11Configuration.parse(Unknown
    Source)
    [3/18/15 12:53:30:902 EDT] 00000092 SystemErr     R       at
    org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    [3/18/15 12:53:30:902 EDT] 00000092 SystemErr     R       at
    org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
    Source)
    [3/18/15 12:53:30:902 EDT] 00000092 SystemErr     R       at
    ilog.rules.res.decisionservice.web.IlrWebServiceServlet.
    extractInParameters(IlrWebServiceServlet.java:106)
    [3/18/15 12:53:30:903 EDT] 00000092 SystemErr     R       at
    ilog.rules.res.decisionservice.web.IlrWebServiceServlet.
    onMessage(IlrWebServiceServlet.java:209)
    ...
    

Local fix

  • n/a
    

Problem summary

  • locally defined prefix are not properly used during XML parsing
    

Problem conclusion

  • The code is fixed
    

Temporary fix

Comments

APAR Information

  • APAR number

    RS01937

  • Reported component name

    WDS FOR RULES

  • Reported component ID

    5725B6903

  • Reported release

    860

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-03-19

  • Closed date

    2015-04-06

  • Last modified date

    2015-04-06

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

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

Modules/Macros

  • 999
    

Fix information

  • Fixed component name

    WDS FOR RULES

  • Fixed component ID

    5725B6903

Applicable component levels

  • R860 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSQP76","label":"IBM Operational Decision Manager"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"860","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
17 February 2022