VOTG
[Logo] JavaRanch » JavaRanch Saloon
  Search | FAQ | Recent Topics | Hot Topics
Register / Login


Reply Bookmark it! Watch this topic JavaRanch » Forums » Mobile » Java Micro Edition
 
RSS feed
 
New topic
Author

Strange exception that only occurs the first time i call a WS operation

Alex Parvan
Ranch Hand

Joined: Dec 10, 2009
Messages: 81

When i call any WS operation from a J2ME client i get this strange exception:
java.rmi.MarshalException: Unexpected Exception : unexpected end of stream

The thing is, the WS receives the info i send, but the client doesn't receive the response. And even more wierd is that this only happens the first time, if i run the client again, it's all ok. I tried using J2SE and that works fine.

I can pass whatever data to whatever WS operation, it's the same story.

This is my J2ME code:

This message was edited 4 times. Last update was at by Parvan Alexandru


"Quoting yourself is stupid" - Me
 
 
 
Reply Bookmark it! Watch this topic JavaRanch » Forums » Mobile » Java Micro Edition
 
RSS feed
 
New topic
MyEclipse Enterprise Workbench