Description of problem: Run the remote-invoker quick start and the application is approved, but null is returned to system out instead of John Smith : [stdout] (http-localhost/127.0.0.1:8080-2) Approving credit for null Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Build and deploy remote-invoker quickstart, then run - mvn exec:java 2. Look at the corresponding entry in the server.log file 3. Actual results: Approving credit for null Expected results: Approving credit for John Smith Additional info:
This is a mistake in the quickstart as it relies on JSON serialization recognizing non-void return methods as setters, but that is not present in 0.8.x : https://issues.jboss.org/browse/SWITCHYARD-1343 It is, however, present in 1.0. I have tested this qs in a 1.0 build and the console output is correct. If you want to work around the issue in a 0.8 build (SOA-P 6 Alpha), then change the setName() method in Application to look like this: public void setName(String name) { this.name = name; }
verified in DR6
Keith Babo <kbabo> updated the status of jira SWITCHYARD-1343 to Closed