[jboss-user] [JBossWS] - Derived class and generated WSDL
okr2004
do-not-reply at jboss.com
Sun Jul 6 14:33:20 EDT 2008
Hi everyone,
i'm building a webservice with an ejb3 stateless session bean, something like this:
| @Stateless
| @WebService
| @SOAPBinding(style = SOAPBinding.Style.RPC)
| public class Calculator implements CalculatorRemote
| {
| @WebMethod
| public int test3(int value, DataItem dataItem)
| {
| // TODO Auto-generated method stub
| return value+dataItem.getValue();
| }
| }
|
DataItem is the base class for the class SpecialDataItem.
My problem is, that the generated WSDL (with JBoss 4.2.2) doesn't contain the type definition for the derived class SpecialDataItem, only the definition for DataItem.
How can i get this? Any ideas?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4162673#4162673
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4162673
More information about the jboss-user
mailing list