diff options
Diffstat (limited to 'sca-java-2.x/trunk/modules/binding-jsonrpc-runtime/src')
-rw-r--r-- | sca-java-2.x/trunk/modules/binding-jsonrpc-runtime/src/main/java/org/apache/tuscany/sca/binding/jsonrpc/protocol/JsonRpcResponse.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sca-java-2.x/trunk/modules/binding-jsonrpc-runtime/src/main/java/org/apache/tuscany/sca/binding/jsonrpc/protocol/JsonRpcResponse.java b/sca-java-2.x/trunk/modules/binding-jsonrpc-runtime/src/main/java/org/apache/tuscany/sca/binding/jsonrpc/protocol/JsonRpcResponse.java index 7d50cd772f..8186d89030 100644 --- a/sca-java-2.x/trunk/modules/binding-jsonrpc-runtime/src/main/java/org/apache/tuscany/sca/binding/jsonrpc/protocol/JsonRpcResponse.java +++ b/sca-java-2.x/trunk/modules/binding-jsonrpc-runtime/src/main/java/org/apache/tuscany/sca/binding/jsonrpc/protocol/JsonRpcResponse.java @@ -54,7 +54,7 @@ public abstract class JsonRpcResponse { super(); ObjectNode response = JsonNodeFactory.instance.objectNode(); response.put("id", id); - response.put("result", JsonNodeFactory.instance.nullNode()); + // response.put("result", JsonNodeFactory.instance.nullNode()); response.put("error", mapError(t)); this.jsonNode = response; } @@ -64,7 +64,7 @@ public abstract class JsonRpcResponse { ObjectNode response = JsonNodeFactory.instance.objectNode(); response.put("id", id); response.put("result", result); - response.put("error", JsonNodeFactory.instance.nullNode()); + // response.put("error", JsonNodeFactory.instance.nullNode()); this.jsonNode = response; } |