Canias WebService icon

Canias WebService

CANIAS IAS SOAP WebService: login, callIASService, logout

Call IAS Service

AI-generated

Summary

Execute a CANIAS IAS service method call with specified session, service ID, and arguments.

Inputs

  • sessionid (required) — Session ID obtained from login; must be non-empty and no longer than 500 characters.
  • serviceid (required) — The CANIAS service ID to invoke; validated as non-empty
  • returntype (required) — Desired return format as expected by the service (e.g. json, xml, string)
  • permanent — If true, the service treats the call as permanent; defaults to false
  • argsMode — How to provide the args parameter; options: Raw String or JSON Object (stringified); defaults to rawString
  • argsRaw — The raw args string passed to the service (used when argsMode is rawString)
  • argsJson — A JSON object that will be JSON.stringify-ed and sent as the args string (used when argsMode is jsonString)
  • endpoint — Optional override for the service endpoint URL; if omitted, uses the WSDL binding address
  • returnFull — If true, returns { result, rawResponse, soapHeaders } instead of just the parsed result; defaults to false
  • advanced.timeout — Request timeout in milliseconds; defaults to 120000
  • advanced.disableSslVerification — If enabled, SSL certificate errors are ignored (not recommended for production); defaults to false

Output shape

When returnFull is false: the parsed service result (object from callIASServiceReturn, or { data: result } for primitive types). When true: { result, rawResponse, soapHeaders }.

Session ID and service ID are required inputs. Args are prepared based on argsMode: if jsonString, argsJson is stringified; otherwise argsRaw is used as-is. The raw SOAP response and headers are available when returnFull is enabled.

Examples

Example 1: Call a CANIAS service with JSON args and return full response

sessionid: '12345', serviceid: 'MY_SERVICE', returntype: 'json', argsMode: 'jsonString', argsJson: { param1: 'value1' }, returnFull: true

Links

Discussion