I am using HPSM rest api to post incident and retirieving incidents, but when i invoke post(save incident) service through java with HTTP URL Connection, Initially it is taking nearly 5 mins for creatign incident, and then it is taking 30 secs for saving incident, 10 secs form retrieving incidents.
My client(java application) is reciding in different machine and hpsm is installed in different machine.
I am using Normal java code to connect hpsm.
URL url = new URL("<HPSM URL Located in remote machine>"); HttpURLConnection conn = (HttpURLConnection) url.openConnection(); conn.setRequestMethod("GET Or POST"); conn.setRequestProperty("Accept", "application/json");
It would be appreciable, if any one provide solution.