General question, at runtime when we get service as defined in WSDL JAX-WS reads WSDL from specified URL. Which one is better out of these 2:
1. Access WSDL using http:// from web service
2. Access WSDL using file:// locally
(1) prevents any coherency problem --- if the server updates WSDL, clients can still have a good chance of talking to the server with (1).
(2) is faster, as you won't hit the server just to prepare the web service invocation.
So the answer is it depends.
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.