Ah...  From the WSDL spec:  if the style attribute is omitted, it is
assumed to be "document".  I'll fix it today.

Thanks.

Russell Butek
[EMAIL PROTECTED]


Joe Cortopassi <[EMAIL PROTECTED]> on 02/07/2002 08:46:22 AM

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:
Subject:  NullPointerException from WSDL2Java with no style in
      soap:binding



I hope this is the right list to report bugs to...

I took an Axis generated wsdl file (see attachment) from the stock sample
and removed the style attribute from the soap:binding element (all the
soap:operation elements include a style). This gets a NPE from WSDL2Java
with the stack trace:

java.lang.NullPointerException
         at
org.apache.axis.wsdl.toJava.SymbolTable.populateBindings(Unknown Source)
         at org.apache.axis.wsdl.toJava.SymbolTable.populate(Unknown
Source)
         at org.apache.axis.wsdl.toJava.SymbolTable.add(Unknown Source)
         at org.apache.axis.wsdl.toJava.Emitter.emit(Unknown Source)
         at org.apache.axis.wsdl.toJava.Emitter.emit(Unknown Source)
         at org.apache.axis.wsdl.WSDL2Java.emit(Unknown Source)
         at org.apache.axis.wsdl.WSDL2Java.main(Unknown Source)



Reply via email to