Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (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 19:56 Go to next message
Eclipse UserFriend
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] Sat, 01 November 2008 03:58 Go to previous messageGo to next message
Allan Zhang is currently offline Allan ZhangFriend
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 16:46 Go to previous message
David M. Karr is currently offline David M. KarrFriend
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 Apr 20 03:17:33 GMT 2024

Powered by FUDForum. Page generated in 0.03399 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top