com.computime.sunsystems.ssc

sun-systems-ssc-connector

config

Namespacehttp://www.mulesoft.org/schema/mule/sun-systems-ssc
Schema Locationhttp://www.mulesoft.org/schema/mule/sun-systems-ssc/current/mule-sun-systems-ssc.xsd  (View Schema)
Schema Version1.1.0
Minimum Mule Version3.2

Module Overview

SunSystems Anypoint Cloud Connector - Connect to Infor SunSystems through SunSystems Connect web services

Summary

Configuration
<sun-systems-ssc:config>
Configure an instance of this module
Message Processors
<sun-systems-ssc:components-list>
Return a list of SSC Components available
<sun-systems-ssc:execute>
Execute an SSC Component Method.
<sun-systems-ssc:get-input-schema>
Return XML schema of input payload
<sun-systems-ssc:get-output-schema>
Return XML schema of output payload
<sun-systems-ssc:methods-list>
Return a list of methods available for a selected component

Configuration

To use the this module within a flow the namespace to the module must be included. The resulting flow will look similar to the following:

<mule xmlns="http://www.mulesoft.org/schema/mule/core"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xmlns:sun-systems-ssc="http://www.mulesoft.org/schema/mule/sun-systems-ssc"
      xsi:schemaLocation="
               http://www.mulesoft.org/schema/mule/core
               http://www.mulesoft.org/schema/mule/core/current/mule.xsd
               http://www.mulesoft.org/schema/mule/sun-systems-ssc
               http://www.mulesoft.org/schema/mule/sun-systems-ssc/current/mule-sun-systems-ssc.xsd">

      <!-- here goes your flows and configuration elements -->

</mule>

Message Processors

<sun-systems-ssc:components-list>

Return a list of SSC Components available

XML Sample
<sun-systems-ssc:components-list />

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
Returns
Return Type Description
String[] Array of component names

<sun-systems-ssc:execute>

Execute an SSC Component Method. Set the Message payload as the SSC Payload.

XML Sample
<sun-systems-ssc:execute component="AnalysisCodes" method="Query" group="PK1" />

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
component The name of the SSC component to execute String */* UTF-8
method The name of the SSC method to execute String */* UTF-8
group Optional. The name of the Sun Systems group (Business Unit Code) String */* UTF-8
sscPayload The SSC request payload String */* UTF-8
checkForError false Set to true if the method should fire an exception if an error occurs. Boolean */*
errorsAsHtmlTable false Set to true if error message should be formatted as an HTML table. Set to false if error message should return SSC payload filter out with entries which failed Boolean */*
timeout Optional. Number of milliseconds before a timeout is thrown. Long */*
Returns
Return Type Description
String The SSC Response payload
Exception Payloads
Payload ClassDescription
SunSystemsConnectException Validation errors captured by SunSystems

<sun-systems-ssc:get-input-schema>

Return XML schema of input payload

XML Sample
<sun-systems-ssc:get-input-schema component="AnalysisCodes" method="Query"/>

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
component The name of the SSC component to get input schema String */* UTF-8
method The name of the SSC Method of the component to get input schema String */* UTF-8
Returns
Return Type Description
String XSD schema as string

<sun-systems-ssc:get-output-schema>

Return XML schema of output payload

XML Sample
<sun-systems-ssc:get-output-schema component="AnalysisCodes" method="Query"/>

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
component The name of the SSC component to get output schema String */* UTF-8
method The name of the SSC Method of the component to get output schema String */* UTF-8
Returns
Return Type Description
String XSD schema as string

<sun-systems-ssc:methods-list>

Return a list of methods available for a selected component

XML Sample
<sun-systems-ssc:components-list />

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
component The name of the SSC component to filter methods on String */* UTF-8
Returns
Return Type Description
String[] Array of component names

Message Sources

Transformers