it is a list in the v1 of the spec http://json-rpc.org/wiki/specification
"params - An Array of objects to pass as arguments to the method."
the name of the parameters is irrelevant, only the order is.
musachy
On Thu, Dec 3, 2009 at 4:31 PM, Musachy Barroso wrote:
> I take it back, sorry. The
I take it back, sorry. The problem is that JSON RPC expects "params"
to be a list, and it is coming as a map, I haven't kept up with the
"spec", is it a map these days?
musachy
On Thu, Dec 3, 2009 at 4:28 PM, Musachy Barroso wrote:
> It seems like one of the fields of TransportAssignmentVO is a
It seems like one of the fields of TransportAssignmentVO is a list,
and what is coming from the JSON objects looks more like a map, can
you set a break point on ClassCastException exceptions and tell us
what the field is? or post the setter/getters of
TransportAssignmentVO.
musahcy
On Thu, Dec 3
I have developed a native client interface which calls struts2 JSON RPC using
post method. I have set content type, content length as suggested in the
spec. The request body looks like as follows :
{"method": "uploadTxpAssignment","id": "txpUploadRequest",
"params":{"addressByDestAddrId":{"addrLin
4 matches
Mail list logo