APAR status
Closed as fixed if next.
Error description
2012-12-03 09:24:42,220 INFO [ilog.rules.res.xu.spi.IlrManagedXUConnectionFactory.eis/XUConne ctionFactory] (http-0.0.0.0-8080-1) 12/3/12 9:24:42 AM [SEVERE] GBRXU0001E /ruleapp/1.0/test_rules_bad/1.0 9.2 - The interaction com.ibm.rules.htds.plugin.generateWSDL has failed javax.resource.ResourceException: com.ibm.rules.htds.plugin, Message code: GBRXH0001E, parameters: /ruleapp/1.0/test_rules_bad/1.0, error code: GBRXH0001E at com.ibm.rules.htds.plugin.WSDLGenerator.createResourceException( WSDLGenerator.java:1031) ... Caused by: java.lang.NullPointerException at com.ibm.rules.htds.plugin.RulesetParameterWrapperImpl.determineP arameterXMLInfos(RulesetParameterWrapperImpl.java:213) at com.ibm.rules.htds.plugin.RulesetParameterWrapperImpl.<init>(Rul esetParameterWrapperImpl.java:62) at com.ibm.rules.htds.plugin.RulesetWrapperImpl.RulesetParameter(Ru lesetWrapperImpl.java:743) at com.ibm.rules.htds.plugin.WSDLGenerator.getSchemas(WSDLGenerator .java:487) at com.ibm.rules.htds.plugin.WSDLGenerator.getTypes(WSDLGenerator.j ava:768) at com.ibm.rules.htds.plugin.WSDLGenerator.populateDefaultDefinitio n(WSDLGenerator.java:800) at com.ibm.rules.htds.plugin.WSDLGenerator.generateWSDL(WSDLGenerat or.java:990) at com.ibm.rules.htds.plugin.WSDLGeneratorInteractionExtension.gene rateWsdl(WSDLGeneratorInteractionExtension.java:140) ... 34 more An error occurred while the rule session was called: com.ibm.rules.res.xu.internal.XUException: XU Client error ilog.rules.res.xu.IlrLocalizedResourceException: GBRXU0001E: The interaction com.ibm.rules.htds.plugin.generateWSDL has failed, error code: GBRXU0001E javax.resource.ResourceException: com.ibm.rules.htds.plugin, Message code: GBRXH0001E, parameters: /ruleapp/1.0/test_rules_bad/1.0, error code: GBRXH0001E java.lang.NullPointerException
Local fix
A workaround consists in wrapping the array of complex type elements into its own XML type, and redefining the ruleset as an instance of this wrapper type, instead of having it as an array of the wrapped type.
Problem summary
Array of XML objects are not supported as parameters. It is not possible to create one with Rule Designer any longer. The code of the HTDS does not handle the fact that ruleset generated earlier can still be used. A change in the code of the HTDS is introduced to handle graciously this use case.
Problem conclusion
Temporary fix
For existing ruleset refactor the parameters by creating a new root element including the array of XML objects as an attribute.
Comments
APAR Information
APAR number
RS01165
Reported component name
WS DECISION SVR
Reported component ID
5725B6901
Reported release
750
Status
CLOSED FIN
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2012-12-03
Closed date
2013-03-20
Last modified date
2013-03-20
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
WS DECISION SVR
Fixed component ID
5725B6901
Applicable component levels
R801 PSY
UP
[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SUPPORT","label":"IBM Worldwide Support"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
09 February 2022