Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Can I pass subl class / interface object to web services ??  RSS feed

 
Mauham Norman
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Let's assume that I have a web service that has an operation

void fun(MyInterface if)

can I call it like

fun(mo) where mo is of type MyObject that implements MyInterface.

Does Axis 2 and web services in general support this i-e passing object of sub class or implementing class for interface.

Thanks,
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!