Solved

serialization and deserialization in an axis web service

Posted on 2006-07-14
6
394 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 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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
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 …
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:

726 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