SWIFTNet Import ASP Service

The SWIFTNet Import ASP service provides an interface to store the service configurations in the database that is received from SWIFT. These service configurations are used to validate the SWIFTNet Client Profile if the useASP property is set to TRUE. The following table provides an overview of the SWIFTNet Import ASP service:

System Name
SWIFTNetImportASPService
Graphical Process Modeler (GPM) categories)
All services
Description
This service provides an interface to validate the message parameters based on the client profile when import an ASP file from SWIFT (for SWIFTNet7).
Business usage
The SWIFTNet7 Adapter uses this service to import Application Service Profiles to the system.
Usage example
You would like to import the ASP profiles given to you by SWIFT into your system. You execute the SWIFTNet7ImportASP business process with the ASP.zip file as the input document.
Preconfigured?
Yes, preconfigured as part of the Sterling B2B Integrator installation.
Requires third party files?
No third party files are required.
Platform availability
All supported Sterling B2B Integrator platforms.
Related services
This is designed to work in conjunction with the SWIFTNet MEFG Server and the Command Line Adapter 2. This service works with the SWIFTNet HTTP Server adapter to provide SSL support, and works with the SWIFTNet7 HTTP Client adapter, SWIFTNet7 HTTP File System adapter, SWIFTNet7 Adapter Scheduler, SWIFTNet7 Client Service, SWIFTNet7 Server Service, SwiftNet Import ASP Service, and SwiftNet Import RMA Service.
Application requirements
None.
Initiates business processes?
Initiates system business processes.
Invocation
You use this service in the business process. There is a preconfigured business process, SWIFTNet7ImportASP.bpml that you can execute with the ASP.zip file as the input document.
Business process context considerations
None.
Returned status values
  • Fatal—non-recoverable error
  • Transient—recoverable error
  • Logic—recoverable error
  • Success—Success
  • Warning—Success with warning
Restrictions
None.
Persistence level
N/A
Testing considerations
N/A

Implementing the SWIFTNet Import ASP Service

You do not need to do anything to implement the SWIFTNet Import ASP adapter

Configuring the SWIFTNet Import ASP Adapter

You do not need to do anything to configure the SWIFTNet Import ASP adapter. You use this service in the business process. There is a preconfigured business process, SWIFTNet7ImportASP.bpml that you can execute with the ASP.zip file as the input document.

SWIFTNet7ImportASP Business Process

The following is the SWIFTNet7ImportASP BPML:

<process name="SWIFTNet7ImportASP">
  <sequence name="Importing ASP">
    <operation name="Setting UserToken">
      <participant name="SetUserToken"/>
      <output message="SetUserTokenMessage">
        <assign to="USER_TOKEN">admin</assign>
        <assign to="." from="*"/>
      </output>
      <input message="inmsg">
        <assign to="." from="*"/>
      </input>
    </operation>
    <operation name="Import ASP">
      <participant name="SWIFTNetImportASPService"/>
      <output message="handleImportASP">
        <assign to="." from="*"/>
      </output>
      <input message="inmsg">
        <assign to="." from="*"/>
      </input>
    </operation>
  </sequence>
</process>