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:
Tag Archives: SOAP
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.
- Apex API is available through SOAP protocol.
- Tooling API is available through SOAP as well as REST.
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.
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.
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.
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.
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.
- Structure of an Ionic App
- Creating Views with Ionic
- Controllers in Ionic/Angular
- Make HTTP Requests In Android And iOS With Ionic Framework
- Ionic: Using Factories and Web Services for Dynamic Data
- SOAP Web Services in Angular and Ionic
- Modules in Ionic/Angular
- Promise-Based Architecture in an Ionic App
- Using The UI-Router To Navigate In Ionic Framework
- Saving Data With Ionic Framework
- Organising Code in an Ionic Application for Beginners
- Validation in Ionic Framework Apps with ngMessages
- NEWIonic – Setup on OSx
- NEWIonic – How to setup on Windows
- Understanding Ionic’s Side Menu
- Understanding Tabs In Ionic Framework
- Understanding the Ionic Framework Action Sheet
- Understanding Ionic’s Infinite Scroll
- Understanding Pull to Refresh
- Make List Items Swipeable In Ionic Framework
- Using Slide Boxes and Tabs in Ionic Framework Apps
Ionic App Patterns
- Ionic: Master Detail Pattern
- Internationalization of an Ionic App: Multilanguage Support
- Internationalization and Localization with Ionic Framework and Angular Translate
- Add Pull to Refresh with Toast Message in Your Ionic App
- Creating a Feed in Ionic
- Make A Gallery-Like Image Grid Using Ionic Framework
- Making Tinder-Style Swipe Cards With Ionic Framework
- Swipeable Cards with the Ionic Framework
- Cookie-based Authentication in AngularJS
- Handle User Sign-In With Ionic Framework
- How To Handle User Authentication With AngularJS Inside Your Ionic App
- Simple login example with ionic and AngularJS
- NEWHow To Handle User Authentication With AngularJS Inside Your Ionic App
- Writing Your First Unit Test with the Ionic Framework
- Unit Testing Your Ionic Framework App
- Optimize your Ionic Testing with Wallaby.js, Bard.js, and WebStorm
Backend as a Service
- Use Parse Core In Your Ionic Framework Mobile Apps
- Sign Into Firebase With Facebook Using Ionic Framework
- Syncing Data With Firebase Using Ionic Framework
- Syncing Data With Dropbox Using Ionic Framework
- Create a Password Management App Using Ionic Framework and Firebase
- Build a Hybrid Application with the Ionic Framework and Azure Mobile Services, Part 1: Configuring the Project
- Build a Hybrid Application with the Ionic Framework and Azure Mobile Services, Part 2: Creating the User Interface
- Build a Hybrid Application with the Ionic Framework and Azure Mobile Services, Part 3: Wiring Up The Backend
- Sync Data Using PouchDB In Your Ionic Framework App
- Creating a Firebase Powered End to End Ionic Application
- NEWWorking with IBM MobileFirst and the Ionic Framework
- NEWUsing MobileFirst HTTP Adapters with an Ionic Application
- NEWUsing MobileFirst SQL Adapters with an Ionic Application
- NEWUsing Remote Logging with Ionic and IBM MobileFirst
- NEWWorking with IBM MobileFirst and Ionic – Bootstrapping
- Using the Ionic Framework with Grunt and PhoneGap Build
- Minifying Your App’s Source Code
- Debugging AngularJS Apps from the Console
- Use The Ionic CLI To Integrate Crosswalk Into Your Project
- NEWIonic adds a new State feature
- NEWAutomatically Add JS/CSS Files to Your Ionic Projects
- NEWIonic – The Ionicbox and How To Use It
- NEWIonic – Using Android x86 Virtual Machine Instead of Emulator
Ionic Backend Services (ionic.io)
- Ionic showWhen directive
- showWhenState: Conditional Elements In Ionic by State
- Dividing a List Automatically in Ionic Framework
- Preload images in Ionic using $ImageCacheFactory
- Adding Frosted Glass Effect to your Ionic Framework App
- Shrinking Headers Like Facebook With the Ionic Framework
- Using Custom URL Schemes In Your Ionic Framework App
- OAuth with Ionic and ngCordova
- Print Data To Paper Or PDF Using Ionic Framework
- Create A Todo List Mobile App Using Ionic Framework
- Get Available Free Disk Space Using Apache Cordova
- Using The Native Device Calendar In Ionic Framework
- Make Your Own Facebook Mobile App With Ionic Framework
- Prompt User To Rate Ionic Framework Mobile App
- Add ‘Rate my App’ in your ionic app to increase the number of ratings in the app store
- Use Native Device Dialogs In Ionic Framework Mobile Apps
- Deploy Ionic Framework App With Pre-Filled SQLite DB
- Access The Native Device Clipboard In Ionic Framework
- Upload Files To A Remote Server Using Ionic Framework
- Open Dynamic Links Using The Cordova InAppBrowser
- Create, Delete, And Search Contacts In Ionic Framework
- Playing Audio In Your Android And iOS Ionic Framework App
- Use SQLite Instead of Local Storage In Ionic Framework
- Find The Application Version In Your Ionic Framework App
- Implement Social Media Sharing With Ionic Framework
- Implement Google Maps Using Ionic Framework
- Displaying the Twitter Feed within Your Ionic App
- Use The Android And iOS Camera With Ionic Framework
- Show Native Toast Notifications Using Ionic Framework
- Implement A Barcode Scanner Using Ionic Framework
- Manage Files In Android And iOS Using Ionic Framework
- Handling Apache Cordova Events With Ionic Framework
- Making iOS In-App Purchases With Ionic Framework
- Making Android In-App Purchases With Ionic Framework
- Create an RSS Reader Using AngularJS and Ionic Framework
- Add A Splash Screen To An Ionic Framework Project
- Polish Your App Launch with Cordova Splashscreen Plugin
- Send Email from Android and iOS with Ionic Framework
- Using An Oauth 2.0 Service With Ionic Framework
- Launch External URLs with Ionic Framework
- Using Google Analytics With IonicFramework
- Using Admob With IonicFramework
- Check Network Connection With Ionic Framework
- Placing Phone Calls In Hybrid Apps
- How To Make A HealthKit App With Ionic and ngCordoa
- Using Local Notifications In Your Ionic Framework App
- Adding Gamecenter Support to your Ionic App
- Making a Signature Drawpad with Ionic
- Making a Lock Pattern Login with Ionic and AngularJS
- Support iOS touchID in your ionic app
- Creating a Realtime Image Sharing App With Ionic and Socket.io
- Store Camera Photos Permanently Using PhoneGap, Ionic & ngCordova
- NEWChaining multiple Cordova File Transfers with ngCordova
- NEWSelecting multiple images in a PhoneGap/Cordova app
- Adding Background Images To Ionic Framework Apps
- Create A Complex Calculator App Using Ionic Framework
- Embed Video In Your iOS And Android Ionic Framework App
- Add Pin Code Unlock To Your IonicFramework App
- Trigger Pull To Refresh In Ionic Framework Apps
- Learning the Ionic Framework as a Sencha Touch Developer
- Animations For Your Ionic App with Move.js