wsdlOperation.setOutputMessage(wsdlOutputMessage);
}
Map faults = wsdl4jOperation.getFaults();
Iterator faultKeyIterator = faults.keySet().iterator();
WSDLFaultReference faultReference;
while (faultKeyIterator.hasNext()) {
Fault fault = (Fault) faults.get(faultKeyIterator.next());
faultReference = wsdlComponentFactory.createFaultReference();
faultReference.setDirection(
WSDLConstants.WSDL_MESSAGE_DIRECTION_OUT);
Message faultMessage = fault.getMessage();
if (null != faultMessage) {
faultReference.setRef(
this.generateReferenceQname(
faultMessage.getQName(),
faultMessage,findWrapppable(faultMessage)));
}
wsdlOperation.addOutFault(faultReference);