THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block |
---|
Object response = template.requestBody("<hello/>");
// you can cast the response directly
String ret = template.requestBody("<hello/>", String.class);
// or specify the endpoint directly
String ret = template.requestBody("cxf:bean:HelloWorldService", "<hello/>", String.class);
|