  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Tomcat - JSP/Servlet container | | Struts - A MVC web framework | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | JSP - A mailing list about Java Server Pages specification and reference | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | |
Struts & Hibernate
|
|
|
  | | | - Type Substitution doesn 't work with Schema2Java Client | - Type Substitution doesn 't work with Schema2Java Client 2007-08-10 - By M_schumpa
Back Dear Community,
I have written a simple Web Service which uses Type Substitution (uses the @(protected) annotation)
Everything works fine if I use the classes, that are used by by the service, in the Client.
But when I try to use the from WSDL generated classes in the Client, only the Super Classes are passed to the Web Service. So no Type Substitution at all.
I have used the wsconsume -t 2.1 switch, so the @(protected) annotations are present in the generated classes.
I tried the same with GlassFish and there this proplem doesn't exist.
I compared the generated classes and I found no differences with the annotations. Only some version comments were slightly different (JAX-WS RI 2.1 .2 <-> JAX-WS RI 2.1.1)
I'm using the JBoss 4.2.1GA release where I updated the JBossWS modul to version 2.0.0GA.
Anybody here who has a clue on how to fix this problem?
Thanks in advance.
Greetings m_schumpa
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic &p=4073063#4073063
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode =reply&p=4073063 __ ____ ____ ____ ____ ____ ____ ____ ____ ____ jboss-user mailing list jboss-user@(protected) https://lists.jboss.org/mailman/listinfo/jboss-user
|
|
 |