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
Register / Login
JavaRanch » Java Forums » Java » Web Services
Reply 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: 287
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: 287


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

Joined: Jan 18, 2011
Posts: 357
    
    1
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
Soap Handlers in JAX-WS 2.0
WSDL and QName Question
JAXWS External Bindings File Issue