を使用した Web サービスを介したサーバーとクライアントの通信に問題がありますApache CXF framework。サーバーエラーを端末ではなく外部ファイルに記録したい。サーバーのコードの一部。
server= new JaxwsNotificationBroker("Hello",..);
server.setAddress("http://localhost:" + brokerPort + "/wsn/NotificationBroker");
そして、ロギングのためにこれを試しました。
server.getInInterceptors().add(new LoggingInInterceptor());
server.getOutInterceptors().add(new LoggingOutInterceptor());
しかし、エラーが発生しますThe method getInInterceptors() is undefined for the type JaxwsNotificationBroker。
のエラーをログに記録する方法はありますJaxwsNotificationBrokerか?
ありがとうございました