Solved

serialization and deserialization in an axis web service

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

760 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