I'm creating a simple java client to call a webservice.
To create the stub classes I used wsdl2java.
Many classes have been created, I execute the webservice correctly passing the input.
The problem is that I don't know how to get the webservice result.
I have the following classes for my operation:
MyOperationResponse (correctly valorized by the webservice)
MyOperationResult_type0 (obtained by MyOperationResponse.getMyOperationResult, the abstract class is org.apache.axis2.databinding.ADBBean)
Now in MyOperationResult_type0 I don't see any method to get output values!
I see a getOMElement method in which I have to pass some parameters QName and OMFactory... Is it the way to go?
If it is, why it is so complicate?
Is it not possible to work directly with the dom xml of the response? Thank you!