To help debugging you can take a look at using a Instrument which include Wireshark to view the actual network packets. Also, is there another consumer in your Java code that you could potentially use to test the online company? If this was successful it could suggest a bug inside the Java code.In the example I stumbled on, the programmer experienc