Log Message: |
Enhanced the Greeter Demo to include an API that takes a data object.
The new GreeterService API is as follows:
public interface GreeterService {
Map<GreetingPhrase, String> greetMe(String name);
GreetingPhrase [] greetMe(GreeterData name) throws GreeterException;
}
where the GreeterData interface is defined as follows:
public interface GreeterData {
String getName();
int getAge();
boolean isException();
}
This in response to some questions on the CXF users list around passing data objects.
|