からWSDLファイルを要求しているときにエラーを持つ: Grailsの のXFireプラグイン を、私は次のコードを含むサービスモバイル作成: サービス/ MobileService.groovy私が使用しているGrailsの
package survey
class MobileService {
static expose=['xfire'];
static transactional = true;
Choice getChoices(String questionTitle_){
return Questions.findByQuestionTitle(questionTitle_);
}
}
UrlMappingsを
class UrlMappings {
static mappings = {
"/$controller/$action?/$id?"{
constraints {
controller(matches:/.*[^(services)].*/)
}
}
"/"(view:"/index")
"500"(view:'/error')
}
}
の.groovy私はここでWSDLファイルのXMLコンテンツを見ることができます:をhttp://127.0.0.1:8080/survey/services/mobile?wsdl しかし、私はそれは私のクライアントを使用して、私は次のエラー抱えて読み込むことができません。
エラー2012-01-25 22:42:12826 [ "HTTP-バイオ-8080" を - exec/2]エラー [/survey].[XFireServlet] - サーブレットのServlet.service() [XFireServlet]がパス[/ survey]のコンテキストで例外をスローしましたメッセージ: キー[org.hibernate.impl。 SessionFactoryImpl @ 4af6178d]スレッドにバインドされた ["http-bio-8080" -exec-2] Line |方法 - >> 886 | java.util.concurrent.ThreadPoolExecutor $ WorkerのrunTask - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | 908 | ''^680で走る|走る。 java.lang.Threadで
クライアントを変更した後、SOAPサーバーとクライアントが正常に動作していることが判明しました。 そのエラーはサーバーに影響していませんでした。