原田です
JAX-WSより早いかと思って、RESTful Webサービス
試そうとしたんですが、テーブル名も項目もすべて日本語で
作成しているので、データベースからのエンティティクラス作成
でメソッド名に日本語がはいって、
get出荷日()
なんて関数ができてしまいます。(クラス名は適当に変更しましたが)
動けばいいやという感じで、Restful Web Service from Entity class
でサービス作って、Test RESTful WebServiceしたら、
スクリプト プロンプト:
Cannot access WADL: Please restart your RESTful application, and
refresh this page.
ってのが出てきて、うまくいきませんでした。
これってテーブルの項目名が日本語だからなんですよね?
[出力Windowのログ]
...
Deploying application in domain completed successfully
Trying to create reference for application in target server completed
successfully
Trying to start application in target server completed successfully
Error occurred during application loading phase. The application will not
run properly. Please fix your application and redeploy.
WARNING: com.sun.enterprise.deployment.backend.IASDeploymentException:
ContainerBase.addChild: start: LifecycleException:
java.util.regex.PatternSyntaxException: Illegal repetition near index 0
/{%E5%86%85%E9%83%A8id}/
^
run-deploy:
test-restbeans:
Browsing: file:/[省略]/build/generated/rest-test/test-resbeans.html
構築成功 (合計時間: 44 秒)
以上
---------------------------------------------------------------------
To unsubscribe, e-mail:
nbdiscuss_ja-unsubscribe@...
For additional commands, e-mail:
nbdiscuss_ja-help@...