Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
SOAPMessage as String
Joined: Feb 04, 2011
Feb 04, 2011 09:53:58
message = messageFactory.createMessage();(line1)
............................some more code.....
//Save the message
return String;}(line 4)
It prints the soap message to the console from line 3. I want the whole soap message as String as my function should return a String on line 4 which should be the whole soap message.
Joined: Oct 04, 2006
Feb 05, 2011 18:13:32
Have you tried to write to, for instance, a
instead of to System.out?
That way you will be able to retrieve the textual representation of the SOAP message.
My free books and tutorials:
It is sorta covered in the
JavaRanch Style Guide
subject: SOAPMessage as String
SOAPMessage through ObjectInputStream
creating soap requests in java
Extract SOAP object from HttpServletRequest
Display SOAP request line by line
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013