I have java client which invokes web services (SOAP in TIBCO). I sent some SUBJECT and DATA from java client and SOAP is running on TIBCO side which returns DATA and STATUS.
The java client is working fine and I am getting the value inside DATA and STATUS. But now I would like to Return XML text of the response instead of a value object.
I used AXIS to create java client etc.
My code looks like this:
public class Main {
public static void main(String [] args) throws Exception {
// Make a service
SOAPServer service = new SOAPServerLocator();
// Now use the service to get a stub which implements the SDI.
PortType port = service.getSOAPServerHttpPort();
REQUEST req = new REQUEST("order","TV");
REPLY reply = port.operation(req);
System.out.println("DATA: "+reply.getDATA()+" STATUS: "+reply.getSTATUS());
}
}//
Could someone help me on this.
Thanks
Yahoo! Mail
Use Photomail to share photos without annoying attachments.