I know that I know nothing

Enable log in CXF to see request and response body

clock October 29, 2016 21:48 by author Administrator

Some time we need to see request and response body in soap for trace 

by this code when using in java api call we can enable that 

final Client client = ClientProxy.getClient(service);

client.getInInterceptors().add(new LoggingInInterceptor());

client.getOutInterceptors().add(new LoggingOutInterceptor());

angular $broadcast

clock October 24, 2016 20:14 by author Administrator

AngularJS applications may need to communicate across the controllers. Such a communication might be needed to send notifications or to pass data between the controllers. Although there can be different approaches to achieve this goal, one that is readily available is the event system of $scope and $rootScope. Both of these objects - $scope and $rootScope - support three methods namely $broadcast(), $emit() and $on() that facilitate event driven publisher-subscriber model for sending notifications and passing data between the controllers. In this article I will discuss how to raise events using $broadcast() and $emit() and then how to handle those events using $on().

one of solution to raise authenticate success in web app is to used this feature 

after authenticationSuccess call this :


and listen to that event 

 $scope.$on('authenticationSuccess', function() {





clock October 4, 2016 21:53 by author Administrator

Using angular.module() with two parameters (e.g. angular.module('aziz-module', [])) would result in setting a new module with its corresponding dependencies. In contrast, when using angular.module('aziz') the corresponding module is looked up internally and returned to the caller (getting).

The means when you first define you application you might just create the following files and structure.







If you now include these files in your html document in this particularly order (at least app.js has to come first), your application works just fine with two separate controllers in two separate files.

About the author

 Welcome to this web site . This page has two purposes: Sharing information about my professional life such as articles, presentations, etc.
This website is also a place where I would like to share content I enjoy with the rest of the world. Feel free to take a look around, read my blog

Java,J2EE,Spring Framework,JQuery,

Hibernate,NoSql,Cloud,SOA,Rest WebService and Web Stack tech...


Month List

Sign In