• Post Reply Bookmark Topic Watch Topic
  • New Topic

supported data types

 
Hakan Akkaya
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,

does anybody if java Objects are supported by SOAP? I know that the primitive types like String ,int and so on are supported but i would like to have an Object (like a new initialized Class) as Parameter or return value.
Thank you very much
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Using Object as the reference won't get you anything - for complex types, you can use a BeanSerializer so you don't have to write a custom serializer.
Both the client and the server need to know the object class.
Bill
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!