| View previous topic :: View next topic |
| Author |
Message |
tkale
Joined: 01 Dec 2008 Posts: 7
|
Posted: Fri Oct 09, 2009 5:06 pm Post subject: java.rmi.MarshalException: (1) Missing end tag for Body or Envelope |
|
|
While using web service client generated by Netbeans 6.7.1 for Java ME application, the following error is reported:
java.rmi.MarshalException: (1) Missing end tag for Body or Envelope
at com.sun.j2mews.xml.rpc.SOAPDecoder.decode(), bci=241
at com.sun.j2mews.xml.rpc.OperationImpl.invoke(), bci=103
at mobileservice.MobileService_Stub.mobileService(MobileService_Stub.java:70)
at hello.HelloMIDlet$1.execute(HelloMIDlet.java:310)
at org.netbeans.microedition.util.SimpleCancellableTask.run(), bci=16
at org.netbeans.microedition.lcdui.WaitScreen$BackgroundExecutor.run(), bci=4
at java.lang.Thread.run(), bci=11
Upon closer examination, it appears that connection is closed before complete data is received by client. Web service is running fine on server and many other applications are using it. |
|
| Back to top |
|
 |
tkale
Joined: 01 Dec 2008 Posts: 7
|
Posted: Fri Oct 09, 2009 6:04 pm Post subject: similar error with J2ME 2.5.2.01 |
|
|
Following error is reported when using earlier version of toolkit:
javax.xml.rpc.JAXRPCException: javax.microedition.io.ConnectionNotFoundException: TCP open
at com.sun.j2mews.xml.rpc.OperationImpl.invoke(OperationImpl.java:283)
at mobileservice.MobileService_Stub.mobileService(MobileService_Stub.java:70)
at hello.HelloMIDlet.startMIDlet(HelloMIDlet.java:75)
at hello.HelloMIDlet.startApp(HelloMIDlet.java:212)
at javax.microedition.midlet.MIDletProxy.startApp(MIDletProxy.java:44)
at com.sun.midp.midlet.Scheduler.schedule(Scheduler.java:375)
at com.sun.midp.main.Main.runLocalClass(Main.java:477)
at com.sun.midp.main.Main.main(+80) |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|
|