You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by bu...@apache.org on 2002/10/09 17:05:36 UTC

DO NOT REPLY [Bug 13459] New: - section does not include all types in TypeMapping

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: axis-dev@xml.apache.org
        ReportedBy: rcauble@motive.com


<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...