[JBoss Web Services Users] - Re: Problem of polymorphism of JBoss WebService
by richard.opalka@jboss.com
"xiangyingbing" wrote : Dear JBoss developers,
| please give me an simple example about polymorphism webservice.
| Thanks!!! I DO need it.
Download native source distro.
I found these tests there:
| [/home/opalka][/home/opalka/svn/jbossws/framework/trunk/testsuite]>grep -r XmlSeeAlso * | grep -v "\.svn"
| test/java/org/jboss/test/ws/jaxws/smoke/tools/WSConsumerPlugin.java:import javax.xml.bind.annotation.XmlSeeAlso;
| test/java/org/jboss/test/ws/jaxws/smoke/tools/WSConsumerPlugin.java: assertTrue("@XmlSeeAlso expected on SEI (types not referenced by the Port in the wsdl)", sei.isAnnotationPresent(XmlSeeAlso.class));
| test/java/org/jboss/test/ws/jaxws/jbws2701/Endpoint.java:import javax.xml.bind.annotation.XmlSeeAlso;
| test/java/org/jboss/test/ws/jaxws/jbws2701/Endpoint.java:@XmlSeeAlso(value={ClassA.class})
| test/java/org/jboss/test/ws/jaxws/jbws2701/JBWS2701TestCase.java: * [JBWS-2701] @XmlSeeAlso and generated wsdl
| test/java/org/jboss/test/ws/jaxws/jbws1702/types/ClassA.java:import javax.xml.bind.annotation.XmlSeeAlso;
| test/java/org/jboss/test/ws/jaxws/jbws1702/types/ClassA.java:@XmlSeeAlso({ClassB.class, ClassC.class})
| test/java/org/jboss/test/ws/jaxws/jbws1702/types/ClassC.java:import javax.xml.bind.annotation.XmlSeeAlso;
| test/java/org/jboss/test/ws/jaxws/jbws1702/types/ClassB.java:import javax.xml.bind.annotation.XmlSeeAlso;
| test/java/org/jboss/test/ws/jaxws/jbws1702/types/ClassB.java:@XmlSeeAlso({ClassC.class})
| test/java/org/jboss/test/ws/jaxws/benchmark/test/complex/types/Registration.java:import javax.xml.bind.annotation.XmlSeeAlso;
| test/java/org/jboss/test/ws/jaxws/benchmark/test/complex/types/Registration.java:@XmlSeeAlso({
| test/java/org/jboss/test/ws/jaxws/benchmark/test/complex/types/RegistrationFault.java:import javax.xml.bind.annotation.XmlSeeAlso;
| test/java/org/jboss/test/ws/jaxws/benchmark/test/complex/types/RegistrationFault.java:@XmlSeeAlso({
| test/java/org/jboss/test/ws/jaxws/benchmark/test/complex/types/Customer.java:import javax.xml.bind.annotation.XmlSeeAlso;
| test/java/org/jboss/test/ws/jaxws/benchmark/test/complex/types/Customer.java:@XmlSeeAlso({
|
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4265852#4265852
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4265852