aspose file tools*
The moose likes Web Services and the fly likes external binding not working with chapter 1 example Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "external binding not working with chapter 1 example" Watch "external binding not working with chapter 1 example" New topic
Author

external binding not working with chapter 1 example

Himai Minh
Ranch Hand

Joined: Jul 29, 2012
Posts: 758
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

Joined: Jul 29, 2012
Posts: 758


I don't know why once I remove jaxws , it works.
g tsuji
Ranch Hand

Joined: Jan 18, 2011
Posts: 516
    
    3
They are not equivalent. The equivalent first version to the second version is this if you wonder why.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: external binding not working with chapter 1 example