Posts

Showing posts from 2017

Install Java Cryptography Extension (JCE) unlimited strength jurisdiction policy

Introduction How to over come "org.apache.xml.security.encryption.XMLEncryptionException: Illegal key size or default parameters" or "java.security.InvalidKeyException:illegal Key Size" error when invoking secured services These "org.apache.xml.security.encryption.XMLEncryptionException: Illegal key size or default parameters" or "java.security.InvalidKeyException:illegal Key Size" error usually occurs when we try to invoke a web services in a secured manner and your JVM is not provisioned for Java unlimited security jurisdiction. To provision for the Java unlimited security jurisdiction we have to install Java Cryptography Extension (JCE) unlimited strength jurisdiction policy files. How to Install JCE Windows - Go to the Oracle Java SE download page Scroll down ... Under "Additional Resources" section you will find "Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy File" Download the

Solution to API’s OutOfMemory issue which stops creating thread

Introduction This article provides the solution/prevention to the API’s OutOfMemory error where operating system is unable to create new native thread. The operating system is limiting the number of threads your Mule process can spawn, or the memory settings are wrong (setting more memory than the physically available memory). Memory Calculation The usage of memory in Java is determined by the following formula:  Max memory = [-Xmx] + [-XX:MaxPermSize] + number_of_threads * [-Xss]  Most of the time the focus is in the Heap size determined by the JVM argument -Xmx and eventually, in Oracle JVMs, the Permanent Generation Space, specified by the argument -XX:MaxPermSize. However you must also consider how many threads will your Mule instance handle, as it also adds to the max memory usage. For Example Suppose you have the following parameters:  Max Heap size: 3072 MB  Max PermGen size: 512 MB If your system has in total 4GB RAM, then you would think that the 512 MB lef

MuleSoft Architecture Presentation using API Led

Image
This is one of my presentation to understand how to implement API Led Connectivity with the MuleSoft layered architecture. 

Integration with Amazon S3 using Mule ESB

Integration with Amazon S3 using Mule ESB from Sanjeet Pandey Integration with Amazon S3 using Mule ESB 1. Overview - MuleSoft provides the most widely used integration platform to connect any application, data service or API, across the cloud and on-premise continuum. - Amazon S3 is cloud-based data-storage infrastructure that is accessible to the user programmatically via a MuleSoft Amazon S3 connector. - The Amazon S3 Mule connector allows developers to access any amount of data, at any time, from anywhere on the web. With connectivity to the Amazon S3 API, users can interface Amazon S3 to store objects, download and use data with other AWS services, and build applications that call for internet storage - all from within MuleSoft Anypoint Platform.  2. Prerequisites • Amazon Account • Amazon Access and Secret keys • Mule Anypoint Amazon Connector Creating Amazon S3 Bucket - Before you start integrating S3, you need to create an S3 Bucket. Every object in Amazon S3 is

Mule with salesforce push topic notification

Mule with salesforce push topic notification copy from Sanjeet Pandey Mule with salesforce push topic notification 1. Define Push Topic in SFDC The easiest way to do this is to either use the workbench at developerforce.com or the developer console. I'm going to use the developer console. In the console head to Debug -> Execute Anonymous Apex Code. We are essentially creating a SOQL query with a few extra parameters that watch for changes in a specified object. If the Push Topic is executed successfully then Salesforce is ready to post notification to MULE ESB if any changes made in the Account object in Salesforce, because the below Push Topic has been created for Salesforce’s Account object.  2. Mule SFDC Cloud Connector Select the MULE SFDC Cloud Connector and setup the following details by defining the Global element – • User Name • Password • Security Token • URL 3. Mule SFDC Inbound Endpoint To receive the Push Topic notifications from Salesforce, Salesfo

Hot Deployment of Mule licenses on running Production Server

Hot Deployment of Mule licenses on running Production Server from Sanjeet Pandey Hot Deployment of Mule licenses on running Production Server 1. Overview Before moving forward with the instructions, it is important to understand that as long as a Mule instance is running, the license which is currently installed will be used. This implies that it relies on the license’s information, such as expiration date, entitlements, etc.. The procedure mentioned below is for installing a license that will be picked up on the next restart of the Mule instance and is meant to be a prior step..  2. Commands If the given instructions are followed, then it is not necessary to use the following commands under Linux, Windows, Solaris and Mac – • To install a license : mule -installLicense ~/license.lic • To verify a license : mule –verifyLicense • To un-install a license : mule -unInstallLicense  3. Instruction – Step 1 • Go to the MuleSoft License Verifier application: http://mulelicen

Integration with Microsoft CRM using Mule ESB

Integration with Microsoft CRM using Mule ESB from Sanjeet Pandey Integration with Microsoft CRM using Mule ESB 1. Overview - MuleSoft provides the most widely used integration platform to connect any application, data service or API, across the cloud and on-premise continuum. -Microsoft CRM is cloud-based CRM (Customer Relationship Management) that is accessible to the user programmatically via a MuleSoft Microsoft Dynamics CRM connector. -The Microsoft Dynamics CRM Mule connector allows developers to manipulate customer data, at any time, from anywhere on the web. This connector lets you perform the following operations: • Create, update, and delete records • Retrieve a single record or query multiple records • Associate and disassociate records • Execute a request message  2. Prerequisites • Username and password for users granted access to CRM • Organization Service URL - usually in the format:https://crm.mycompany.com/MyOrganization/XRMServices/2011/Organization.sv

Mule MMC Integration with LDAP

Mule MMC Integration with LDAP from Sanjeet Pandey Mule MMC Integration with LDAP 1. Overview Mule Management Console (MMC) can be configured (or integrated) with an LDAP server for user authentication. In this case, the LDAP server creates and manages users and this information about users is not stored on the MMC. The main benefit of using LDAP is the consolidation of information for an entire organization into a central repository. For example, rather than managing user lists for each group within MMC, LDAP can be used as a central directory which is accessible anywhere on the network. Since, LDAP supports Secure Sockets Layer (SSL) and Transport Layer Security (TLS), sensitive data can be protected from prying eyes. When using LDAP, the MMC needs to authenticate itself on the LDAP server to gain access to the LDAP database. Later, MMC needs to log in with a user account defined on the LDAP database. This user account can be from either of the accounts set up for user

Integration with Microsoft Azure using Mule ESB

Integration with Microsoft Azure using Mule ESB from Sanjeet Pandey Integration with Microsoft Azure using Mule ESB 1. Overview - MuleSoft provides the most widely used integration platform to connect any application, data service or API, across the cloud and on-premise continuum. - Microsoft Azure is cloud-based data-storage infrastructure that is accessible to the user programmatically via a MuleSoft ‘Microsoft Service Bus’ connector.. - The Microsoft Service Bus Mule connector allows developers to access any amount of data, at any time, from anywhere on the web. With connectivity to the Microsoft Azure API, users can interface Azure to store objects, download and use data with other Azure services, and build applications that call for internet storage - all from within MuleSoft Anypoint Platform.  2. Prerequisites • Microsoft Azure Account • Microsoft Azure Namespace, Shared Access Key Name and Shared Access Key • Mule Anypoint Microsoft Service Bus Connector Microso

Integration with Sercice-Now using Mule ESB

Integration with Sercice-Now using Mule ESB from Sanjeet Pandey Integration with Sercice-Now using Mule ESB 1. Overview - MuleSoft provides the most widely used integration platform to connect any application, data service or API, across the cloud and on-premise continuum. - It is always great to have the applications send alerts and create incidents or tickets when something goes wrong. MuleSoft provides ‘ServiceNow’ connector to establish connection between MuleSoft Applications and ServiceNow Database which seamlessly creates incidents, requests, assign requests to groups or people.  2. Prerequisites • Service Now Account • Service Now User Name and Password  3. Microsoft Azure Shared Access Name and Key Click Connection Information. In the Access connection information dialog, find the connection string that contains the SAS key and key name. Make a note of these values, as you will use this information later to perform operations with the namespace.  4. Mule fl

Integration with Microsoft SharePoint using Mule ESB

Integration with Microsoft SharePoint using Mule ESB from Sanjeet Pandey Integration with Microsoft SharePoint using Mule ESB  1. Overview Microsoft SharePoint is a web application platform for content and document management, intranet portals, collaboration, extranets, websites, and enterprise search. The Microsoft SharePoint connector for Anypoint platform enables integration with SharePoint 2013 through its REST API. Supported operations: • Lists and List Items API: Create, delete, retrieve, and update lists and list items. • Files and Folders API: – Files: Add, retrieve content, retrieve metadata, delete, check out, undo check out, check in, publish, unpublish, approve, deny, recycle, and copy files. – Folders: Create, delete, and retrieve folders. Supported Microsoft SharePoint versions: • Microsoft SharePoint 2013 • Microsoft SharePoint Online  2. Authentication • The Microsoft SharePoint connector supports different authentication schemes based on which Microsoft

Integration with CMIS using Mule ESB

Integration with CMIS using Mule ESB from Sanjeet Pandey Integration with CMIS using Mule ESB  1. Overview - The Anypoint Connector for Content Management Interoperability Services (CMIS) provides connectivity to CMIS repositories, such as Alfresco and SharePoint. It enables synchronizing data and automating business processes across applications and systems. Supported operations: - Apply Policy - Check in - Check out - Create Folder - Create File - Create Relationship - Delete - Query - ...  2. Prerequisites For the CMIS connector to work properly in your Mule application, you need the following: • Access to a CMIS repository • A community edition of Anypoint Studio  3. Installation To install: • Open Anypoint Studio, and under the Help menu, select Install New Software. • In the Install menu, click Work with, and click the Anypoint Connectors Update Site. • In the table below the Filter field, click the right arrow next to the Community folder, and select the MuleSo

Integration with SAP using Mule ESB

Integration with SAP using Mule ESB from Sanjeet Pandey Integration with SAP using Mule ESB  1. Overview - As one of the most widely used enterprise resource planning solutions on the market, SAP plays a central role in the most critical business processes for many companies. In order to fully automate and optimize these business processes, companies need to integrate SAP with other applications within their organization. This article discusses SAP integration with other applications like Salesforce, e-POS, e-Commerce SharePoint etc. including uses and benefits, challenges, and new approaches. - An alternative approach to point-to-point quick fixes and expensive SOA stacks is integrate SAP using an (Enterprise Service Bus). - Mule’s SAP Enterprise Connector provides bidirectional communication and works with existing SAP technologies such as: • Intermediate Documents (IDocs) • Business Application Programming Interfaces (BAPIs) • SAP Java Connector (JCo)  2. Mule ESB SAP

Deployment of Mule ESB Application using MMC

Deployment of Mule ESB Application using MMC from Sanjeet Pandey Deployment of Mule ESB Application using MMC  1. Overview - Mule Management Console (MMC) centralizes management and monitoring functions for all your Mule ESB Enterprise deployments, whether they are running as standalone instances, as a cluster, or embedded in application servers. - MMC is an enterprise management and monitoring tool designed specifically for Mule ESB instances. - MMC provides a centralized, convenient, and intuitive web-based interface to monitor, manage, and administer the run-time aspects of Mule ESB. With MMC, you can save time and reduce errors by quickly identifying, diagnosing, and appropriately addressing problems within development, testing, UAT and production environments; all with the same user experience.  2. Deploying Mule Application - Login to Mule Management Console. - Use the Deployments Tab in the management console to perform application provisioning, including deploying

Integration with Salesforce using Mule ESB

Integration with Salesforce using Mule ESB from Sanjeet Pandey Integration with Salesforce using Mule ESB  1. Overview - MuleSoft provides the most widely used integration platform to connect any application, data service or API, across the cloud and on-premise continuum. - The Salesforce connector establishes connection to Salesforce system using SOAP web service (provided by Salesforce). Almost every operation that can be done via the Salesforce's API can be done thru this connector. This connector will also work if your Salesforce objects are customized with additional fields or even you are working with custom objects. The connector supports the option to configure Salesforce connection details, connection pooling and max limit of active connections. 2. Prerequisites • Salesforce Account • Salesforce User Name , Password and Security Token • Mule Anypoint Salesforce Cloud Connector  3. Mule Anypoint Salesforce Connector Configuration: This element must be plac

Query Operation in Microsoft SharePoint using Mule ESB

Query Operation in Microsoft SharePoint using Mule ESB from Sanjeet Pandey Query Operation in Microsoft SharePoint using Mule ESB  1. Overview Microsoft SharePoint is a web application platform for content and document management, intranet portals, collaboration, extranets, websites, and enterprise search. The Microsoft SharePoint connector for Anypoint platform enables integration with SharePoint 2013 through its REST API. Supported operations: • Lists and List Items API: Create, delete, retrieve, and update lists and list items. • Files and Folders API: – Files: Add, retrieve content, retrieve metadata, delete, check out, undo check out, check in, publish, unpublish, approve, deny, recycle, and copy files. – Folders: Create, delete, and retrieve folders. Supported Microsoft SharePoint versions: • Microsoft SharePoint 2013 • Microsoft SharePoint Online 2. Authentication • The Microsoft SharePoint connector supports different authentication schemes based on which Micros

Create Object in Amazon S3 using Mule ESB

Create Object in Amazon S3 using Mule ESB from Sanjeet Pandey Create Object in Amazon S3 using Mule ESB  1. Overview - MuleSoft provides the most widely used integration platform to connect any application, data service or API, across the cloud and on-premise continuum. - Amazon S3 is cloud-based data-storage infrastructure that is accessible to the user programmatically via a MuleSoft Amazon S3 connector. - The Amazon S3 Mule connector allows developers to access any amount of data, at any time, from anywhere on the web. With connectivity to the Amazon S3 API, users can interface Amazon S3 to store objects, download and use data with other AWS services, and build applications that call for internet storage - all from within MuleSoft Anypoint Platform.  2. Prerequisites • Amazon Account • Amazon Access and Secret keys • Mule Anypoint Amazon Connector Creating Amazon S3 Bucket - Before you start integrating S3, you need to create an S3 Bucket. Every object in Amazon S3 i

Get Queue List from Microsoft Azure using Mule ESB

Get Queue List from Microsoft Azure using Mule ESB from Sanjeet Pandey Get Queue List from Microsoft Azure using Mule ESB  1. Overview - MuleSoft provides the most widely used integration platform to connect any application, data service or API, across the cloud and on-premise continuum. - Microsoft Azure is cloud-based data-storage infrastructure that is accessible to the user programmatically via a MuleSoft ‘Microsoft Service Bus’ connector.. - The Microsoft Service Bus Mule connector allows developers to access any amount of data, at any time, from anywhere on the web. With connectivity to the Microsoft Azure API, users can interface Azure to store objects, download and use data with other Azure services, and build applications that call for internet storage - all from within MuleSoft Anypoint Platform.  2. Prerequisites • Microsoft Azure Account • Microsoft Azure Namespace, Shared Access Key Name and Shared Access Key • Mule Anypoint Microsoft Service Bus Connector Mi

Best way to deploy mule application

Best way to deploy mule application from Sanjeet Pandey Best way to deploy mule application Best way to deploy mule application 1. Overview - Mule Management Console (MMC) centralizes management and monitoring functions for all your Mule ESB Enterprise deployments, whether they are running as standalone instances, as a cluster, or embedded in application servers. - MMC is an enterprise management and monitoring tool designed specifically for Mule ESB instances. - MMC provides a centralized, convenient, and intuitive web-based interface to monitor, manage, and administer the run-time aspects of Mule ESB. With MMC, you can save time and reduce errors by quickly identifying, diagnosing, and appropriately addressing problems within development, testing, UAT and production environments; all with the same user experience. 2. Deploying Mule Application - Login to Mule Management Console. - Use the Deployments Tab in the management console to perform application provisioning, inc

Features of Mule SAP Connector

Features of Mule SAP Connector from Sanjeet Pandey Features of Mule SAP Connector  1. Overview - As one of the most widely used enterprise resource planning solutions on the market, SAP plays a central role in the most critical business processes for many companies. In order to fully automate and optimize these business processes, companies need to integrate SAP with other applications within their organization. This article discusses SAP integration with other applications like Salesforce, e-POS, e-Commerce SharePoint etc. including uses and benefits, challenges, and new approaches. - An alternative approach to point-to-point quick fixes and expensive SOA stacks is integrate SAP using an (Enterprise Service Bus). - Mule’s SAP Enterprise Connector provides bidirectional communication and works with existing SAP technologies such as: • Intermediate Documents (IDocs) • Business Application Programming Interfaces (BAPIs) • SAP Java Connector (JCo) 2. Mule ESB SAP Connector -