Please format your code using </>
icon as explained in this guide. It will make your post more readable.
Or use markdown style like:
```
CODE
```
1st of all I'd use the Rest client instead of the Transport client.
Then, could you try you sample code outside the context of websphere?
May be share also your sample code?