为什么Micromax和三星手机不能调用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);
}
}