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

Wrong code generated when using optional "name" attribute of input tag





------- Additional Comments From [EMAIL PROTECTED]  2002-07-01 12:51 -------
The WSDL is bad.  The name in the binding input/output clauses MUST match a
corresponding name of a portType input/output clause.  In other words, your
portType should look like:

  <portType name="GetQuote">
    <operation name="getQuote" >
      <input  name="justName" message="tns:GetQuoteRequest"/>
      <output message="tns:GetQuoteResponse"/>
    </operation>
  </portType>

It's unfortunate that WSDL2Java generated code for you.  It should simply flag
this as an error.  If you agree, I'll change the summary to "If input/output 
names don't match, WSDL2Java should fail".

Reply via email to