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
Solved

serialization and deserialization in an axis web service

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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone 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

Suggested Solutions

Title # Comments Views Activity
xampp tool 12 56
java jdbc batch example 8 41
Is Applet the way to go for my drag and drop system? 8 25
Java basic valueOf question 1 29
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…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

856 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