• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

external binding not working with chapter 1 example

 
Himai Minh
Ranch Hand
Posts: 1229
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I created an external binding file called customTS.xml


I used the first example in Java Web Services Up and Running. I tried to change the interface TimeServer into TimeUtil.

I used this command wsimport -keep -p clientTS http://localhost:9876/ts?wsdl -b customTS.xml
It generates the code, but the TimeServer class does not change its name into TimeUtil.

Please help.
 
Himai Minh
Ranch Hand
Posts: 1229
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


I don't know why once I remove jaxws , it works.
 
g tsuji
Ranch Hand
Posts: 656
3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
They are not equivalent. The equivalent first version to the second version is this if you wonder why.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic