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

WSDL for java.util.List uses xsd:anyType rather than soapenc:Array

           Summary: WSDL for java.util.List uses xsd:anyType rather than
                    soapenc:Array
           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]


If the following is a service:

public class MyService
{
   public java.util.List echo(java.util.List list) { return list; }
}

I get the following warning in the server's log when I attempt to access the 
wsdl:

15:21:16,763 WARN  [Types] The class java.util.List is defined in a java or 
javax package and cannot be converted into an xml schema type.  An xml schema 
anyType will be used to define this class in the wsdl file.

As the warning indicates the WSDL uses the type xsd:anyType.

Note that the serialization works fine - it's serialized as a SOAP array.

Reply via email to