SlideShare a Scribd company logo
Connector for IBM® AS400
2
Connector for IBM® AS400
The IBM® AS/400® connector allows you to easily unlock the data in your
IBM® AS/400®, reducing the time to market, total cost of ownership and
integration complexity. The IBM® AS/400® connector works with native
IBM® AS/400® objects (data queues and commands). The IBM® AS/400®
connector is an operation-based connector, meaning when you add the
connector to your flow, you configure a specific operation the connector is
intended to perform.
3
Supports operations
4
IBM AS/400 Connector Demo - External process calls
AS/400
For this use case the external process needs to get product price from
Merchandizing system running on AS/400.
Mule demo code
Create Mule application that:
listens for HTTP requests with HTTP URL parameter productCode
http://localhost:8081/getProductPrice?productCode=CHAIR
sends request to AS/400 data queue
waits for response from AS/400 in the response data queue
returns the product price back to HTTP response
Status=OK;100.00
5
Providing an External HTTP or HTTPS Port
6
Providing an External HTTP or HTTPS Port
<?xml version="1.0" encoding="UTF-8"?>
<mule xmlns:json="http://www.mulesoft.org/schema/mule/json"
xmlns:tracking="http://www.mulesoft.org/schema/mule/ee/tracking"
xmlns:metadata="http://www.mulesoft.org/schema/mule/metadata"
xmlns:data-mapper="http://www.mulesoft.org/schema/mule/ee/data-mapper"
xmlns:ws="http://www.mulesoft.org/schema/mule/ws" xmlns:dw="http://www.mulesoft.org/schema/mule/ee/dw"
xmlns:http="http://www.mulesoft.org/schema/mule/http"
xmlns:as400="http://www.mulesoft.org/schema/mule/as400"
xmlns="http://www.mulesoft.org/schema/mule/core"
xmlns:doc="http://www.mulesoft.org/schema/mule/documentation"
xmlns:spring="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.mulesoft.org/schema/mule/json
http://www.mulesoft.org/schema/mule/json/current/mule-json.xsd
http://www.mulesoft.org/schema/mule/ws http://www.mulesoft.org/schema/mule/ws/current/mule-ws.xsd
http://www.mulesoft.org/schema/mule/ee/dw http://www.mulesoft.org/schema/mule/ee/dw/current/dw.xsd
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-current.xsd
http://www.mulesoft.org/schema/mule/as400 http://www.mulesoft.org/schema/mule/as400/current/mule-as400.xsd
http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/current/mule.xsd
http://www.mulesoft.org/schema/mule/http http://www.mulesoft.org/schema/mule/http/current/mule-http.xsd
http://www.mulesoft.org/schema/mule/ee/data-mapper http://www.mulesoft.org/schema/mule/ee/data-mapper/current/mule-
data-mapper.xsd
http://www.mulesoft.org/schema/mule/ee/tracking http://www.mulesoft.org/schema/mule/ee/tracking/current/mule-tracking-
ee.xsd" version="EE-3.7.0">
7
Providing an External HTTP or HTTPS Port
<as400:config name="AS/400__Configuration_type_strategy"
endpoint="${endpoint}" userid="${userid}" password="${password}"
doc:name="AS/400: Configuration type strategy" libraryList="${libl}">
<reconnect-forever />
</as400:config>
<http:listener-config name="HTTP_Listener_Configuration"
host="0.0.0.0" port="8081" doc:name="HTTP Listener Configuration" />
<ws:consumer-config name="Web_Service_Consumer"
wsdlLocation="http://www.webservicex.net/CurrencyConvertor.asmx?wsdl"
service="CurrencyConvertor" port="CurrencyConvertorSoap"
serviceAddress="http://www.webservicex.net/CurrencyConvertor.asmx"
doc:name="Web Service Consumer" />
<flow name="externalProcessCallsAS/400Function">
<http:listener config-ref="HTTP_Listener_Configuration"
path="/getProductPrice" doc:name="HTTP" />
<set-variable variableName="key"
value="#[java.util.UUID.randomUUID().toString()]" doc:name="Variable" />
<logger
message="Product code
#[message.inboundProperties.'http.query.params'.productCode] Key #[flowVars['key']]"
level="INFO" doc:name="Logger" />
<as400:write-data-queue config-ref="AS/400__Configuration_type_strategy"
dtaq="${req.dtaq}" library="${library}"
dqEntry="#[message.inboundProperties.'http.query.params'.productCode]"
doc:name="AS/400" dtaqKey="#[flowVars['key']]" />
<as400:read-data-queue-processor
config-ref="AS/400__Configuration_type_strategy" doc:name="AS/400"
dtaq="${res.dtaq}" dtaqKey="#[flowVars['key']]" dtaqKeySearchType="EQUAL"
dtaqwaittime="15" library="${library}" />
<logger message="Response #[payload]" level="INFO" doc:name="Logger" />
</flow>
</mule>
8
Providing an External HTTP or HTTPS Port
IBM® AS/400® process calls external function (i.e.) IBM® AS/400®
process requests to convert transaction amount from one currency to
another using real time exchange rate web service.
External function calls IBM® AS/400® (i.e.) External function requests to
retrieve product price from merchandizing system on IBM® AS/400®.
External function needs to execute an IBM® AS/400® command line
operation, for example create a new DB2 table, clear data queue, or call a
custom program.
The IBM® AS/400® Connector coupled with Infoview Systems IBM®
AS/400® Web Transaction Framework provides for a unified integration
experience.
Mule connector for ibm® as400
Mule connector for ibm® as400

More Related Content

PPTX
Configurare http mule
PPTX
For each component in mule
PPT
Anypoint connectorfor ibm as 400
PDF
How to connect redis and mule esb using spring data redis module
PPTX
How to get http query parameters in mule
PPTX
Expression filter in Mule
PPTX
Message properties component in mule
PDF
MuleSoft ESB Message Enricher
Configurare http mule
For each component in mule
Anypoint connectorfor ibm as 400
How to connect redis and mule esb using spring data redis module
How to get http query parameters in mule
Expression filter in Mule
Message properties component in mule
MuleSoft ESB Message Enricher

What's hot (11)

PPTX
Configurare https mule
PPTX
Mule Esb Data Weave
ODP
Mule ESB SMTP Connector Integration
ODP
Dropbox connector Mule ESB Integration
PPTX
Quartz component in mule demo
PPTX
Mule esb
PPTX
Filter expression in mule
PPTX
Message properties component in Mule
PPTX
Choice component in mule
PPTX
Mule esb :Data Weave
PPTX
Creating restful api using mule esb
Configurare https mule
Mule Esb Data Weave
Mule ESB SMTP Connector Integration
Dropbox connector Mule ESB Integration
Quartz component in mule demo
Mule esb
Filter expression in mule
Message properties component in Mule
Choice component in mule
Mule esb :Data Weave
Creating restful api using mule esb
Ad

Similar to Mule connector for ibm® as400 (20)

PDF
Mule soft riyadh virtual meetup_25_jul
PPTX
Muleesbcomponents1 160625154208
PPTX
Mule ESB Components
PPTX
Mule connectors-session1
PPTX
Mule connectors-part 1
PDF
Interoperability in a B2B Word (NordicAPIS April 2014)
PDF
Designing beautiful REST APIs
PPTX
Wsdl connector introduction
PPTX
How to – wrap soap web service around a database
PPTX
Cloud computing 20 service modelling
PPT
Why 2 million Developers depend on MuleSoft
PPT
Mule web services
PPT
Mule and web services
PDF
Ws rest
PPTX
How Customers are Building and Using their Own Connectors
PDF
MCD-Level-1 Exam Guide
PPTX
MuleSoft Meetup Charlotte 2 - 2019
PPTX
Restful webservices
PPTX
Oracle Enterprise Manager 12C cloud API's
PDF
S313265 - Advanced Java API for RESTful Web Services at JavaOne Brazil 2010
Mule soft riyadh virtual meetup_25_jul
Muleesbcomponents1 160625154208
Mule ESB Components
Mule connectors-session1
Mule connectors-part 1
Interoperability in a B2B Word (NordicAPIS April 2014)
Designing beautiful REST APIs
Wsdl connector introduction
How to – wrap soap web service around a database
Cloud computing 20 service modelling
Why 2 million Developers depend on MuleSoft
Mule web services
Mule and web services
Ws rest
How Customers are Building and Using their Own Connectors
MCD-Level-1 Exam Guide
MuleSoft Meetup Charlotte 2 - 2019
Restful webservices
Oracle Enterprise Manager 12C cloud API's
S313265 - Advanced Java API for RESTful Web Services at JavaOne Brazil 2010
Ad

More from D.Rajesh Kumar (20)

PPTX
Mule soft meetup_-_finland_september_25th__2020 v2.0
PPTX
Meetup bangalore-sept5th 2020 (1)
PPTX
Mule soft meetup_-_finland_july_11th__2020
PPTX
Bangalore mulesoft meetup#10
PPTX
Meetup bangalore 9_novupdated
PPTX
Meetup bangalore aug31st2019
PPTX
Meetup bangalore june29th2019
PPTX
mulesoft meetup @ bangalore
PPTX
Meetup_Bangalore_Rajesh
PPT
Calico and container
PPT
Calico docker+ipam
PPT
Calico architecture
PPT
Calico to secure host interfaces
PPT
Calico and how interprets neutron api
PPT
Calico with open stack and chef
PPT
Calico with open stack
PPT
Calico with docker
PPT
Object Store in Mule
PPT
Slack connector with in MULE
PPT
MuleSoft Offers a Data Migration Solution
Mule soft meetup_-_finland_september_25th__2020 v2.0
Meetup bangalore-sept5th 2020 (1)
Mule soft meetup_-_finland_july_11th__2020
Bangalore mulesoft meetup#10
Meetup bangalore 9_novupdated
Meetup bangalore aug31st2019
Meetup bangalore june29th2019
mulesoft meetup @ bangalore
Meetup_Bangalore_Rajesh
Calico and container
Calico docker+ipam
Calico architecture
Calico to secure host interfaces
Calico and how interprets neutron api
Calico with open stack and chef
Calico with open stack
Calico with docker
Object Store in Mule
Slack connector with in MULE
MuleSoft Offers a Data Migration Solution

Recently uploaded (20)

PDF
cuic standard and advanced reporting.pdf
PPTX
A Presentation on Artificial Intelligence
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Encapsulation theory and applications.pdf
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Electronic commerce courselecture one. Pdf
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
Cloud computing and distributed systems.
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PPT
Teaching material agriculture food technology
PDF
Approach and Philosophy of On baking technology
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Modernizing your data center with Dell and AMD
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Unlocking AI with Model Context Protocol (MCP)
cuic standard and advanced reporting.pdf
A Presentation on Artificial Intelligence
Chapter 3 Spatial Domain Image Processing.pdf
Per capita expenditure prediction using model stacking based on satellite ima...
Mobile App Security Testing_ A Comprehensive Guide.pdf
Encapsulation theory and applications.pdf
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Electronic commerce courselecture one. Pdf
“AI and Expert System Decision Support & Business Intelligence Systems”
Cloud computing and distributed systems.
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Teaching material agriculture food technology
Approach and Philosophy of On baking technology
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Modernizing your data center with Dell and AMD
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Reach Out and Touch Someone: Haptics and Empathic Computing
MYSQL Presentation for SQL database connectivity
Unlocking AI with Model Context Protocol (MCP)

Mule connector for ibm® as400

  • 2. 2 Connector for IBM® AS400 The IBM® AS/400® connector allows you to easily unlock the data in your IBM® AS/400®, reducing the time to market, total cost of ownership and integration complexity. The IBM® AS/400® connector works with native IBM® AS/400® objects (data queues and commands). The IBM® AS/400® connector is an operation-based connector, meaning when you add the connector to your flow, you configure a specific operation the connector is intended to perform.
  • 4. 4 IBM AS/400 Connector Demo - External process calls AS/400 For this use case the external process needs to get product price from Merchandizing system running on AS/400. Mule demo code Create Mule application that: listens for HTTP requests with HTTP URL parameter productCode http://localhost:8081/getProductPrice?productCode=CHAIR sends request to AS/400 data queue waits for response from AS/400 in the response data queue returns the product price back to HTTP response Status=OK;100.00
  • 5. 5 Providing an External HTTP or HTTPS Port
  • 6. 6 Providing an External HTTP or HTTPS Port <?xml version="1.0" encoding="UTF-8"?> <mule xmlns:json="http://www.mulesoft.org/schema/mule/json" xmlns:tracking="http://www.mulesoft.org/schema/mule/ee/tracking" xmlns:metadata="http://www.mulesoft.org/schema/mule/metadata" xmlns:data-mapper="http://www.mulesoft.org/schema/mule/ee/data-mapper" xmlns:ws="http://www.mulesoft.org/schema/mule/ws" xmlns:dw="http://www.mulesoft.org/schema/mule/ee/dw" xmlns:http="http://www.mulesoft.org/schema/mule/http" xmlns:as400="http://www.mulesoft.org/schema/mule/as400" xmlns="http://www.mulesoft.org/schema/mule/core" xmlns:doc="http://www.mulesoft.org/schema/mule/documentation" xmlns:spring="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.mulesoft.org/schema/mule/json http://www.mulesoft.org/schema/mule/json/current/mule-json.xsd http://www.mulesoft.org/schema/mule/ws http://www.mulesoft.org/schema/mule/ws/current/mule-ws.xsd http://www.mulesoft.org/schema/mule/ee/dw http://www.mulesoft.org/schema/mule/ee/dw/current/dw.xsd http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-current.xsd http://www.mulesoft.org/schema/mule/as400 http://www.mulesoft.org/schema/mule/as400/current/mule-as400.xsd http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/current/mule.xsd http://www.mulesoft.org/schema/mule/http http://www.mulesoft.org/schema/mule/http/current/mule-http.xsd http://www.mulesoft.org/schema/mule/ee/data-mapper http://www.mulesoft.org/schema/mule/ee/data-mapper/current/mule- data-mapper.xsd http://www.mulesoft.org/schema/mule/ee/tracking http://www.mulesoft.org/schema/mule/ee/tracking/current/mule-tracking- ee.xsd" version="EE-3.7.0">
  • 7. 7 Providing an External HTTP or HTTPS Port <as400:config name="AS/400__Configuration_type_strategy" endpoint="${endpoint}" userid="${userid}" password="${password}" doc:name="AS/400: Configuration type strategy" libraryList="${libl}"> <reconnect-forever /> </as400:config> <http:listener-config name="HTTP_Listener_Configuration" host="0.0.0.0" port="8081" doc:name="HTTP Listener Configuration" /> <ws:consumer-config name="Web_Service_Consumer" wsdlLocation="http://www.webservicex.net/CurrencyConvertor.asmx?wsdl" service="CurrencyConvertor" port="CurrencyConvertorSoap" serviceAddress="http://www.webservicex.net/CurrencyConvertor.asmx" doc:name="Web Service Consumer" /> <flow name="externalProcessCallsAS/400Function"> <http:listener config-ref="HTTP_Listener_Configuration" path="/getProductPrice" doc:name="HTTP" /> <set-variable variableName="key" value="#[java.util.UUID.randomUUID().toString()]" doc:name="Variable" /> <logger message="Product code #[message.inboundProperties.'http.query.params'.productCode] Key #[flowVars['key']]" level="INFO" doc:name="Logger" /> <as400:write-data-queue config-ref="AS/400__Configuration_type_strategy" dtaq="${req.dtaq}" library="${library}" dqEntry="#[message.inboundProperties.'http.query.params'.productCode]" doc:name="AS/400" dtaqKey="#[flowVars['key']]" /> <as400:read-data-queue-processor config-ref="AS/400__Configuration_type_strategy" doc:name="AS/400" dtaq="${res.dtaq}" dtaqKey="#[flowVars['key']]" dtaqKeySearchType="EQUAL" dtaqwaittime="15" library="${library}" /> <logger message="Response #[payload]" level="INFO" doc:name="Logger" /> </flow> </mule>
  • 8. 8 Providing an External HTTP or HTTPS Port IBM® AS/400® process calls external function (i.e.) IBM® AS/400® process requests to convert transaction amount from one currency to another using real time exchange rate web service. External function calls IBM® AS/400® (i.e.) External function requests to retrieve product price from merchandizing system on IBM® AS/400®. External function needs to execute an IBM® AS/400® command line operation, for example create a new DB2 table, clear data queue, or call a custom program. The IBM® AS/400® Connector coupled with Infoview Systems IBM® AS/400® Web Transaction Framework provides for a unified integration experience.