File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 592
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: 592


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

Joined: Jan 18, 2011
Posts: 464
    
    2
They are not equivalent. The equivalent first version to the second version is this if you wonder why.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: external binding not working with chapter 1 example
 
Similar Threads
Basic of a web service client
java.lang.IllegalArgumentException: class has neither @WebSerivce nor @WebServiceProvider annotation
WSDL and QName Question
Soap Handlers in JAX-WS 2.0
JAXWS External Bindings File Issue