Uploaded image for project: 'XML-RPC'
  1. XML-RPC
  2. XMLRPC-92

The mismatch between request type and response type

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 3.0b1
    • None
    • None
    • None
    • any

    Description

      The request is like this:
      Vector params = new Vector();
      Vector req = new Vector();
      req.add(new Hashtable);
      params.add(req);
      so, in the client side, the "req" contains a Hashtable, but after invoking the "execute" method, the server will get another request, namely the "req" contains a "HashMap" NOT a "Hashtable".
      on the other hand, about the response, if the response contains a Hashtable, that is:
      Vector response = new Vector();
      response .add(new Hashtable);
      then, the client will get a response, that contains a "HashMap" NOT a "Hashtable".
      BUT, I find that the package 2.1 doesn't have this problem.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jingzhou Zhou Jing
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Slack

                  Issue deployment