Monthly Archives: October 2015

Workaround for JAX-WS NullPointerException when calling web service from embedded Java 8 JVM

[Note: I originally posted this solution to Stackoverflow.com] Problem: When connecting to a SOAP based web service from a Java 8 embedded JVM using JAX-WS dynamic generation of the client stubs, you get this NullPointerException:

If your problem is … Continue reading

Posted in Java | Tagged , , , , , , | 2 Comments

Curl command line encoding of query parameters for an HTTP PUT

[Note: I originally posted this problem/solution to Stackoverflow.com] Problem: I have multiple query parameters that I want to send in an HTTP PUT operation using curl. How do I encode the query parameters? Example:

If ‘value 1’ contains spaces … Continue reading

Posted in Unix | Tagged , , , , | Leave a comment