How to Create a Eclipse web service client using a wsdl document not URI?

Viewed 7601

I am trying to create a Eclipse Web Service Client using an existing WSDL document located on my machine. I need to browse for the wsdl document from my machine

I am using Eclipse Luna version 4.1 with jdk 7 on Windows 7 OS

When I click the Browse button, I obtain this image

Can any one tell me how can I select the wsdl file?

[Solution] When I put my wsdl document into my project root and refreshed the project inside Eclipse, the project appeared when I clicked on browse then I can select the wsdl document

now I can browse the wsdl document

3 Answers

Notice that you can also supply an URI pointing to a file located in your local machine without importing the file into an Eclipse project.

The Browse button doesn't allow you to navigate your local file system but you can type the URI directly in the input box.

I have a WSDL file located in

D:/stackoverflow/sayhello.wsdl 

Introducing the URI

file:///D:\stackoverflow\sayhello.wsdl

Clicking the OK button, the wizard allow me to create the web service client.

Supplying a local URI

Related