Class: CatalogRulePort

Inherits:
SOAP::RPC::Driver
  • Object
show all
Defined in:
lib/api/catalogrule/CatalogRuleDriver.rb

Constant Summary collapse

DefaultEndpointUrl =
"https://admin_server:9090/soap"
NsRule =
"http://soap.zeus.com/zxtm/1.0/Catalog/Rule/"
Methods =
[
  [ XSD::QName.new(NsRule, "addRule"),
    "http://soap.zeus.com/zxtm/1.0/Catalog/Rule/addRule",
    "addRule",
    [ ["in", "names", ["StringArray", "http://soap.zeus.com/zxtm/1.0/", "StringArray"]],
      ["in", "texts", ["StringArray", "http://soap.zeus.com/zxtm/1.0/", "StringArray"]] ],
    { :request_style =>  :rpc, :request_use =>  :encoded,
      :response_style => :rpc, :response_use => :encoded,
      :faults => {} }
  ],
  [ XSD::QName.new(NsRule, "checkSyntax"),
    "http://soap.zeus.com/zxtm/1.0/Catalog/Rule/checkSyntax",
    "checkSyntax",
    [ ["in", "rule_text", ["StringArray", "http://soap.zeus.com/zxtm/1.0/", "StringArray"]],
      ["retval", "results", ["CatalogRuleSyntaxCheckArray", "http://soap.zeus.com/zxtm/1.0/", "Catalog.Rule.SyntaxCheckArray"]] ],
    { :request_style =>  :rpc, :request_use =>  :encoded,
      :response_style => :rpc, :response_use => :encoded,
      :faults => {} }
  ],
  [ XSD::QName.new(NsRule, "copyRule"),
    "http://soap.zeus.com/zxtm/1.0/Catalog/Rule/copyRule",
    "copyRule",
    [ ["in", "names", ["StringArray", "http://soap.zeus.com/zxtm/1.0/", "StringArray"]],
      ["in", "new_names", ["StringArray", "http://soap.zeus.com/zxtm/1.0/", "StringArray"]] ],
    { :request_style =>  :rpc, :request_use =>  :encoded,
      :response_style => :rpc, :response_use => :encoded,
      :faults => {} }
  ],
  [ XSD::QName.new(NsRule, "deleteRule"),
    "http://soap.zeus.com/zxtm/1.0/Catalog/Rule/deleteRule",
    "deleteRule",
    [ ["in", "names", ["StringArray", "http://soap.zeus.com/zxtm/1.0/", "StringArray"]] ],
    { :request_style =>  :rpc, :request_use =>  :encoded,
      :response_style => :rpc, :response_use => :encoded,
      :faults => {} }
  ],
  [ XSD::QName.new(NsRule, "getRuleDetails"),
    "http://soap.zeus.com/zxtm/1.0/Catalog/Rule/getRuleDetails",
    "getRuleDetails",
    [ ["in", "names", ["StringArray", "http://soap.zeus.com/zxtm/1.0/", "StringArray"]],
      ["retval", "info", ["CatalogRuleRuleInfoArray", "http://soap.zeus.com/zxtm/1.0/", "Catalog.Rule.RuleInfoArray"]] ],
    { :request_style =>  :rpc, :request_use =>  :encoded,
      :response_style => :rpc, :response_use => :encoded,
      :faults => {} }
  ],
  [ XSD::QName.new(NsRule, "getRuleNames"),
    "http://soap.zeus.com/zxtm/1.0/Catalog/Rule/getRuleNames",
    "getRuleNames",
    [ ["retval", "names", ["StringArray", "http://soap.zeus.com/zxtm/1.0/", "StringArray"]] ],
    { :request_style =>  :rpc, :request_use =>  :encoded,
      :response_style => :rpc, :response_use => :encoded,
      :faults => {} }
  ],
  [ XSD::QName.new(NsRule, "renameRule"),
    "http://soap.zeus.com/zxtm/1.0/Catalog/Rule/renameRule",
    "renameRule",
    [ ["in", "names", ["StringArray", "http://soap.zeus.com/zxtm/1.0/", "StringArray"]],
      ["in", "new_names", ["StringArray", "http://soap.zeus.com/zxtm/1.0/", "StringArray"]] ],
    { :request_style =>  :rpc, :request_use =>  :encoded,
      :response_style => :rpc, :response_use => :encoded,
      :faults => {} }
  ],
  [ XSD::QName.new(NsRule, "setRuleNotes"),
    "http://soap.zeus.com/zxtm/1.0/Catalog/Rule/setRuleNotes",
    "setRuleNotes",
    [ ["in", "names", ["StringArray", "http://soap.zeus.com/zxtm/1.0/", "StringArray"]],
      ["in", "notes", ["StringArray", "http://soap.zeus.com/zxtm/1.0/", "StringArray"]] ],
    { :request_style =>  :rpc, :request_use =>  :encoded,
      :response_style => :rpc, :response_use => :encoded,
      :faults => {} }
  ],
  [ XSD::QName.new(NsRule, "setRuleText"),
    "http://soap.zeus.com/zxtm/1.0/Catalog/Rule/setRuleText",
    "setRuleText",
    [ ["in", "names", ["StringArray", "http://soap.zeus.com/zxtm/1.0/", "StringArray"]],
      ["in", "text", ["StringArray", "http://soap.zeus.com/zxtm/1.0/", "StringArray"]] ],
    { :request_style =>  :rpc, :request_use =>  :encoded,
      :response_style => :rpc, :response_use => :encoded,
      :faults => {} }
  ]
]

Instance Method Summary collapse

Constructor Details

#initialize(endpoint_url = nil) ⇒ CatalogRulePort

Returns a new instance of CatalogRulePort.



89
90
91
92
93
94
95
# File 'lib/api/catalogrule/CatalogRuleDriver.rb', line 89

def initialize(endpoint_url = nil)
  endpoint_url ||= DefaultEndpointUrl
  super(endpoint_url, nil)
  self.mapping_registry = CatalogRuleMappingRegistry::EncodedRegistry
  self.literal_mapping_registry = CatalogRuleMappingRegistry::LiteralRegistry
  init_methods
end