[jboss-user] [JBossWS] - Re: Problem with inheritance and JBossWS
mrokka123
do-not-reply at jboss.com
Tue Sep 25 23:53:19 EDT 2007
After Using @XmlSeeAlso only difference I found on generated WSDL was There was complextype name b and c which I don?t get without using @XmlSeeAlso. I have used wsconsume to create the web service artifacts of the generated wsdl and my client code looks like this:
MyWebService obj=new MyWebService();
MyWebServicePortType obj1=obj.getMyWebServicePort();
B b=new B();
b.setName("SoulFly");
A aobj=b;
System.out.println("ClassName:"+obj1.getClassName(aobj)); //return com.d2.client.A
One thing is that on generated bean of class A there is no @XmlSeeAlso annotation, Does it makes any different?.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4088670#4088670
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4088670
More information about the jboss-user
mailing list