Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » deploy.wsdd?
deploy.wsdd? [message #112301] Fri, 17 June 2005 14:18 Go to next message
Ben Sisson is currently offline Ben SissonFriend
Messages: 202
Registered: July 2009
Senior Member
In deploying a Web Service, what is the deploy.wsdd used for?

I created the a top / down web service from a WSDL. I tested the Web
Service using the browser and a client it it worked fine. However, in the
WEB-INF directory there is only one folder (lib). It contains three
files: deploy.wsdd, undeploy.wsdd, and web.xml. I would like to know
what these files are used for. In particulart the deploy.wsdd.

I'm curious if after generating the Web Service it works, what these files
are needed for?

Also, how do they interact with Axis?

Thanks,
Ben
Re: deploy.wsdd? [message #112685 is a reply to message #112301] Sun, 19 June 2005 23:17 Go to previous messageGo to next message
Ben Sisson is currently offline Ben SissonFriend
Messages: 202
Registered: July 2009
Senior Member
Regarding the deploy.wsdd and the undeploy.wsdd. There is a lot of
confunsing documentation and tutorials out there on how to deploy a Web
Service. I think that I hve figured it out but would like confirmation.

There appears to be at least three different ways to deploy a Web Service.

1) Use the Servers view from Eclipse and then use the Add and Remove
projects option to move the Web Services to the server or off. I'm
assuming that you can then update the Web Service by going to the Server
(ex: Tomcat) and select the Reload.

2) If you compile ther Web Project you can copy the .java files from the
Web Service project to the Axis directory within the Server folder
(Tomcat) WEB-INF. Then when you restart the Server it will pickup the new
Web Service or any updates.

3) You can use the Axis Admin function to deploy the Web Service using
the deploy.wsdd and undeploy.wsdd. files.

I would like to get confirmation that this is correct?

Do both of these options update the Axis and Tomcat servers?

I would appreciate and feedback that I can get.

Thanks,
Ben
Re: deploy.wsdd? [message #172468 is a reply to message #112685] Tue, 27 June 2006 09:23 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: thangdang.hotmail.co.uk

Hi,

I'm not sure either. However, what I would say is:

1. Yes, but this could be used for development purposes only.

2. Not really. Actually, you would probably need the file deploy.wsdd and
use the Admin function of axis to deploy it. However, if your web service
is very simple, you can just change the extension .java to .jws and do
just as you described

3. Yes, see above.

Hope to discuss with you more. Cheers.

On Sun, 19 Jun 2005 23:17:03 +0000, Ben wrote:

> Regarding the deploy.wsdd and the undeploy.wsdd. There is a lot of
> confunsing documentation and tutorials out there on how to deploy a Web
> Service. I think that I hve figured it out but would like confirmation.
>
> There appears to be at least three different ways to deploy a Web Service.
>
> 1) Use the Servers view from Eclipse and then use the Add and Remove
> projects option to move the Web Services to the server or off. I'm
> assuming that you can then update the Web Service by going to the Server
> (ex: Tomcat) and select the Reload.
>
> 2) If you compile ther Web Project you can copy the .java files from the
> Web Service project to the Axis directory within the Server folder
> (Tomcat) WEB-INF. Then when you restart the Server it will pickup the new
> Web Service or any updates.
>
> 3) You can use the Axis Admin function to deploy the Web Service using
> the deploy.wsdd and undeploy.wsdd. files.
>
> I would like to get confirmation that this is correct?
>
> Do both of these options update the Axis and Tomcat servers?
>
> I would appreciate and feedback that I can get.
>
> Thanks,
> Ben
Re: deploy.wsdd? [message #172612 is a reply to message #172468] Wed, 28 June 2006 15:19 Go to previous message
Kathy Chan is currently offline Kathy ChanFriend
Messages: 93
Registered: July 2009
Member
Hi Ben,

When running through the Web service wizard in WTP, deploy.wsdd and
undeploy.wsdd are generated for each Web service in the Web project's
WEB-INF directory. Then, the wizard calls the Axis AdminClient to deploy
the deploy.wsdd for the Web service. A file called server-config.wsdd is
then generated in the WEB-INF directory. This file that tells the Axis
servlet on the server about what Web services are deployed. If you create
another Web service in the same Web project, another deploy.wsdd is
generated for that Web service. When Axis AdminClient is called, the deploy
information of this Web service is combined with the previous Web service in
the server-config.wsdd file.

So in the Eclipse workbench, you could deploy your Web service to another
server by adding the Web project containing that Web service to the server.
If you want to deploy it to another server outside of Eclipse, you could
export the WAR.

If you make changes to the Java file that involves changing method
signatures, additional methods etc, you would need to run the Web service
again so that changes are reflected in the deploy.wsdd and
server-config.wsdd. Copying Java files to WEB-INF folder will not work. If
it is just changing the implementation of the methods, then the changes are
picked up automatically by the server.

And lastly, you could use the Axis admin function to deploy your Web service
directly.

Hope this helps!

Regards,
Kathy Chan

"Minh Thang Dang" <thangdang@hotmail.co.uk> wrote in message
news:pan.2006.06.27.09.23.25.928742@hotmail.co.uk...
> Hi,
>
> I'm not sure either. However, what I would say is:
>
> 1. Yes, but this could be used for development purposes only.
>
> 2. Not really. Actually, you would probably need the file deploy.wsdd and
> use the Admin function of axis to deploy it. However, if your web service
> is very simple, you can just change the extension .java to .jws and do
> just as you described
>
> 3. Yes, see above.
>
> Hope to discuss with you more. Cheers.
>
> On Sun, 19 Jun 2005 23:17:03 +0000, Ben wrote:
>
> > Regarding the deploy.wsdd and the undeploy.wsdd. There is a lot of
> > confunsing documentation and tutorials out there on how to deploy a Web
> > Service. I think that I hve figured it out but would like confirmation.
> >
> > There appears to be at least three different ways to deploy a Web
Service.
> >
> > 1) Use the Servers view from Eclipse and then use the Add and Remove
> > projects option to move the Web Services to the server or off. I'm
> > assuming that you can then update the Web Service by going to the Server
> > (ex: Tomcat) and select the Reload.
> >
> > 2) If you compile ther Web Project you can copy the .java files from
the
> > Web Service project to the Axis directory within the Server folder
> > (Tomcat) WEB-INF. Then when you restart the Server it will pickup the
new
> > Web Service or any updates.
> >
> > 3) You can use the Axis Admin function to deploy the Web Service using
> > the deploy.wsdd and undeploy.wsdd. files.
> >
> > I would like to get confirmation that this is correct?
> >
> > Do both of these options update the Axis and Tomcat servers?
> >
> > I would appreciate and feedback that I can get.
> >
> > Thanks,
> > Ben
>
Previous Topic:Deploy web services ???
Next Topic:No server definitions using WTP with Eclipse 3.2
Goto Forum:
  


Current Time: Sat Nov 22 21:28:03 GMT 2014

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

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