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
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to