users@jaxb.java.net

JAXRPCException in j2me client

From: JULIAN ENRIQUE OSORIO AMAYA <juliane.osorioa_at_unilibrebog.edu.co>
Date: Tue, 31 Aug 2010 07:50:29 -0500

Greetings

I've been working on a j2me ws client that upload an image to the server.

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ķa de Sistemas.
Bogota - Colombia