为什么Micromax和Samsung移动设备无法在安装时调用Web服务并出现Java错误?我的Web服务在WCF服务中编码,我使用j2me。我的代码是
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);
}
}