I am building Java
application for Online Web Services
and let's call it application A
. I got theWSDL
file form the second party so I can communicate with their application and let's call it application B
.
From the WSDL
file I generate the Java
classes needed which are Requests
and Responses
classes. Application A
will send some request
object after setting the needed parameters and excepting response
object from application B
.
The connection is established and both applications A and B
are communicating with each other.
Question:
From application A
how can I get the xml
data(file or text) for the request
object before sending it to application B
?
As described the connection is done by passing Java
object as request
and I know that in some point this request
will be converted to xml
file. How to get it?
--- EDIT ----
Important Information is missing that may cause confusion.
I am generated the Java
Classed have been generated using Axis
framework