FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

java.rmi.MarshalException: (1) Missing end tag for Body or Envelope

 
Post new topic   Reply to topic    NetBeans Forums -> Java ME Users
View previous topic :: View next topic  
Author Message
tkale



Joined: 01 Dec 2008
Posts: 7

PostPosted: Fri Oct 09, 2009 5:06 pm    Post subject: java.rmi.MarshalException: (1) Missing end tag for Body or Envelope Reply with quote

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
View user's profile Send private message Visit poster's website
tkale



Joined: 01 Dec 2008
Posts: 7

PostPosted: Fri Oct 09, 2009 6:04 pm    Post subject: similar error with J2ME 2.5.2.01 Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java ME Users All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB