Support » Plugin: Secure XML-RPC » Error

  • Resolved tobisan


    I try to use the plugin with a remote Java library and get an error: Code: -32700 redstone.xmlrpc.XmlRpcFault: parse error. not well formed. I modifiyed the send methode like this:

    StringBuffer buffer = ((StringWriter) writer).getBuffer();

    String data = buffer.toString();
    String privateHash = StringUtils.sha256(privateKey + StringUtils.sha256(privateKey + data));

    String dataSHA = publicKey + “||” + privateHash;
    byte[] dataArray = dataSHA.getBytes(XmlRpcMessages.getString(“XmlRpcClient.Encoding”));

    connection.setRequestProperty(“Content-Length”, String.valueOf(dataArray.length));

    OutputStream output = new BufferedOutputStream(connection.getOutputStream());

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Error’ is closed to new replies.