• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

return complex types

 
Georgia Matheou
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, i have a web service that takes two double numbers and returns complex type




Can you suggest any ideas how to return this as a string so the client can read it?

Thanks a lot,
Geo
 
NarendraBabu Bandaru
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use JAXB here. You can convert the complex class object to string object and send it as a string.

But you need to have a XSD file for the complex object. and the same complext object XSD file should be there at the client side also.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic