File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes How to Serialize/Deserialize Beans with Web Services using DII client Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "How to Serialize/Deserialize Beans with Web Services using DII client" Watch "How to Serialize/Deserialize Beans with Web Services using DII client" New topic
Author

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

Ahmed Abbas
Greenhorn

Joined: Feb 27, 2008
Posts: 4
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.



Best Regards,
Ahmed M. Abbas
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to Serialize/Deserialize Beans with Web Services using DII client