Jasper report not generating in Headless client.

I think it expects the server name only, not a full datasource string.

To test this, you could simply include your headless client solution as a module to your solution and put a breakpoint in your headless client method. You should be able to debug this… Does the report generation work locally (without headless client) with the exact same parameters?