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:Invalid Element in Response: exception in j2me ws client

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



Joined: 05 Jun 2009
Posts: 168
Location: Bogota, Colombia, South America

PostPosted: Tue Aug 31, 2010 2:46 pm    Post subject: java.rmi.MarshalException:Invalid Element in Response: exception in j2me ws client Reply with quote

Greetings

I've been working on a j2me ws client that upload an image to the server.
The web service was developed with jws


The pojo at server side has the following attribute
@XmlMimeType("image/jpeg")
Image image;


and the generated pojo at client side has the following
byte[] image


the data types are correct according this site
http://docs.sun.com/app/docs/doc/820-1072/ahigz?a=view


but now the service invocation is throwing an exception


JAXRPCException MarshalException
java.rmi.MarshalException:Invalid Element in Response: exception


What could be wrong?


Thanks for your time


--
Julian Osorio Amaya
Universidad Libre.Ingenier
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java EE 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
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo