Tag Archives: SOAP

Thrift API Gateway. Part 1: Bloody Core

via Thrift API Gateway. Part 1: Bloody Core.

Microservices, whatever one may do, one of the most important concept that was invented in last years. It is possible to resist SOAP 2.0 as much as long, but sooner or later they will come for you and will turn you into their faith, or you will come to them and please to baptise yourself by fire and a sword. As well as any architectural concept microservices has cons. You need to include some authorization logic in requests from external systems or other microservices in each microservice. This logic can be directly “hardcoded” in microservice (and it isn’t important that is a separate library), or can be delegated to other microservice, or can be declared. What “can be declared” means? For example, it is possible to agree that the special HTTP header, or some data structure with user information, comes in each request to each microservice. And data in this structure is needed to be absolutly trusted. All three options have cons, but within article we will talk about the last. For implementation usually API Gateway pattern is used:

Running Apex Code through ExecuteAnonymous API

via Running Apex Code through ExecuteAnonymous API.

I was working on a POC wherein I need to run apex code through ExecuteAnonymous API like Workbench does. I got stuck on this one as it was not a straight forward task and I spend some time on research so wanna share my research with you guys.

First of all, ExecuteAnonymous call is available through Apex API & Tooling API.

  1. Apex API is available through SOAP protocol.
  2. Tooling API is available through SOAP as well as REST.

JAX-WS Attachment With MTOM

via JAX-WS Attachment With MTOM | Examples Java Code Geeks.

In this tutorial we are going to see how to use JAX-WS along with Message Transmission Optimization Mechanism (MTOM) in order to transfer images from a Web Service endpoint to a Client and vise versa. So, in this example we are going to create a Web Service that a client can use in order to download or upload an image. As we know, Web Services uses SOAP messages to communicate with clients that want to use the service. SOAP is an XML based protocol, so it uses XML-Binary Optimized Packaging (XOP) in order to transmit binary data (like an image) over XMl.

It would be very useful to read JAX-WS Hello World Example – RPC Style before proceeding to this example.

Create Very Simple Jersey REST Service and Send JSON Data From Java Client

via Create Very Simple Jersey REST Service and Send JSON Data From Java Client • Crunchify.

Recently I have to pass JSON data to REST Service and did not have any simple Client handy. But created very simple Java program which read JSON data from file and sends it to REST service.

Representational State Transfer (REST) has gained widespread acceptance across the Web as a simpler alternative to SOAP– and Web Services Description Language (WSDL)-based Web services. Key evidence of this shift in interface design is the adoption of REST by mainstream Web 2.0 service providers—including Yahoo, Google, and Facebook—who have deprecated or passed on SOAP and WSDL-based interfaces in favor of an easier-to-use, resource-oriented model to expose their services. In this article, Alex Rodriguez introduces you to the basic principles of REST.

Automating Data Collection Using HtmlUnit

via Automating Data Collection Using HtmlUnit | Xoriant Blog.

he secret behind any successful business operation is their powerful data collection and strategizing the business activities based on the data. Collection of data can be characterized in 2 types. One is live data and second is the data that should be read at a periodic interval to check any updation/revision. In both the cases it is important to automate the data collection to avoid manual efforts and errors and also to speed up the data collection. If the data is available in the form of API or web service, it can be retrieved through SOAP or REST APIs. But if the data is to be extracted from web pages then we have to use a headless browser to parse the web page and extract the data.

HtmlUnit is a Java library which provides the functionality of headless browser and allows simulating the behavior of all the major browsers prevailing in the market (IE, Firefox, Chrome etc…). We can also configure it to act like a mobile device browser. It has a very good support of developer community and the frequency of releases is also good incorporating new features.

In this blog I will try to show how HtmlUnit can be used to collect necessary data from internet using Java and possible use cases where HtmlUnit can help in gathering required data.

Creating SOAP Web Services using JAX-WS

via Creating SOAP Web Services using JAX-WS – JAXenter.

This article explains how to create SOAP-based web services using the JAX-WS API and deploy it with Tomcat. The tutorial follows a step-by-step approach to writing a client using Java’s wsimport utility.

The web service shown in this article is deployed live here.

There are various ways of creating web services. In this post we are going to create a SOAP based web service using JAX-WS, which is Java API for XML Web Services and we will deploy it under Tomcat.

One important point to remember is, both SOAP and REST style web services can be built using JAX-WS. There is a common misconception that JAX-WS is used for creating SOAP based web services and JAX-RS is used for creating REST style web services.

JAX-WS API is very rich and provides a handful of annotations to make developers life easy.

100+ Ionic Framework Resources

via 100 Ionic Framework Resources.

There are many posts and articles on the Ionic Framework but sometimes it is difficult to locate exactly what you need. This list is a an attempt to create a comprehensive list of tutorials that cover as many topics as possible. I will update this list as I discover new posts and as new posts are suggested.

Don’t see what you’re looking for? Feel free to leave a comment and I’ll see if I can find something for you.

UPDATE: Want the newest updates to this list emailed to you? Use the “Subscribe to the Ionic Resources Mailing List” form in the sidebar of this site.

Ionic Basics

  1. Structure of an Ionic App
  2. Creating Views with Ionic
  3. Controllers in Ionic/Angular
  4. Make HTTP Requests In Android And iOS With Ionic Framework
  5. Ionic: Using Factories and Web Services for Dynamic Data
  6. SOAP Web Services in Angular and Ionic
  7. Modules in Ionic/Angular
  8. Promise-Based Architecture in an Ionic App
  9. Using The UI-Router To Navigate In Ionic Framework
  10. Saving Data With Ionic Framework
  11. Organising Code in an Ionic Application for Beginners
  12. Validation in Ionic Framework Apps with ngMessages
  13. NEWIonic – Setup on OSx
  14. NEWIonic – How to setup on Windows

Ionic Components

  1. Understanding Ionic’s Side Menu
  2. Understanding Tabs In Ionic Framework
  3. Understanding the Ionic Framework Action Sheet
  4. Understanding Ionic’s Infinite Scroll
  5. Understanding Pull to Refresh
  6. Make List Items Swipeable In Ionic Framework
  7. Using Slide Boxes and Tabs in Ionic Framework Apps

Ionic App Patterns

  1. Ionic: Master Detail Pattern
  2. Internationalization of an Ionic App: Multilanguage Support
  3. Internationalization and Localization with Ionic Framework and Angular Translate
  4. Add Pull to Refresh with Toast Message in Your Ionic App
  5. Creating a Feed in Ionic
  6. Make A Gallery-Like Image Grid Using Ionic Framework
  7. Making Tinder-Style Swipe Cards With Ionic Framework
  8. Swipeable Cards with the Ionic Framework


  1. Cookie-based Authentication in AngularJS
  2. Handle User Sign-In With Ionic Framework
  3. How To Handle User Authentication With AngularJS Inside Your Ionic App
  4. Simple login example with ionic and AngularJS
  5. NEWHow To Handle User Authentication With AngularJS Inside Your Ionic App


  1. Writing Your First Unit Test with the Ionic Framework
  2. Unit Testing Your Ionic Framework App
  3. Optimize your Ionic Testing with Wallaby.js, Bard.js, and WebStorm

Backend as a Service

  1. Use Parse Core In Your Ionic Framework Mobile Apps
  2. Sign Into Firebase With Facebook Using Ionic Framework
  3. Syncing Data With Firebase Using Ionic Framework
  4. Syncing Data With Dropbox Using Ionic Framework
  5. Create a Password Management App Using Ionic Framework and Firebase
  6. Build a Hybrid Application with the Ionic Framework and Azure Mobile Services, Part 1: Configuring the Project
  7. Build a Hybrid Application with the Ionic Framework and Azure Mobile Services, Part 2: Creating the User Interface
  8. Build a Hybrid Application with the Ionic Framework and Azure Mobile Services, Part 3: Wiring Up The Backend
  9. Sync Data Using PouchDB In Your Ionic Framework App
  10. Creating a Firebase Powered End to End Ionic Application
  11. NEWWorking with IBM MobileFirst and the Ionic Framework
  12. NEWUsing MobileFirst HTTP Adapters with an Ionic Application
  13. NEWUsing MobileFirst SQL Adapters with an Ionic Application
  14. NEWUsing Remote Logging with Ionic and IBM MobileFirst
  15. NEWWorking with IBM MobileFirst and Ionic – Bootstrapping

Ionic Tooling

  1. Using the Ionic Framework with Grunt and PhoneGap Build
  2. Minifying Your App’s Source Code
  3. Debugging AngularJS Apps from the Console
  4. Use The Ionic CLI To Integrate Crosswalk Into Your Project
  5. NEWIonic adds a new State feature
  6. NEWAutomatically Add JS/CSS Files to Your Ionic Projects
  7. NEWIonic – The Ionicbox and How To Use It
  8. NEWIonic – Using Android x86 Virtual Machine Instead of Emulator

Ionic Backend Services (ionic.io)

  1. NEWAn early look at Ionic Push

Ionic Ions

  1. Ionic showWhen directive
  2. showWhenState: Conditional Elements In Ionic by State
  3. Dividing a List Automatically in Ionic Framework
  4. Preload images in Ionic using $ImageCacheFactory
  5. Adding Frosted Glass Effect to your Ionic Framework App
  6. Shrinking Headers Like Facebook With the Ionic Framework

ngCordova/Cordova Plugins

  1. Using Custom URL Schemes In Your Ionic Framework App
  2. OAuth with Ionic and ngCordova
  3. Print Data To Paper Or PDF Using Ionic Framework
  4. Create A Todo List Mobile App Using Ionic Framework
  5. Get Available Free Disk Space Using Apache Cordova
  6. Using The Native Device Calendar In Ionic Framework
  7. Make Your Own Facebook Mobile App With Ionic Framework
  8. Prompt User To Rate Ionic Framework Mobile App
  9. Add ‘Rate my App’ in your ionic app to increase the number of ratings in the app store
  10. Use Native Device Dialogs In Ionic Framework Mobile Apps
  11. Deploy Ionic Framework App With Pre-Filled SQLite DB
  12. Access The Native Device Clipboard In Ionic Framework
  13. Upload Files To A Remote Server Using Ionic Framework
  14. Open Dynamic Links Using The Cordova InAppBrowser
  15. Create, Delete, And Search Contacts In Ionic Framework
  16. Playing Audio In Your Android And iOS Ionic Framework App
  17. Use SQLite Instead of Local Storage In Ionic Framework
  18. Find The Application Version In Your Ionic Framework App
  19. Implement Social Media Sharing With Ionic Framework
  20. Implement Google Maps Using Ionic Framework
  21. Displaying the Twitter Feed within Your Ionic App
  22. Use The Android And iOS Camera With Ionic Framework
  23. Show Native Toast Notifications Using Ionic Framework
  24. Implement A Barcode Scanner Using Ionic Framework
  25. Manage Files In Android And iOS Using Ionic Framework
  26. Handling Apache Cordova Events With Ionic Framework
  27. Making iOS In-App Purchases With Ionic Framework
  28. Making Android In-App Purchases With Ionic Framework
  29. Create an RSS Reader Using AngularJS and Ionic Framework
  30. Add A Splash Screen To An Ionic Framework Project
  31. Polish Your App Launch with Cordova Splashscreen Plugin
  32. Send Email from Android and iOS with Ionic Framework
  33. Using An Oauth 2.0 Service With Ionic Framework
  34. Launch External URLs with Ionic Framework
  35. Using Google Analytics With IonicFramework
  36. Using Admob With IonicFramework
  37. Check Network Connection With Ionic Framework
  38. Placing Phone Calls In Hybrid Apps
  39. How To Make A HealthKit App With Ionic and ngCordoa
  40. Using Local Notifications In Your Ionic Framework App
  41. Adding Gamecenter Support to your Ionic App
  42. Making a Signature Drawpad with Ionic
  43. Making a Lock Pattern Login with Ionic and AngularJS
  44. Support iOS touchID in your ionic app
  45. Creating a Realtime Image Sharing App With Ionic and Socket.io
  46. Store Camera Photos Permanently Using PhoneGap, Ionic & ngCordova
  47. NEWChaining multiple Cordova File Transfers with ngCordova
  48. NEWSelecting multiple images in a PhoneGap/Cordova app


  1. Adding Background Images To Ionic Framework Apps
  2. Create A Complex Calculator App Using Ionic Framework
  3. Embed Video In Your iOS And Android Ionic Framework App
  4. Add Pin Code Unlock To Your IonicFramework App
  5. Trigger Pull To Refresh In Ionic Framework Apps
  6. Learning the Ionic Framework as a Sencha Touch Developer
  7. Animations For Your Ionic App with Move.js