Tuesday, December 29, 2015

Testing SOAP services using pingdom

This post gives half the answer I needed to test SOAP services . The other half of the answer was to override the default Content-Type HTTP header added by pingdom (Check the 11th point in the Optional Parameters section).

To override the header, just add one with a blank space. This worked for me and may be for you too.

Also another thing I had to do while testing web services developed using Apache Axis (I don't know which version), is that I had to specify a SOAPAction header with the value "" (The value is 2 double quotes, not an empty value)

Generally, you need successfully send a POST request to the service and find out what HEADER you are missing (i.e. to add it) or adding (i.e. to remove it). You can use SOAP UI to do that. But SOAP UI doesn't show sent HEADER by default, so you'll need to download TCPMon (Which records and displays communications), start it, and let it proxy connections on a specific port, then configure SOAP UI to use that port as a proxy. At the time of writing this post, SOAP UI v4.6.4 supports this mechanism out of the box.

Wednesday, September 9, 2015

Useful Java VM options

Display possible java options: java -X

Display java default values: java -XX:+PrintFlagsFinal -version

Tuesday, September 9, 2014

maven-dependency-plugin (goals "copy-dependencies", "unpack") is not supported by m2e.

  1. Download this file and save it somewhere on your disk.
  2. In Eclipse/Preferences/Maven/Lifecycle Mappings dialog, click the Browse button and select the file you just saved.
  3. While focusing on your project. (i.e. Clicking it), press Alt+F5. This will refresh your project in Eclipse.
This error should be ignored now.

Sunday, September 7, 2014

Things to do after installing M2E (Maven integration) on Eclipse

  1. Open Window > Preferences
  2. Open Maven > Archetypes
  3. Click 'Add Remote Catalog' and add the following:
This is to add numerous archetypes in Maven's catalog so you would be able to create a project based on any of these archetypes.

Thursday, May 29, 2014

AMD Catalyst™ Driver 14.6 BETA has been released for selected products

AMD Catalyst™ Driver 14.6 BETA has been released for Windows® & Linux®.

What's new?:
    • Performance improvements
    • AMD Eyefinity enhancements
    • AMD Mantle enhancements
    • Ubuntu 14.04 support
    • Install improvements
    • Package & distribution generation options

Windows 8.0 users should upgrade to Windows 8.1 to take advantage of the new features found in the AMD Catalyst 14.6 Beta.

AMD Catalyst™ driver 14.6 BETA is for AMD Radeon™ HD 5000 Series Graphics products or higher.

For windows users: Link
For Linux users: Link

Tuesday, May 27, 2014

JDO error: Specified enum getter-by-value for field...

Specified enum getter-by-value for field ... gave an error on extracting the enum so just using the ordinal : null

This is a very vague message that could occur due to a very common mistake. Which is writing your enum getter-by-value or value-getter methods to accept or return numbers that aren't of the type "short"

I don't know if there is a way to bypass this restriction.