Not all working but now changed over to use HttpClient and JSON