Skip to main content

Posts

Consuming Workday WSDL into Outsystems

WSDL (Web Service Description Language) is an XML format for describing network services as a set of endpoints operating on messages containing either document-oriented or procedure-oriented information. The operations and messages are described abstractly, and then bound to a concrete network protocol and message format to define an endpoint . Generally consuming a WSDL (Webservice Description Language) in Outsystems is an easy task but it might get trickier when the WSDL has unsupported use cases built into it. This article will help to understand the difficulties associated with such unsupported use case and attempts to provide a solution. Here is the list of unsupported SOAP use cases from Outystems: https://success.outsystems.com/Documentation/11/Extensibility_and_Integration/SOAP/Consuming_SOAP_Web_Services/Unsupporte d_SOAP_Use_Cases#list-attribute-in-a-single-list-attribute Workday WSDL: The following link provides the WWS (Workday Web Services) API Documentation f...

Typescript Basics

Typescript language is a wrapper around javascript language. Any javascript code can also be a typescript code, but typescript has additional features like Strong Typing, Object Oriented features, Catching errors during compile time. In Angular applications, all javascript code is generally written in typescript. Angular CLI under the hood compliles the typescript file into javascript before bundling in the deployable package. We can individually learn Typescript without using Angular CLI by downloading Typescript using npm (node package manager). Basic commands before working on typescript:  ---------------------------------------------------------------------------------  Command used to install typescript                           ---------------------------------------------------------------------------------  Use ctrl+~ to open the terminal window in visual    studio code    ...

Angular Basics

Angular is component based framework. Each page in application has different components and tied to the root component. Each component has its view (html) , css(stylesheets), ts(typescript files containing logic), spec.ts (used for unit testing component) Prerequisites: ------------ Download - Node.js (Runtime for angular applications) - npm (node package manager - to install dependencies for angular) - angular cli (command line interface for generating, running angular projects) Angular CLI Commands: ---------------------- ng new (creates a fresh application) ng serve (starts the application on node server) ng generate component (To create a new component) Visual Code Commands: Open a terminal window - Control + ~ Module vs Components: -------------------- Each module may have one or more components. Each component will have HTML, logic and Data. Steps to create a component: Create a component.  - Naming convention for component : .component.ts  - Components uses decorat...

How to take Full Page Screenshot using Google Developer Tools in Chrome Browser

Click on 3 vertical dots on the top right hand side of the browser. Click on 3 vertical dots again in the Developer Tools Menu and choose "Run Command" option or use keyboard combination ctrl+Shift+P. If you do not see Developer Tools you might have to go to chrome settings and enable this option in your chrome browser. Now type "Capture Full Page Screenshot" in the command bar. Thats it. You should now see the whole page you are viewing will be downloaded automatically in your PC as a PNG file.

Springboot Microservices Tools And Dependencies – Spring Cloud Config

There are various tools and dependencies which are available in Spring Starter project which are very useful in creating better spring based microservice architectures for developing mobile or web applications. Here is one such commonly used tools if you are using the springboot microservice architecture in designing your applications. Spring Cloud Config Server : This dependency is used for externalizing the configuration properties in various microservices present in your organization. The main advantage of using Spring Cloud Config Server is that you can get away from deploying or restarting your services if there is only configuration change made in your microservice. Generally, if you change any property in your microservice, you will have to restart the microservice to see that change. But if you configure your properties in the Spring Cloud Config Server, the changes will be affected automatically in the applications. Steps to activate this dependency: ·   ...

Spring Based Restful Microservice Architecture and Implementation - Part 1

In this post we will see how a spring based restful microservice architecture looks like and detailed steps to implement this architecture. Since this is a vast topic, I will divide this post into multiple posts. In the first post (Part 1), we will see the spring based Microservice Architecture for a simple use case. Identify various components and tools that will be used to implement this architecure.  Without spending too much time on the basics, we will dwelve right away into the overall architecture. Tools and Technologies used : Spring Tool Suite (https://spring.io/tools3/sts/all)  Postman (https://www.getpostman.com/apps)  mongoDB (https://www.mongodb.com/download-center/community)  Java 8  Installation of Spring Tools Suite, Postman and Java JDK 8 are straight forward and I will not go into details of these installations.  Steps Involved in creating springboot microservices: In Part 1 of this series, we will see how to implement...

Using Lambda Expressions in Java

Lambda expressions are introduced in Java 8. They help us to remove lot of bolier plate code for interface implementations using an inner class. In this blogpost, we will answer following questions: 1. What is a Functional Interface ? 2. What are Lambda Expressions  and how to use them ? 3. Can an interface have default method implementations ? 4. Can a Functional Interface have more than one abstract method ? Create a java file and name it as "TestLambda". Copy paste the below code and run the program. Read the method signatures to get more understanding :