title: Web service problems in J2ME for Micromax and Samsung
body: <p>Why can't Micromax and Samsung mobile call a web service and give Java error at installation time? My web service coded in WCF service and I use j2me.  My code is  </p>
  
  <pre><code>public void startApp() {
      display = Display.getDisplay(this);
      try { 
          IMorderService_Stub service = new  IMorderService_Stub();
          service._setProperty(javax.xml.rpc.Stub.ENDPOINT_ADDRESS_PROPERTY, url);
  
          String msg = service.getCurrentShift();
          System.out.println(msg);
  
          form  = new Form("MICROMAX");
          str = new StringItem("SHift-Index", msg);
          form.append(str);
          display.setCurrent(form);
     } catch(Exception e) {
         System.out.println(e);
     }
  }
  </code></pre>