-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Walker, Jeff wrote: > You don't pass complex types in REST web services. Period.
Completely disagree. > It's all about those Query parameters, the name-value pairs following > the '?' and separated by the '&'. Remember one realization of REST is to use HTTP and HTTP has methods other than GET. As Anne also has mentioned you are only talking about GET method here. If you use POST method to pass parameters to your resource, then you can send complex xmls. BTW, WSDL 2.0 HTTP Binding which is what we used to implement RESTish (if you do not agree POX style) inside Axis2. The HTTP binding spec says, if you want to send something using HTTP get then your xml schema should adhere to IRI style. IRI style simply says you can not send complex xmls. > REST services is all about manipulating resources, not passing complex > types. Well, half true and half false. REST is about manipulating resources but it has no restriction on the XML that is being passed. Those restrictions comes from the realizations like HTTP. > If you want to send complex types, then you need the so-called 'big' web > services technologies like SOAP/WSDL. Well, I am wondering why SOAP/WSDL is regarded as big here :) just joking. Thanks, Chinthaka -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGjF3kjON2uBzUhh8RAikMAJ4p5Ojo07FD6OyqFGlL8+xtAyukAwCePH7n Q65T2Ezp1FjjPILOE9vJF+s= =HOMI -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
