import com.fujitsu.uji.DispatchContext;
import com.fujitsu.uji.GenericHandler;
import com.fujitsu.uji.xml.XmlDataBean;
import com.fujitsu.uji.soap.service.SOAPHandlerException;
public class MyHandler extends com.fujitsu.uji.GenericHandler {
public Object myMethod(DispatchContext context, XmlDataBean dataBean) throws SOAPHandlerException {
try{
・・・
}catch(Exception e){
// 必要な情報を設定し、例外を発生させます。
String faultcode = "xxx";
String faultstring = "yyy";
throw new SOAPHandlerException(faultstring, faultcode);
}
}
}
|