How to create and consume SOAP Web Service using SoapServer and SoapClient in PHP

In this tutorial I am going to show you how to create SOAP web service using SoapServer and how to consume web service using SoapClient in PHP. I am going to create a WSDL or web service definition language file for defining the contract between the server and client. SoapServer is used to create server side implementation of the SOAP…

3 Ways to consume SOAP Web Service in PHP

Here I am going to show you how to consume SOAP web service in PHP in 3 ways. To consume SOAP webservice you must have a SOAP web service deployed onto a server. Here I am going to consume or call the SOAP service which is ready made available on the internet. I am calling the CelsiusToFahrenheit which converts temperature…

PHP SOAP Web Service Configuration

Introduction Here I am going to tell you how to configure PHP SOAP web service. Obviously you can imagine why I am going to show you PHP SOAP configuration. This is required when you are going to create or consume the SOAP web service from your PHP programs. SOAP is an acronym that stands for Simple Object Access Protocol. It…

How to create multiple thumbnails from a single uploaded image in Codeigniter

Introduction Here in this tutorial I am going to show you how to create multiple thumbnails using PHP based Codeigniter framework from a single uploaded image. Codeigniter provides a file upload class that is used to upload single file or multiple files or even you can create thumbnail(s). This class also permits you to set various preferences, such as, destination…

Python Blur Image Pillow

In this tutorial I will show you how to blur an image using Python pillow library. The pillow image library provides the ImageFilter module that contains definitions for a pre-defined set of filters, which can be be used with the Image.filter() method to apply blur on image. I am going to show you three blur effects on an image –…

How to resize bulk images using Python

Introduction Here in this tutorial I am going to show you how to resize bulk images using Python’s PIL library. The bulk or multiple images which will be resized are kept into a folder. All the image files will be read one by one will be resized to a particular width x height. You can resize images in Python with…

Java Junit 5 Mockito doNothing() Example

In this tutorial I am going to show you how to work with Mockito‘s doNothing() in Java Junit 5 API. Mockito‘s doNothing() or Mockito itself is widely used testing framework. If you are working with Junit 4 then you can read the similar example Mockito’s doNothing() using Junit 4. Mockito‘s doNothing() is used when you want to test void methods…

How to use Swagger with Python based Django REST APIs

Here in this tutorial I am going to show you how to use Swagger API with Django REST framework. Swagger API provides well structured documentation for REST API endpoints so a new person can say how to test a REST API without knowing its internal implementation. Essentially, Swagger does a simple but very powerful thing: with a bit of additional…

Python Django MySQL REST API CRUD Example

Introduction In this tutorial I am going to show you how to build CRUD operations on REST APIs using Python based Django framework and MySQL as a persistent repository. CRUD is an acronym that basically means Create Read Update Delete. So we are going to create new resource, update existing resource, delete existing resource and retrieve or fetch existing resource.

How to post image tweets to Twitter using Twitter4j Java API

In this example I am going to discuss on how to post image tweets to Twitter using Twitter4j Java API. Twitter4j is an unofficial Java library and using this you can easily integrate Java application with Twitter service. Using image tweets I want to mean that I want to post text as well as image with this tweet. As many…