That's ok with me. It would be nice if WSDL2Java could also report some meaningful errormessage before it fails :-)
Thanks for the info Werner > -----Ursprüngliche Nachricht----- > Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Gesendet: Montag, 1. Juli 2002 14:51 > An: [EMAIL PROTECTED] > Betreff: DO NOT REPLY [Bug 10365] - Wrong code generated when using > optional "name" attribute of input tag > > > 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". >