Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Where to put the *.wsdl file? In the project base directory in workspace?
Where to put the *.wsdl file? In the project base directory in workspace? [message #223263] Wed, 29 October 2008 15:56 Go to next message
Eclipse User
Originally posted by: p.oho.hotmail.com

Assume I develop a Web Service from top-down (starting with a WSDL).

Where is the intended place to store the original *.wsdl file?

Should the developer put the WSDL into the base directory of the project in the workspace?

Peter
Re: Where to put the *.wsdl file? In the project base directory in workspace? [message #223330 is a reply to message #223263] Fri, 31 October 2008 23:58 Go to previous messageGo to next message
Allan Zhang is currently offline Allan Zhang
Messages: 4
Registered: July 2009
Junior Member
Peter Ohoven wrote:
> Assume I develop a Web Service from top-down (starting with a WSDL).
>
> Where is the intended place to store the original *.wsdl file?
>
> Should the developer put the WSDL into the base directory of the project in the workspace?
>
> Peter

I usually put them in the META-INF or WEB-INF directory.

Allan
Re: Where to put the *.wsdl file? In the project base directory in workspace? [message #223354 is a reply to message #223263] Sat, 01 November 2008 12:46 Go to previous message
David M. Karr is currently offline David M. Karr
Messages: 143
Registered: July 2009
Senior Member
The source for the WSDL does not need to be directly deployed to the
server (although a generated web service will use a copy of it), so it
does not need to go into the WAR structure in any way. Wherever you put
it is just a convention.

For a "standalone" ws application, I like to create a "resources"
subdirectory, and then under that a "contract" directory, where WSDLs
would be stored. I would also create a "schema" directory parallel to the
"contract" directory. If you eventually migrate these to an enterprise
contract repository, that is a good structure for that repository
(although there are other choices).
Previous Topic:Testing web services
Next Topic:JSDT: IJavaElement for 'this' source element?
Goto Forum:
  


Current Time: Sat Aug 30 00:30:32 EDT 2014

Powered by FUDForum. Page generated in 0.04051 seconds