If you are trying to run and test the Http-bing example, and get an error like this

Exception in thread "main" java.io.IOException:
Server returned HTTP response code: 500 for URL: http://localhost:8912 at  sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection .java:800) at HttpClient.main(HttpClient.java:46)

Then it means that you don't have JDK 5 installed.

Fix

This problem is due to the Sun SAAJ implementation we use which is only compatible with JDK 5.

Please update your J2SE Development Kit to JDK 5 to run it without any problems. You can download JDK 5 at http://java.sun.com/j2se/1.5.0/download.jsp