Question
· Apr 8

ObjectScript inheritance, parameters and settings

We are writing a custom Business Operation to interact with a downstream SOAP web-service. Classes for the SOAP operation were originally generated using the SOAP Wizard, then modified. This is functioning OK, but we'd now like to set the ReplyCodeActions setting on the operation and are struggling to make it visible via the management portal. How can we achieve this?

The classes are structured like this:

  • The Operation uses class TNHS.SOAPclassExtra
  • TNHS.SOAPclassExtra  Extends TNHS.SOAPclass
  • TNHS.SOAPclass  Extends Ens.BusinessOperation
  • Ens.BusinessOperation has a property ReplyCodeActions, and a Parameter SETTINGS which includes ReplyCodeActions in its list of available settings for any component using this class.

However, in the management portal, ReplyCodeActions is not visible as a setting on the component. Attempts to add ReplyCodeActions to a SETTINGS parameter in either/both of TNHS.SOAPclass and/or TNHS.SOAPclassExtra, adding a new ReplyCodeActions property to those classes, etc, have not made any difference.

We can successfully set ReplyCodeActions by manually adding code to the Production class against the <Item> representing the operation, as below, but would prefer to be able to expose the property for setting via the management portal:
    <Setting Target="Host" Name="ReplyCodeActions">E*NoNACSNoLogical=F,E*Unable to add remote document=RF,E*active sharing agreement=F,E*already exists=C,E*TNHSERR=RS,E=RS</Setting>

Product version: Caché 2018.1
$ZV: Cache for Windows (x86-64) 2018.1 (Build 184U) Wed Sep 19 2018 09:09:22 EDT
Discussion (1)1
Log in or sign up to continue