Generate Java web service client from WSDL

3.3k views Asked by At

Is it possible to generate java web-service client using a WSDL file(from local file-system)?

I am working with siebel and Java. siebel developer send me a WSDL file, I need to generate java web-service client. How can I generate client using that WSDL file which is saved on my desktop like a normal file?

I know how to generate web-services clients in Java using eclipse, But eclipse is looking for a WSDL url. which siebel can not provide.

Is there any alternative?

1

There are 1 answers

0
brso05 On BEST ANSWER

You can do it in eclipse just copy the wsdl file into the project root and then when you click to generate instead of url click browse choose the project and select your wsdl.

enter image description here

Right click on project->new->other

enter image description here

enter image description here

enter image description here

enter image description here