Re: Serialization / deserialization problem

2002-06-05 Thread José Miguel Vieira
Hi, Vishal and others Has anyone manage to solve the following problem? >Thanks a lot... > >I am not getting the deserialization exception but some other exception. > >After including your code (given below) i get following exception: > >- Exception: >org.xml.sax.SAXException: Bad types (null ->

Re: Serialization / deserialization problem

2002-05-30 Thread Vishal Batra
Thank you.   Vishal     - Original Message - From: Joachim Björklund To: [EMAIL PROTECTED] Sent: Thursday, May 30, 2002 5:00 PM Subject: RE: Serialization / deserialization problem You have to put the same type of typemapping in your client, something like this:    Q

RE: Serialization / deserialization problem

2002-05-30 Thread Joachim Björklund
ctory(Data.class, rt)); call.setReturnType(rt);   Maybe there is some other ways to do this but this is the way I do for my objects... -Original Message-From: Vishal Batra [mailto:[EMAIL PROTECTED]]Sent: den 30 maj 2002 13:48To: [EMAIL PROTECTED]Subject: Serialization / deserial

RE: Serialization / deserialization problem

2002-05-30 Thread Geza.Szocs
Did you write your client using WSDL2Java ? I assume that you have to insert the same type mapping thing in your client code as well. From the client code you need to do the following: QName qn2 = new QName("http://hello.org/types","TableType";); call.registerTypeMapping(Table

Serialization / deserialization problem

2002-05-30 Thread Vishal Batra
Hi all,I need some help on serialization/deserialization.I have created a web-service whose code is given below:package test.service ;public class Service{    public Data dataOperation()    {    return new Data() ;    }}Data is a simple java bean.   The definition of Data class is giv