On page 467 of RMH J2EE Web Services book, it seems one can declare a fault message with a type. I used: <message name="CancelFault"> <part name="error" type="xsd:string"/> </message> However when I do this (for a RPC binding type web service) I get the following error from NetBeans: in message "CancelFault", part "error" must specify a "element" attribute If I change the code to the following the wsdl compiles OK: <message name="CancelFault"> <part name="error" element="tns:UnknownOrderFault"/> </message> Is the book wrong in this case, or Netbeans too strict or have I made a mistake?
SCJP 1.4, SCWCD 1.4
Check your pockets for water buffalo. You might need to use this tiny ad until locate a water buffalo:
Devious Experiments for a Truly Passive Greenhouse!