I have a WS ( CarASessionBean )it will call another WS ( CarBProxy ) to create a car details. So inside my CarASessionBean WS has a method call createCar : (In proxy has the same method as well call createCar just it take in CarB object as parameter).
public void createCar(CarA car) {
//here i will call the proxy and here error occur as CarBProxy take in CarB object
...
**carBProxy.createCar(car);**
}
In this case is it possible to use wrapper? I just heard about wrapper not much understand what wrapper can do, can rougly guide me how to use wrapper i had reseached through google most example is about primitive type I was wonder is there possible to use wrapper to convert an object to another object. Example from CarA to CarB?