Hi,

Just wanted to know if complextype submit is possible using GET at all, or
should we go for POST? . I haven't had success with either, but going by
REST theory, if i want to "retrieve" data, i must use GET and say i have a
search service which takes in multiple search criteria, what would be best
way to provide the criteria values to it ? . I assume a Criteria complextype
(with certain elements nillable) would make sense, rather than having to
send each of the elements individually as querystring params - thoughts?

-Joseph

> Does anyone know how to submit a complex type on the URL to the REST 
> endpoint? For instance how to submit a User object that has 3 string types
> and 3 
> long types on the URL for the REST GET submit?
>

In theory, you should use a POST for this. Doing this with GET is not 
"RESTful".
So why not use a POST?


-- 
View this message in context: 
http://www.nabble.com/REST-Complex-type-tp16886707p20534446.html
Sent from the Axis - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to