No, But it should not matter. Since web services could be called from languages other than Java, so, on the contrary, I would try to stay away from Java's wrappers on the primitive types. This perhaps could make it easier for other tools generating client code from the wsdl description of your service.
Harish Amit Garg wrote: >Hi all. > >Simple question: Is it recommended to always use Object types (like >Integer) as opposed to primitive types (like int) when building web >services? > >Thanks, >;Amit > > > > >