[jboss-user] [JBossWS] - Help with WSDL and extensions
do-not-reply at jboss.com
Thu Sep 27 09:47:04 EDT 2007
Hello there! I'm trying to figure out how one can achieve an way to use inheritance with WSDL. On a previous post url][http://www.jboss.org/index.html?module=bb&op=viewtopic&t=119507[/url]
(Still not answered :( ) I've explained that I need to find a way to use the same contract and have different implementations of the messages to be accept. I'm pretty aware that webservices are not RPC (and I really miss CORBA when I get stuck in things like this).
But I really would like to find a way to have an extensible WSDL operation:
Command : interface
DHCPCommand, AsteriskCommand, CMTSCommand are all implementations
Any time, a new command may arrive, as long as it implements the command, the
endpoint should be able to accept it. So far it has been very disappointing.
When the user sends any command, it converts into a Command, missing all extra properties on the subclasses :(
So I had the idea to receive an Element, so anything sent should be accept. Did not work since Element is an interface and JAXB can't bind it :(
Now I'd like to use the anyElement type, but as it gets converted to Object, I'm gonna miss everything.
Summing up : In JBoss WS can I create an endpoint that does not marshall the received xml? Is it possible to have an endpoint that simply forward the xml requests to the SEI?
Any help, would be most appreciated
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4089327#4089327
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4089327
More information about the jboss-user