title: OpenShift Status 404 - Tomcat local working fine
body: <p>I have been trying without success so far.... Any help is appropriated.</p>
  
  <ol>
  <li>I created a sample webservice and deployed locally and is working fine.</li>
  <li>I have an OpenShift account with tomcat and deployed the package through eclipse. Build is good and Deployment is successful.</li>
  <li>My calls to the webservice are returning with <strong>503</strong> error.</li>
  <li>The haproxy-status page shows local-gear is down. after research for almost a day, I have removed the line "<strong>option httpchk GET /</strong>" from <strong>haproxy/conf/haproxy.cfg</strong>. Now the local-gear is up and running.</li>
  <li>Now my requests are returning with <strong>404</strong> error code.</li>
  </ol>
  
  <p>Any help is appreciated as I am sort of stuck here.</p>
  
  <p>Thanks,</p>
  
  <pre><code>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 = "";
  </code></pre>
  
  ########HERE IS THE ERROR
  
  <p>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 </p>
  
  #