1

I had a WSDL file locally for a service. I used it to generate the my java proxy client using eclipse.

Now when I invoke this service, it fails. The error i get is that java client is looking for the same WSDL (from which I generated proxy client) file published on the web server. (looks for https://myservice.com/xyz?wsdl type URL for WSDL)

so, what I want to clarify is that does it require to publish WSDL file on web server to use the service? How can I get my client working with the service?

Vineet Reynolds
  • 76,006
  • 17
  • 150
  • 174
vicky
  • 41
  • 1
  • 4
  • Is this a JAX-RPC client or a JAX-WS one? JAX-WS clients will look for the WSDL by default. There are mechanisms to configure this from occurring though. – Vineet Reynolds Jun 16 '11 at 06:19
  • it is a JAX-WS client. what do you mean by JAX-WS client will look for wsdl by default. also what will be the default location of wsdl for JAX-WS client – vicky Jun 16 '11 at 06:22
  • I'll point you to these questions: http://stackoverflow.com/questions/764772/jax-ws-loading-wsdl-from-jar http://stackoverflow.com/questions/4163586/jax-ws-client-whats-the-correct-path-to-access-the-local-wsdl . Unfortunately I will have to mark this question as a duplicate. **Edit:** The second question has a more comprehensive answer. – Vineet Reynolds Jun 16 '11 at 06:25

0 Answers0