henry-
It sounds like the web service client is a DII or DynamicProxy one.
In jax-rpc 1.1 DII or DynamicProxy clients are meant to be used
with very simple types and rpc/encoded web services.
You would need to register a serializer/deserializer for your
bean and add it to the clients TypeMappingRegistry- Writing a custom
serializer
is tedious and we discourage this approach.
For a javabean you should use a static stub client. Better yet, switch to
the jaxws implementation.
Regards,
Kathy
henry human wrote:
>hello,
>I ' m trying to write a web service.
>The Web service has a methode, which return an object
>"User"
>as return value. The User object has properties
>like name, age, ........
>Now when i try to invoke theis object on the client
>side,
>i becom this error:
>No serialization registers for (class
>packageName.User, zero)
>Know somebody what this error means?
>My class User has a structure like a beean.
>It means only getter and setter methods.
>Is it possible to register an object like this in
>the Container or somewhere else (f. e in wsdl file)?
>I'm using sun application server.
>
>
>I am grateful, if someone can help me here
>
>
>
>
>
>
>___________________________________________________________
>Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe_at_jax-rpc.dev.java.net
>For additional commands, e-mail: users-help_at_jax-rpc.dev.java.net
>
>
>