wsaFault.setDetail(detail);
return wsaFault.toXML();
}
MessageHandler handler = capability.getMessageHandler(action);
Method method = handler.getMethod();
Object[] parameters = null;
try
{
//
// translate from XML -> POJO. the reflection call will take
// care of casting the generic Object references to the actual
// method parameter types
//
parameters = handler.fromXML(soapBody);
//
// invoke operation and translate result to XML
//
Object result = method.invoke(capability, parameters);
return handler.toXML(result);
}
catch (Throwable error)
{
//