wood burning stoves*
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 722
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: 722


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

Joined: Jan 18, 2011
Posts: 499
    
    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
 
Similar Threads
Basic of a web service client
Soap Handlers in JAX-WS 2.0
WSDL and QName Question
java.lang.IllegalArgumentException: class has neither @WebSerivce nor @WebServiceProvider annotation
JAXWS External Bindings File Issue