?
Solved

serialization and deserialization in an axis web service

Posted on 2006-07-14
6
Medium Priority
?
396 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
6 Comments
 
LVL 10

Accepted Solution

by:
mukundha_expert earned 500 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 500 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
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 …
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
Suggested Courses
Course of the Month9 days, 3 hours left to enroll

765 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