ws-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gokulakrishnan (JIRA)" <>
Subject [jira] [Created] (XMLRPC-195) StringSerializer does not create <string> tag
Date Tue, 20 Nov 2012 05:06:57 GMT
Gokulakrishnan created XMLRPC-195:

             Summary: StringSerializer does not create <string> tag
                 Key: XMLRPC-195
             Project: XML-RPC
          Issue Type: Bug
          Components: Releases
    Affects Versions: 3.1.3
         Environment: Windows 7
            Reporter: Gokulakrishnan
            Priority: Critical

Consider a method call (API) named 'login' that takes in 4 parameters major version (integer),
minor version (integer), user name (string) and password (string). Below code snippet explains
how I invoke this remote API.

XmlRpcClient client = new XmlRpcClient();
Object[] loginParams = {new Integer(2), new Integer(0), new String(""), new
client.execute("login", loginParams);

The four parameters are wrapped as Object array to method call named 'login'. Below is the
XML generated and passed to server hosting login API:


As you notice the user name - and password - password are serialized without
'<string>' tag. Is this intentional. I referred the code StringSerializer and noticed
that '<string>' tag is not passed to write method. By XML-RPC specification
it should have been:

Any specific reason for this change in behavior ?

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message