projects
/
org.ibex.core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
UNDO: fixed bug 471
[org.ibex.core.git]
/
src
/
org
/
ibex
/
XMLRPC.java
diff --git
a/src/org/ibex/XMLRPC.java
b/src/org/ibex/XMLRPC.java
index
195e3cf
..
607d34e
100644
(file)
--- a/
src/org/ibex/XMLRPC.java
+++ b/
src/org/ibex/XMLRPC.java
@@
-171,9
+171,9
@@
class XMLRPC extends JS {
content.append("\r\n");
content.append("<?xml version=\"1.0\"?>\n");
content.append(" <methodCall>\n");
content.append("\r\n");
content.append("<?xml version=\"1.0\"?>\n");
content.append(" <methodCall>\n");
- content.append(" <method>");
+ content.append(" <methodName>");
content.append(method);
content.append(method);
- content.append("</method>\n");
+ content.append("</methodName>\n");
content.append(" <params>\n");
for(int i=0; i<args.length(); i++) {
content.append(" <param>\n");
content.append(" <params>\n");
for(int i=0; i<args.length(); i++) {
content.append(" <param>\n");
@@
-319,11
+319,11
@@
class XMLRPC extends JS {
final void call(final JS.UnpauseCallback callback, final JSArray args) {
try {
final void call(final JS.UnpauseCallback callback, final JSArray args) {
try {
- if (Log.verbose) Log.info(this, "call to " + url + " : " + method);
+ if (Log.rpc) Log.info(this, "call to " + url + " : " + method);
if (tracker == null) tracker = new Hash();
if (objects == null) objects = new Vec();
String request = buildRequest(args);
if (tracker == null) tracker = new Hash();
if (objects == null) objects = new Vec();
String request = buildRequest(args);
- if (Log.verbose) Log.info(this, "send:\n" + request);
+ if (Log.rpc) Log.info(this, "send:\n" + request);
InputStream is = http.POST("text/xml", request);
BufferedReader br = new BufferedReader(new InputStreamReader(is));
try {
InputStream is = http.POST("text/xml", request);
BufferedReader br = new BufferedReader(new InputStreamReader(is));
try {