Yup, it REALLY needs the name attribute.  It uses the name to connect the 2 places 
where the faults are defined.

If you want to rework the code to fix this, that would be cool too.

--
Tom


-----Original Message-----
From: Niket Anand [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 11, 2003 3:23 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]
Subject: WSDL2Java--->java.io.IOException: ERROR: Fault is missing a
name= attribute in operation


Hello all,
I have wsdl file and trying to convert java files using WSDL2java tool, but
it is causing some problem as
java.io.IOException: ERROR: Fault is missing a name= attribute in operation
"destroyNotification", i
n binding {http://www.csapi.org/fw_if_app/wsdl}IpEventNotificationBinding.
        at
org.apache.axis.wsdl.symbolTable.SymbolTable.faultsFromSOAPFault(SymbolTable
.java:1975)
        at
org.apache.axis.wsdl.symbolTable.SymbolTable.populateBindings(SymbolTable.ja
va:1790)
        at
org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:577)
        at
org.apache.axis.wsdl.symbolTable.SymbolTable.add(SymbolTable.java:421)
        at
org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:408)
        at
org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:393)
        at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:245)
        at java.lang.Thread.run(Unknown Source)

DOES IT REALLY NEED a name attrubute for fault element? But most of the
standard wsdl provided by OSA/Parley API doesnot have fault element
attribute.

Please suggest anyone.....I am waiting for that.
Thanks,
Niket

Reply via email to