• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

@WebServiceRef

 
Souvik Dasgupta
Ranch Hand
Posts: 95
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is @WebServiceRef not allowed in standalone JavaSE WebService Clients?

Whenever I am trying to inject it in my client, I am getting the below compile-time error:
"annotation type not applicable to this kind of declaration"
 
Souvik Dasgupta
Ranch Hand
Posts: 95
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I believe it says it all here.But someone please validate.
 
Frits Walraven
Creator of Enthuware JWS+ V6
Saloon Keeper
Pie
Posts: 2453
97
Android Chrome Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Correct: @WebServiceRef is not allowed in standalone JavaSE.
 
Himai Minh
Ranch Hand
Posts: 1329
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Read Ivan's notes chapter 4. There is a StringProcessor example there. You can deploy your client @WebServiceRef using GlassFish.
 
Frits Walraven
Creator of Enthuware JWS+ V6
Saloon Keeper
Pie
Posts: 2453
97
Android Chrome Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Himai Minh wrote:Read Ivan's notes chapter 4. There is a StringProcessor example there. You can deploy your client @WebServiceRef using GlassFish.

Do you mean you got it working in a standalone client?
 
Himai Minh
Ranch Hand
Posts: 1329
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No, we cannot get @WebServiceRef client to work as a standalone client. It works when it is deployed in GlassFish.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic