For Programmers: Free Programming Magazines  


Home > Archive > Java Help > May 2004 > jaxrpc webservices & custom classes?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author jaxrpc webservices & custom classes?
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.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com