I have been trying without success so far.... Any help is appropriated.
- I created a sample webservice and deployed locally and is working fine.
- I have an OpenShift account with tomcat and deployed the package through eclipse. Build is good and Deployment is successful.
- My calls to the webservice are returning with 503 error.
- The haproxy-status page shows local-gear is down. after research for almost a day, I have removed the line "option httpchk GET /" from haproxy/conf/haproxy.cfg. Now the local-gear is up and running.
- Now my requests are returning with 404 error code.
Any help is appreciated as I am sort of stuck here.
Thanks,
private static String NAMESPACE = "http://server.tna.scan.com/";
// Webservice URL - WSDL File location
//private static String URL = "http://192.168.2.5:8080/TNAService/services/TNAService?WSDL";
private static String URL = "http://myapp-mydemain.rhcloud.com:8000/TNAService/services/TNAService?WSDL";
// SOAP Action URI again Namespace + Web method name
private static String SOAP_ACTION = "";
########HERE IS THE ERROR
06-04 20:01:43.406: W/System.err(26086): org.ksoap2.transport.HttpResponseException: HTTP request failed, HTTP status: 404 06-04 20:01:43.406: W/System.err(26086): at org.ksoap2.transport.HttpTransportSE.call(HttpTransportSE.java:237) 06-04 20:01:43.406: W/System.err(26086): at org.ksoap2.transport.HttpTransportSE.call(HttpTransportSE.java:118) 06-04 20:01:43.406: W/System.err(26086): at org.ksoap2.transport.HttpTransportSE.call(HttpTransportSE.java:113) 06-04 20:01:43.406: W/System.err(26086): at com.scan.tna.service.WService.invokeHelloWorldWS(WService.java:43) 06-04 20:01:43.406: W/System.err(26086): at com.scan.tna.MainActivity$PlaceholderFragment$AsyncCallWS.doInBackground(MainActivity.java:162) 06-04 20:01:43.406: W/System.err(26086): at com.scan.tna.MainActivity$PlaceholderFragment$AsyncCallWS.doInBackground(MainActivity.java:1) 06-04 20:01:43.406: W/System.err(26086): at android.os.AsyncTask$2.call(AsyncTask.java:288) 06-04 20:01:43.406: W/System.err(26086): at java.util.concurrent.FutureTask.run(FutureTask.java:237) 06-04 20:01:43.406: W/System.err(26086): at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231) 06-04 20:01:43.406: W/System.err(26086): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) 06-04 20:01:43.406: W/System.err(26086): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) 06-04 20:01:43.406: W/System.err(26086): at java.lang.Thread.run(Thread.java:841) 06-04 20:01:43.416: I/System.out(26086): Yes Received
#