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

Generated WSDL should not have Holders

           Summary: Generated WSDL should not have Holders
           Product: Axis
           Version: current (nightly)
          Platform: Sun
               URL: http://nagoya.apache.org:5049/axis/services/echo?wsdl
        OS/Version: Solaris
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: WSDL processing
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The generated WSDL has the following schema defined:

<schema targetNamespace="http://holders.rpc.xml.javax";
  xmlns="http://www.w3.org/2001/XMLSchema";>
  <import namespace="http://schemas.xmlsoap.org/soap/encoding/"; /> 
  <element name="StringHolder" nillable="true" type="xsd:anyType" /> 
  <element name="IntHolder" nillable="true" type="xsd:anyType" /> 
  <element name="FloatHolder" nillable="true" type="xsd:anyType" /> 
</schema>

These "types" are referenced in echoStructAsSimpleTypesResponse.  Instead of 
defining these holders, the emitted WSDL should simply reference the underlying 
type directly, thus:

  <message name="echoStructAsSimpleTypesResponse">
    <part name="outputString" type="xsd:string" /> 
    <part name="outputInteger" type="xsd:int" /> 
    <part name="outputFloat" type="xsd:float" /> 
  </message>

Reply via email to