Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to Serialize/Deserialize Beans with Web Services using DII client

Ahmed Abbas
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear All;

I had developed a web serivce by Oracle JDeveloper [J2EE 1.4 (JAX-RPC)] and trying to invoke methods within through DII client using Apache Axis 1.

The Beans I am using are structured as follows:

public class InBean {
public InBean() {

private int x;
private float y;

public setters/getters for x
public setters/getters for y

public class OutBean {
public OutBean() {

private String inString;
private String outString;

public setters/getters for inString
public setters/getters for outString

The (InBean) is used as method input and the (OutBean) is used as method output.

The problems I am facing are as follows:
[1] How to serialize/desrialize the Beans as they are not registered with Apache Axis 1?
[2] How to invoke the Beans using Dynamic client DII and not classic proxy and Stubs?
[3] How to create the Beans using WSD2Java of the Apache Axis 1 ?

In case you have any helping URL's, Book names or sample code, please attach as they will be very helpful.

Thanks alot for the help.

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic