[wsdl2java] if schema includes an element with type=xsd:anyType, unecessary 
classes are generated for all method wrappers
-------------------------------------------------------------------------------------------------------------------------

         Key: AXIS-2412
         URL: http://issues.apache.org/jira/browse/AXIS-2412
     Project: Apache Axis
        Type: Bug
  Components: WSDL processing  
    Versions: 1.3    
 Environment: Linux (Mandrake 10) or Win 2000, java 1.4.1_01-b1
    Reporter: Karen Lease


I have a document/literal style wsdl with wrapped operations which references 
some data types defined in the schema.
After modifying one of my types to contain an xsd:any element, wsdl2java 
generated classes for all of my anonymous operation
and response wrapper elements. This doesn't happen if I use xsd:string for the 
element. I think these types should not be
generated.
The code which would stop this is actually in 
org.apache.axis.wsdl.symbolTable.java in the method getDerivedTypes() but 
is commented out with this comment:
// Currently we are unable to mark anonymous types correctly.
// So, this filtering has to wait until a fix is made.
If I uncomment this it fixes my problem.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to