Thursday, March 31, 2016

Apache CXF web service implementation with dynamic WSDL

According to the requirements, I need to generate web services from dynamically loaded WSDL files. This is not practical with wsdl2java since it generates classes mapped to WSDL, which result in piling up classes for different WSDL files loaded at runtime.
So after going through Apache CXF API and after experimenting with it for some time, I was able to come up with a POC on how to achieve my requirement.
The sample code is at my Github: https://github.com/amalhub/cxf-test
Happy coding!

Thursday, March 10, 2016

How to reset Ubuntu Software Update source list

Are you getting the "Failed to fetch ... " error when running the update in Ubuntu.

Enter the following commands in a Terminal to clear the source lists and reset them -
sudo rm /var/lib/apt/lists/* -vf
sudo rm /var/lib/apt/lists/partials/* -vf ##Optional
sudo apt-get update