Solved

serialization and deserialization in an axis web service

Posted on 2006-07-14
6
384 Views
Last Modified: 2010-05-18
Can anyone help I'm looking for clear instructions on how I can add serialization and deserialization in an axis web service. I need to use serialization and deserialization because my web service is passed and returns a non-primitive types. Can anyone help?
Also I need to know how I can do the same for a PJO TestClient with a main method. I have a testClient which works fine if the request and response are java primitives but does not work if it's a List or Java Bean. I'm getting faultString: java.io.IOException: No serializer found for class
0
Comment
Question by:regphipps
  • 3
6 Comments
 
LVL 10

Accepted Solution

by:
mukundha_expert earned 125 total points
ID: 17110118
your bean class must implement serializable.. if the data members in the class are not serializable make it implement serializale or declare it as transient
0
 
LVL 26

Assisted Solution

by:ksivananth
ksivananth earned 125 total points
ID: 17110680
if you want to have a control on the serialization mech, implement externalizable
0
 
LVL 10

Expert Comment

by:mukundha_expert
ID: 17112199
>> implement externalizable

to define the way your non primitive attribute is serialized
0
 
LVL 10

Expert Comment

by:mukundha_expert
ID: 17112203
i mean the data member
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
groovy example issue 10 87
compre toata in where clue oracle 4 55
recursion example 16 111
servlet  URL Rewriting 1 24
INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …

947 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now