[jira] [Closed] (XMLRPC-195) StringSerializer does not create tag
[ https://issues.apache.org/jira/browse/XMLRPC-195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jochen Wiedmann closed XMLRPC-195. -- Resolution: Not A Problem Assignee: Jochen Wiedmann Works as specified, hence "not a problem". > StringSerializer does not create tag > - > > Key: XMLRPC-195 > URL: https://issues.apache.org/jira/browse/XMLRPC-195 > Project: XML-RPC > Issue Type: Bug > Components: Source >Affects Versions: 3.1.3 > Environment: Windows 7 >Reporter: Gokulakrishnan >Assignee: Jochen Wiedmann >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("u...@sample.com"), new String("password")}; > 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: > > login > > > > 2 > > > > > 0 > > > > > u...@sample.com > > > > > password > > > > > As you notice the user name - u...@sample.com and password - password are > serialized without '' tag. Is this intentional. I referred the code > StringSerializer and noticed that '' tag is not passed to write > method. By XML-RPC specification http://xmlrpc.scripting.com/spec it should > have been: > : > > > u...@sample.com > > > : > 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: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: dev-unsubscr...@ws.apache.org For additional commands, e-mail: dev-h...@ws.apache.org
Re: My Jira privileges
Can you try now? You seem to have two accounts in JIRA and I think the wrong one was setup with permissions. Dan On Nov 20, 2012, at 6:32 AM, Jochen Wiedmann wrote: > > Hi, > > I don't seem to have the necessary privileges for closing > > https://issues.apache.org/jira/browse/XMLRPC-195 > > Could someone please be so nice and give them to me? > > Thanks, > > Jochen > > > -- > The best argument for celibacy is that the clergy will sooner or later become > extinct. > -- Daniel Kulp dk...@apache.org - http://dankulp.com/blog Talend Community Coder - http://coders.talend.com
[jira] [Commented] (XMLRPC-195) StringSerializer does not create tag
[ https://issues.apache.org/jira/browse/XMLRPC-195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13501116#comment-13501116 ] Jochen Wiedmann commented on XMLRPC-195: Quoting from the XML-RPC specification that you have referenced yourself below: If no type is indicated, the type is string. In other words: What Apache XML-RPC does, is a perfectly valid behaviour and the error (if any) is on the side of the software which doesn't deal with that properly. A Google search for "Apache XML RPC string tag" quickly reveals possibly workarounds, as detailed in the Apache XML RPC FAQ: http://www.google.de/url?sa=t&rct=j&q=&esrc=s&source=web&cd=3&cad=rja&ved=0CC8QFjAC&url=http%3A%2F%2Fapache-xml.6118.n7.nabble.com%2FAdding-lt-string-gt-tag-in-XML-RPC-3-1-td29255.html&ei=hmmrUIWSB4nHswaqr4HoCg&usg=AFQjCNFaJwfP155CYYU4xzFrtweumv_V1Q Closing this as "not a bug". > StringSerializer does not create tag > - > > Key: XMLRPC-195 > URL: https://issues.apache.org/jira/browse/XMLRPC-195 > Project: XML-RPC > Issue Type: Bug > Components: Source >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("u...@sample.com"), new String("password")}; > 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: > > login > > > > 2 > > > > > 0 > > > > > u...@sample.com > > > > > password > > > > > As you notice the user name - u...@sample.com and password - password are > serialized without '' tag. Is this intentional. I referred the code > StringSerializer and noticed that '' tag is not passed to write > method. By XML-RPC specification http://xmlrpc.scripting.com/spec it should > have been: > : > > > u...@sample.com > > > : > 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: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: dev-unsubscr...@ws.apache.org For additional commands, e-mail: dev-h...@ws.apache.org
[jira] [Updated] (XMLRPC-195) StringSerializer does not create tag
[ https://issues.apache.org/jira/browse/XMLRPC-195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gokulakrishnan updated XMLRPC-195: -- Component/s: (was: Releases) Source > StringSerializer does not create tag > - > > Key: XMLRPC-195 > URL: https://issues.apache.org/jira/browse/XMLRPC-195 > Project: XML-RPC > Issue Type: Bug > Components: Source >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("u...@sample.com"), new String("password")}; > 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: > > login > > > > 2 > > > > > 0 > > > > > u...@sample.com > > > > > password > > > > > As you notice the user name - u...@sample.com and password - password are > serialized without '' tag. Is this intentional. I referred the code > StringSerializer and noticed that '' tag is not passed to write > method. By XML-RPC specification http://xmlrpc.scripting.com/spec it should > have been: > : > > > u...@sample.com > > > : > 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: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: dev-unsubscr...@ws.apache.org For additional commands, e-mail: dev-h...@ws.apache.org