| seanairt 2004-05-13, 9:31 pm |
| I've managed to get through the "hello world" web services in the
web services tutorial. Those work fine as they take and return
primative types (String, int, etc).
I quickly tried to write a web service using a custom class
(a javabean-like value object) and when I deploy the app container
complains about not being able to find a serializer for the class (no
serializer is registered for ...).
This confuses me because the docs specifically say that if I write value
object like javabeans, using primitive types in my fields that jaxrpc
would support them.
I'm using Sun Application Server 8 as my test platform. I've configured
most of my .war files using deploytool so far (i haven't yet gotten an
ant-made .war file to deploy, but that's another issue).
I would really appreciate anyone who could give me a pointer or two on
what it is I'm missing.
|