SlideShare a Scribd company logo
Introduction to API and Service Hosting
Introduction to API and Service Hosting
• Provide an overview of all the service items in the Neuron ESB Explorer
• Creating an On-Ramp / Dynamic Routing pattern
Goals
Introduction to API and Service Hosting
• Introduction to service endpoints
• What are service endpoints
• Hosting API and SOAP based services
• Routing traffic to existing services
• Creating service endpoints
• Configuring and managing service endpoints
• Service policies
• On-Ramp Pattern
• Dynamic Routing Pattern
Lesson Plan
Introduction to API and Service Hosting
Service Endpoints
Service endpoints are the interfaces by
which Neuron ESB interacts with clients and
services. Neuron ESB provides support for
two different types of service endpoints.
Client Connectors
• Generic service on ramps (i.e.
http://machine:port/endpoint)
• Neuron hosts client connectors (no
need for IIS)
• Type-less (Either no WSDL or WSDL
based service)
• Service consumers
• Publishes directly to the Bus
Service Connectors
• Act as service providers
• Subscribes directly from the Bus
Publisher Subscriber
Adapters
Topics
Adapters
Service Connector
Processes
Client Connector
Workflow
Introduction to API and Service Hosting
Client Connectors
Client Connectors are hosted by the
Neuron Runtime service in the same way
that a console application would host a
WCF service, or IIS would host an ASMX
service.
API Client
Connector
SOAP Client
Connector
WCF Service
ASMX Service
Console Application
Internet Information
Services
Introduction to API and Service Hosting
Service Connectors
Service connectors are used by Neuron
ESB to route traffic to existing services,
such as SOAP Services, Cloud Based APIs
and other REST services
Cloud Based API
REST API
SOAP URL
Introduction to API and Service Hosting
Creating Service Endpoints
• Service endpoints are created
through the Neuron ESB Explorer
• Service endpoints can be found on
the connections tab, under the
service endpoint section
• Services can be created by
• Manually configuring the
service endpoint
• Importing an existing service
Introduction to API and Service Hosting
Service Endpoints : General Tab
• Enable Service Endpoints
• If unchecked, both the Client and Service Connectors are
disabled
• When checked, the Client and Service connectors are
enabled based on their own enabled checkboxes
• Name
• Give service endpoints a useful name that describes the
service
• Endpoint Host
• The Endpoint Host under which the Service Endpoint should
run.
• Binding
• Selects the binding to be used for the service
• Either one of Neuron’s preconfigured WCF bindings or a
custom binding (previously added on the Service Bindings
tab)
• Behavior
• Selects a custom behavior (previously added on the Service
Behaviors tab)
Introduction to API and Service Hosting
Service Endpoints : Basic Bindings
Neuron ESB ships with a number of different binds available for use in service endpoints. While some of them
are for very specific scenarios, there are three that are considered basic, or common bindings.
Binding Description
BasicHttpBinding SOAP 1.1. Good for basic profile compliant services and ASMX style services
WSHttpBinding SOAP 1.2. Supports WS-Security and other WS* specifications
REST A binding that is suitable for communicating with REST API conformant Web services. This binding
uses HTTP as the transport.
Introduction to API and Service Hosting
Service Endpoints : Binding Tab
• Messaging Pattern
• Request-Reply or Datagram (one-way)
• Max Message Size
• Restricts the maximum message size that will be accepted by
a client connector
• Reliable Sessions
• Provides SOAP reliable messaging as defined by the
WS_ReliableMessaging protocol.
• Can be used with the WSHttp, WSFederationHttp and
NetTcp bindings
• Transactions
• When using a binding that supports transactions, service
calls can enlist in a transaction with the Neuron messaging
system
• Use Raw Body
• Neuron ESB will treat the message body of the Web service
request/response as binary
• Keep Alives Enabled
• Used for REST calls.
• Directs Neuron ESB to maintain a persistent connection by
adding the appropriate Keep-Alive and Connection http
headers to the message
Introduction to API and Service Hosting
Service Endpoints : Security Tab
• Security Model
• Select which WCF security configuration to utilize
• Service Identity Type/Value
• WCF Security Configuration
• Certificate Validation
• WSFederationHttp Binding Setting
• Certificate Revocation
• Service Credentials
• Issuer Credentials
• Negotiate Service Credentials
• Establish Security Context
• Enable Impersonation
• Allows the Windows Identity of the authenticated caller to
flow down to a Service Connector
Introduction to API and Service Hosting
Service Endpoints : Client Connector Tab
• Enable Client Connector
• Enables the client connector to start receiving service
requests
• Publisher Id
• The party hosted by the client connector to execute
business processes and publish received messages
to the bus
• Topic
• The topic the message will be published to
by default
• URL
• The URL of the exposed Service endpoint
• Can use “localhost” or the DNS name the represents the
machine
• If using a REST binding, the URL is the base URL of the REST
API
• Access Control List
• List of credentials to be used to authenticate incoming
requests
• Enabled based on the Security Model selected on the
Security tab
Introduction to API and Service Hosting
Service Endpoints : Client Connector Tab
• Enable Custom SOAP Headers
• Enables the capture of custom SOAP headers, when using a
non-REST binding and adds them to the ESB message
• Enable HTTP Headers
• Enables the capture of HTTP headers in HTTP based SOAP
bindings. REST will ALWAYS capture the HTTP headers.
• Enable CORS Headers
• Enables the capture of CORS headers and adds them to the
ESB message.
• Max Concurrent Calls
• Sets the maximum number of calls that can be processed by
the client connector concurrently
• Max Concurrent Instances
• Sets the maximum number of instances of the client context
object in a client connector
• Max Concurrent Sessions
• Sets the maximum number of concurrent sessions that a
client connector can accept
• Metadata
• Allows you to define which WSDL (or SWAGGER) will be
returned when the client connector receives a metadata
request
Introduction to API and Service Hosting
Service Endpoints : Service Connector Tab
• Enable Service Connector
• Enables the service connector to start receiving messages from the
bus
• Subscriber Id
• The subscribing party that will proxy received messages to the
service endpoint and execute business processes
• Policy
• The Service Policy that will be used to determine how to handle
retries and failed messages
• URL
• The URL of the exposed service that Neuron is attempting to
connect with
• If the service is using a REST binding, the URL is usually the base
URL of the REST API
• Failover URL(s)
• When a communication exception is returned from a service call,
the service connector will use the next URL in this list (if any are
present).
• Service connector will continue to use this URL until another
communication exception is received, then it will use the next URL
in the list, if it is the last URL, then Neuron will return to the original
URL
Introduction to API and Service Hosting
Service Endpoints : Service Connector Tab
• Client Credentials
• The credentials to use then calling the service
• This is enabled based on the Security Model selected on the
Security tab
• OAuth Provider
• Select the appropriate OAuth provider if using one to authenticate
with the service
• Enable Custom SOAP Headers
• Enables the restoration of custom SOAP headers from the
message to the service call for non-REST bindings
• Enable HTTP Headers
• Enables the restoration of HTTP headers from the message to the
service call for non-REST bindings. REST bindings will ALWAYS
restore HTTP headers.
• Enable CORS Headers
• Enables the restoration of CORS headers from the message to the
service call.
• Single Instance
• If Neuron is in Farm Mode this will restrict the service connector to
a single instance across the farm.
• Allow Connection Reuse
• Instructs Neuron to reuse an existing connection instead of closing
and opening a new one with each call to the service.
Introduction to API and Service Hosting
Service Endpoints : Proxy Settings Tab
• System Default
• Use the default proxy settings as defined in either Internet
Explorer or the <system.net><defaultProxy> settings in the
esbservice.exe.config file
• Custom
• Use the custom proxy settings defined on this tab
• Host is DNS name of IP address of the proxy server
• Port is the port of the proxy server
• Bypass proxy for local addresses
• Ignores the proxy server if the service being called is hosted
by the local machine
• Use custom credentials
• Uses a security credential other than that of the Neuron ESB
Service account to authenticate with the proxy server
• Select the credential from the drop down list.
• The credential will need to be defined in the Security section
prior to being available in this list
Service Endpoints : Demo
Purpose:
Familiarize users with Service Endpoints in the Neuron ESB Explorer
Objectives:
Acquaint users with the following aspects of Service Endpoints
• Creating service endpoints (client and service connectors)
Introduction to API and Service Hosting
Service Policies : General Tab
• Name
• Name of the service policy as referenced inside the
Neuron ESB Explorer
• Description
• A description of the service policy
• Send Timeout (seconds)
• How long (in seconds) before the service policy
triggers a timeout
• Do not apply policy if the failure is a service fault
• Overrides the policy actions in the event of a SOAP
service fault
Introduction to API and Service Hosting
Service Policies : REST Tab
• Only used for REST based bindings
• Provides a list of available HTTP status codes that can be
included or excluded as exceptions
• Status codes are either all included or excluded, based on
the radio button selection
Introduction to API and Service Hosting
Service Policies : Failure Actions Tab
• Retry Configurations
• Non MSMQ Topics
• Retry Count – How many times to retry the service before
executing the Failure Action
• Retry Interval (seconds) – How many seconds between retries
• MSMQ Topics
• Retry Interval (seconds) – How many seconds between retries
• Retry Expiration (min) – How many minutes retries should
continue before executing the Failure Action
• Failure Action
• Republish – publishes the message to the chosen topic
• Log to disk – saves a copy of the ESBMessage to disk space
• Log to database – saves the ESBMessage to the Neuron
database, similar to auditing
• Discard Message – throws the message away without
retaining a copy
Introduction to API and Service Hosting
Service Policies : Availability Tab
• Always available – the service is always available
• Limited Availability – the service is available based on the
schedule indicated, and will be down during all other
times
Introduction to API and Service Hosting
Service Policies : Endpoints Tab
• Indicates the endpoints currently using the selected policy
• Allows the assigning of the selected policy to any
endpoint with the ColumnCheck checkbox selected
Service Policy : Demo
Purpose:
Familiarize users with Service Policies inside the Neuron ESB Explorer.
Objectives:
Acquaint users with the following aspects of Service Policies
• Creating Service Policies
Introduction to API and Service Hosting
On-Ramp Pattern
• A Client Connector which is responsible for receiving any type of message is referred to as an On-Ramp (a publishing
adapter endpoint can also serve as an on-ramp).
• Leverage business processes for message processing and routing
• Saves development time and effort
• Used in conjunction with dynamic routing
• Can serve as an on-ramp for any messaging pattern
• Service Brokering
• Content based router
• Scatter Gather
• Message router
• Itineraries Customer Topic
Order Topic
Invoice Topic
Service Consumer
(Customer)
Service Customer
(Orders)
Service Consumer
(Invoices)
Business Process
(Routes to Different Topics)
Service Connector
Service Connector
Service Connector
Client
Connector
(On-Ramp)
Customer Topic
Order Topic
Invoice Topic
Introduction to API and Service Hosting
Dynamic Routing
• Message routing where the flow is dynamic but all possible endpoints are predefined
• Use when you have one or more endpoints capable of, but not always needing to, receive a message
• Prevents building a scenario for each individual possibility
• Routing Messages
• Content
• Headers
• Metadata
Customer Topic
Order Topic
Invoice Topic
Service Consumer (Customer)
Service Customer (Orders)
Service Consumer (Invoices)
Business Process
(Routes to Different Topics)
Client
Connector
(On-Ramp)
Introduction to API and Service Hosting : Demo
Purpose:
Familiarize users with Service Policies inside the Neuron ESB Explorer.
Objectives:
Acquaint users with the following aspects of Service Policies
• Creating Service Policies

More Related Content

PPTX
Rest WebAPI with OData
PPT
10135 b 06
PPTX
Spring integration
PDF
Spring integration
PPTX
2015 zData Inc. - Apache Ambari Overview
PPTX
Apache Ambari - What's New in 1.6.1
PPTX
Apache Ambari - What's New in 1.7.0
KEY
S2GX 2012 - Introduction to Spring Integration and Spring Batch
Rest WebAPI with OData
10135 b 06
Spring integration
Spring integration
2015 zData Inc. - Apache Ambari Overview
Apache Ambari - What's New in 1.6.1
Apache Ambari - What's New in 1.7.0
S2GX 2012 - Introduction to Spring Integration and Spring Batch

What's hot (20)

PPTX
SignalR
PDF
Development of a Cisco ACI device package for NGINX as a Load-Balancer
PPTX
Apache Ambari - What's New in 1.4.1
PPTX
Java EE 8: What Servlet 4 and HTTP2 Mean
PPTX
Mule esb whole_web_services
DOC
F5 Link controller Configuration
PDF
An Overview of Ambari
PPT
F5 link controller
PPTX
Iot protocols tr 069
PPTX
WebSocket MicroService vs. REST Microservice
PPTX
MSB Deep Dive
PPTX
Java EE 8: What Servlet 4.0 and HTTP/2 mean to you
PPTX
Load balancer
PPT
Enabling Active Networks Services on A Gigabit Routing Switch
PPTX
Traffic Engineering for CDNs by Matt Jansen [APRICOT 2015]
PPTX
Operational Security 3.7
PDF
Lecture2
PPTX
Managing your Hadoop Clusters with Ambari
PDF
RIPE 78: IPv6 reliability measurements
PPTX
OpenStack Summit Fall 2018: LBaaS
SignalR
Development of a Cisco ACI device package for NGINX as a Load-Balancer
Apache Ambari - What's New in 1.4.1
Java EE 8: What Servlet 4 and HTTP2 Mean
Mule esb whole_web_services
F5 Link controller Configuration
An Overview of Ambari
F5 link controller
Iot protocols tr 069
WebSocket MicroService vs. REST Microservice
MSB Deep Dive
Java EE 8: What Servlet 4.0 and HTTP/2 mean to you
Load balancer
Enabling Active Networks Services on A Gigabit Routing Switch
Traffic Engineering for CDNs by Matt Jansen [APRICOT 2015]
Operational Security 3.7
Lecture2
Managing your Hadoop Clusters with Ambari
RIPE 78: IPv6 reliability measurements
OpenStack Summit Fall 2018: LBaaS
Ad

Similar to Introduction to API and Service Hosting 3.7 (20)

PPTX
Developing and Hosting SOAP Based Services
PPTX
`Neuron ESB Client API 3.7
PPTX
02 introduction to neuron esb
PPTX
Developing and Hosting REST APIs 3.7
PPTX
Introduction to Adapters 3.7
PPTX
Introduction to neuron ESB
PPTX
Introduction to Neuron ESB 3.7
PPTX
Web Security 3.7
PPTX
12 web security
PDF
OSGi Community Event 2010 - SOA Flexibility with OSGi remote services and the...
PPTX
Introduction to Long Running Workflows 3.7
PPTX
WCF Fundamentals
PPTX
Windows communication foundation ii
PPT
Enterprise service bus part 1
PPTX
Web Service Platform Repository
PDF
Apache ManifoldCF @ Linux Day 2012
PDF
ESB Evaluation Framework
PDF
Advaced training-wso2-esb
PPT
Enterprise service bus part 1
PPT
Developing and Hosting SOAP Based Services
`Neuron ESB Client API 3.7
02 introduction to neuron esb
Developing and Hosting REST APIs 3.7
Introduction to Adapters 3.7
Introduction to neuron ESB
Introduction to Neuron ESB 3.7
Web Security 3.7
12 web security
OSGi Community Event 2010 - SOA Flexibility with OSGi remote services and the...
Introduction to Long Running Workflows 3.7
WCF Fundamentals
Windows communication foundation ii
Enterprise service bus part 1
Web Service Platform Repository
Apache ManifoldCF @ Linux Day 2012
ESB Evaluation Framework
Advaced training-wso2-esb
Enterprise service bus part 1
Ad

More from StephenKardian (15)

PPTX
Deployment and Configuration 3.7
PPTX
Tracing, Logging and Troubleshooting 3.7
PPTX
Workflow Hosting and Tracking 3.7
PPTX
Workflow Patterns and Correlation 3.7
PPTX
Build, Test and Extend Integrated Workflows 3.7
PPTX
Monitoring Neuron ESB 3.7
PPTX
Building Custom Adapters 3.7
PPTX
Using Adapters and Mediation to Integrate Systems 3.7
PPTX
Extending Business Processes 3.7
PPTX
Building Complex Business Processes 3.7
PPTX
Introduction to Business Processes 3.7
PPTX
Repository 3.7
PPTX
Introduction to Messaging 3.7
PPTX
ESB Fundamentals 3.7
PPTX
01 esb fundamentals
Deployment and Configuration 3.7
Tracing, Logging and Troubleshooting 3.7
Workflow Hosting and Tracking 3.7
Workflow Patterns and Correlation 3.7
Build, Test and Extend Integrated Workflows 3.7
Monitoring Neuron ESB 3.7
Building Custom Adapters 3.7
Using Adapters and Mediation to Integrate Systems 3.7
Extending Business Processes 3.7
Building Complex Business Processes 3.7
Introduction to Business Processes 3.7
Repository 3.7
Introduction to Messaging 3.7
ESB Fundamentals 3.7
01 esb fundamentals

Recently uploaded (20)

PDF
Complications of Minimal Access Surgery at WLH
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PDF
Basic Mud Logging Guide for educational purpose
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
Anesthesia in Laparoscopic Surgery in India
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
Computing-Curriculum for Schools in Ghana
PDF
Classroom Observation Tools for Teachers
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PPTX
Pharma ospi slides which help in ospi learning
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PPTX
master seminar digital applications in india
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Complications of Minimal Access Surgery at WLH
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
2.FourierTransform-ShortQuestionswithAnswers.pdf
O7-L3 Supply Chain Operations - ICLT Program
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
Basic Mud Logging Guide for educational purpose
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
Anesthesia in Laparoscopic Surgery in India
human mycosis Human fungal infections are called human mycosis..pptx
Computing-Curriculum for Schools in Ghana
Classroom Observation Tools for Teachers
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
O5-L3 Freight Transport Ops (International) V1.pdf
Pharma ospi slides which help in ospi learning
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
master seminar digital applications in india
Chapter 2 Heredity, Prenatal Development, and Birth.pdf

Introduction to API and Service Hosting 3.7

  • 1. Introduction to API and Service Hosting
  • 2. Introduction to API and Service Hosting • Provide an overview of all the service items in the Neuron ESB Explorer • Creating an On-Ramp / Dynamic Routing pattern Goals
  • 3. Introduction to API and Service Hosting • Introduction to service endpoints • What are service endpoints • Hosting API and SOAP based services • Routing traffic to existing services • Creating service endpoints • Configuring and managing service endpoints • Service policies • On-Ramp Pattern • Dynamic Routing Pattern Lesson Plan
  • 4. Introduction to API and Service Hosting Service Endpoints Service endpoints are the interfaces by which Neuron ESB interacts with clients and services. Neuron ESB provides support for two different types of service endpoints. Client Connectors • Generic service on ramps (i.e. http://machine:port/endpoint) • Neuron hosts client connectors (no need for IIS) • Type-less (Either no WSDL or WSDL based service) • Service consumers • Publishes directly to the Bus Service Connectors • Act as service providers • Subscribes directly from the Bus Publisher Subscriber Adapters Topics Adapters Service Connector Processes Client Connector Workflow
  • 5. Introduction to API and Service Hosting Client Connectors Client Connectors are hosted by the Neuron Runtime service in the same way that a console application would host a WCF service, or IIS would host an ASMX service. API Client Connector SOAP Client Connector WCF Service ASMX Service Console Application Internet Information Services
  • 6. Introduction to API and Service Hosting Service Connectors Service connectors are used by Neuron ESB to route traffic to existing services, such as SOAP Services, Cloud Based APIs and other REST services Cloud Based API REST API SOAP URL
  • 7. Introduction to API and Service Hosting Creating Service Endpoints • Service endpoints are created through the Neuron ESB Explorer • Service endpoints can be found on the connections tab, under the service endpoint section • Services can be created by • Manually configuring the service endpoint • Importing an existing service
  • 8. Introduction to API and Service Hosting Service Endpoints : General Tab • Enable Service Endpoints • If unchecked, both the Client and Service Connectors are disabled • When checked, the Client and Service connectors are enabled based on their own enabled checkboxes • Name • Give service endpoints a useful name that describes the service • Endpoint Host • The Endpoint Host under which the Service Endpoint should run. • Binding • Selects the binding to be used for the service • Either one of Neuron’s preconfigured WCF bindings or a custom binding (previously added on the Service Bindings tab) • Behavior • Selects a custom behavior (previously added on the Service Behaviors tab)
  • 9. Introduction to API and Service Hosting Service Endpoints : Basic Bindings Neuron ESB ships with a number of different binds available for use in service endpoints. While some of them are for very specific scenarios, there are three that are considered basic, or common bindings. Binding Description BasicHttpBinding SOAP 1.1. Good for basic profile compliant services and ASMX style services WSHttpBinding SOAP 1.2. Supports WS-Security and other WS* specifications REST A binding that is suitable for communicating with REST API conformant Web services. This binding uses HTTP as the transport.
  • 10. Introduction to API and Service Hosting Service Endpoints : Binding Tab • Messaging Pattern • Request-Reply or Datagram (one-way) • Max Message Size • Restricts the maximum message size that will be accepted by a client connector • Reliable Sessions • Provides SOAP reliable messaging as defined by the WS_ReliableMessaging protocol. • Can be used with the WSHttp, WSFederationHttp and NetTcp bindings • Transactions • When using a binding that supports transactions, service calls can enlist in a transaction with the Neuron messaging system • Use Raw Body • Neuron ESB will treat the message body of the Web service request/response as binary • Keep Alives Enabled • Used for REST calls. • Directs Neuron ESB to maintain a persistent connection by adding the appropriate Keep-Alive and Connection http headers to the message
  • 11. Introduction to API and Service Hosting Service Endpoints : Security Tab • Security Model • Select which WCF security configuration to utilize • Service Identity Type/Value • WCF Security Configuration • Certificate Validation • WSFederationHttp Binding Setting • Certificate Revocation • Service Credentials • Issuer Credentials • Negotiate Service Credentials • Establish Security Context • Enable Impersonation • Allows the Windows Identity of the authenticated caller to flow down to a Service Connector
  • 12. Introduction to API and Service Hosting Service Endpoints : Client Connector Tab • Enable Client Connector • Enables the client connector to start receiving service requests • Publisher Id • The party hosted by the client connector to execute business processes and publish received messages to the bus • Topic • The topic the message will be published to by default • URL • The URL of the exposed Service endpoint • Can use “localhost” or the DNS name the represents the machine • If using a REST binding, the URL is the base URL of the REST API • Access Control List • List of credentials to be used to authenticate incoming requests • Enabled based on the Security Model selected on the Security tab
  • 13. Introduction to API and Service Hosting Service Endpoints : Client Connector Tab • Enable Custom SOAP Headers • Enables the capture of custom SOAP headers, when using a non-REST binding and adds them to the ESB message • Enable HTTP Headers • Enables the capture of HTTP headers in HTTP based SOAP bindings. REST will ALWAYS capture the HTTP headers. • Enable CORS Headers • Enables the capture of CORS headers and adds them to the ESB message. • Max Concurrent Calls • Sets the maximum number of calls that can be processed by the client connector concurrently • Max Concurrent Instances • Sets the maximum number of instances of the client context object in a client connector • Max Concurrent Sessions • Sets the maximum number of concurrent sessions that a client connector can accept • Metadata • Allows you to define which WSDL (or SWAGGER) will be returned when the client connector receives a metadata request
  • 14. Introduction to API and Service Hosting Service Endpoints : Service Connector Tab • Enable Service Connector • Enables the service connector to start receiving messages from the bus • Subscriber Id • The subscribing party that will proxy received messages to the service endpoint and execute business processes • Policy • The Service Policy that will be used to determine how to handle retries and failed messages • URL • The URL of the exposed service that Neuron is attempting to connect with • If the service is using a REST binding, the URL is usually the base URL of the REST API • Failover URL(s) • When a communication exception is returned from a service call, the service connector will use the next URL in this list (if any are present). • Service connector will continue to use this URL until another communication exception is received, then it will use the next URL in the list, if it is the last URL, then Neuron will return to the original URL
  • 15. Introduction to API and Service Hosting Service Endpoints : Service Connector Tab • Client Credentials • The credentials to use then calling the service • This is enabled based on the Security Model selected on the Security tab • OAuth Provider • Select the appropriate OAuth provider if using one to authenticate with the service • Enable Custom SOAP Headers • Enables the restoration of custom SOAP headers from the message to the service call for non-REST bindings • Enable HTTP Headers • Enables the restoration of HTTP headers from the message to the service call for non-REST bindings. REST bindings will ALWAYS restore HTTP headers. • Enable CORS Headers • Enables the restoration of CORS headers from the message to the service call. • Single Instance • If Neuron is in Farm Mode this will restrict the service connector to a single instance across the farm. • Allow Connection Reuse • Instructs Neuron to reuse an existing connection instead of closing and opening a new one with each call to the service.
  • 16. Introduction to API and Service Hosting Service Endpoints : Proxy Settings Tab • System Default • Use the default proxy settings as defined in either Internet Explorer or the <system.net><defaultProxy> settings in the esbservice.exe.config file • Custom • Use the custom proxy settings defined on this tab • Host is DNS name of IP address of the proxy server • Port is the port of the proxy server • Bypass proxy for local addresses • Ignores the proxy server if the service being called is hosted by the local machine • Use custom credentials • Uses a security credential other than that of the Neuron ESB Service account to authenticate with the proxy server • Select the credential from the drop down list. • The credential will need to be defined in the Security section prior to being available in this list
  • 17. Service Endpoints : Demo Purpose: Familiarize users with Service Endpoints in the Neuron ESB Explorer Objectives: Acquaint users with the following aspects of Service Endpoints • Creating service endpoints (client and service connectors)
  • 18. Introduction to API and Service Hosting Service Policies : General Tab • Name • Name of the service policy as referenced inside the Neuron ESB Explorer • Description • A description of the service policy • Send Timeout (seconds) • How long (in seconds) before the service policy triggers a timeout • Do not apply policy if the failure is a service fault • Overrides the policy actions in the event of a SOAP service fault
  • 19. Introduction to API and Service Hosting Service Policies : REST Tab • Only used for REST based bindings • Provides a list of available HTTP status codes that can be included or excluded as exceptions • Status codes are either all included or excluded, based on the radio button selection
  • 20. Introduction to API and Service Hosting Service Policies : Failure Actions Tab • Retry Configurations • Non MSMQ Topics • Retry Count – How many times to retry the service before executing the Failure Action • Retry Interval (seconds) – How many seconds between retries • MSMQ Topics • Retry Interval (seconds) – How many seconds between retries • Retry Expiration (min) – How many minutes retries should continue before executing the Failure Action • Failure Action • Republish – publishes the message to the chosen topic • Log to disk – saves a copy of the ESBMessage to disk space • Log to database – saves the ESBMessage to the Neuron database, similar to auditing • Discard Message – throws the message away without retaining a copy
  • 21. Introduction to API and Service Hosting Service Policies : Availability Tab • Always available – the service is always available • Limited Availability – the service is available based on the schedule indicated, and will be down during all other times
  • 22. Introduction to API and Service Hosting Service Policies : Endpoints Tab • Indicates the endpoints currently using the selected policy • Allows the assigning of the selected policy to any endpoint with the ColumnCheck checkbox selected
  • 23. Service Policy : Demo Purpose: Familiarize users with Service Policies inside the Neuron ESB Explorer. Objectives: Acquaint users with the following aspects of Service Policies • Creating Service Policies
  • 24. Introduction to API and Service Hosting On-Ramp Pattern • A Client Connector which is responsible for receiving any type of message is referred to as an On-Ramp (a publishing adapter endpoint can also serve as an on-ramp). • Leverage business processes for message processing and routing • Saves development time and effort • Used in conjunction with dynamic routing • Can serve as an on-ramp for any messaging pattern • Service Brokering • Content based router • Scatter Gather • Message router • Itineraries Customer Topic Order Topic Invoice Topic Service Consumer (Customer) Service Customer (Orders) Service Consumer (Invoices) Business Process (Routes to Different Topics) Service Connector Service Connector Service Connector Client Connector (On-Ramp) Customer Topic Order Topic Invoice Topic
  • 25. Introduction to API and Service Hosting Dynamic Routing • Message routing where the flow is dynamic but all possible endpoints are predefined • Use when you have one or more endpoints capable of, but not always needing to, receive a message • Prevents building a scenario for each individual possibility • Routing Messages • Content • Headers • Metadata Customer Topic Order Topic Invoice Topic Service Consumer (Customer) Service Customer (Orders) Service Consumer (Invoices) Business Process (Routes to Different Topics) Client Connector (On-Ramp)
  • 26. Introduction to API and Service Hosting : Demo Purpose: Familiarize users with Service Policies inside the Neuron ESB Explorer. Objectives: Acquaint users with the following aspects of Service Policies • Creating Service Policies