Skip to main content

Accessing WSDL

1 reply [Last post]
Joined: 2006-04-24

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

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2003-06-09

(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.