DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13459>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13459

<wsdl:types> section does not include all types in TypeMapping

           Summary: <wsdl:types> section does not include all types in
                    TypeMapping
           Product: Axis
           Version: current (nightly)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: WSDL processing
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


<wsdl:types> section only includes those types which are reachable by 
traversing the service class's argument types. In does not take into account 
subtypes of the argument types. For example, if I have a service class:

public class MyService
{
   public MyBean echo(MyBean arg) { return arg; }
}

public class MyBean {...}

public class MyBeanSubclass extends MyBean {...}

And I have mappings defined in the WSDD:

<beanMapping qname="myNS:MyBean" 
               xmlns:myNS="http://mypackage";
               languageSpecificType="java:mypackage.MyBean"/>

<beanMapping qname="myNS:MyBeanSubclass" 
               xmlns:myNS="http://mypackage";
               languageSpecificType="java:mypackage.MyBeanSubclass"/>

The generated WSDL include an entry for MyBean but not MyBeanSubclass. Note 
that the serialization works fine.

I have a patch which I will be submitting shortly...

Reply via email to