Share my webservices [message #189820] |
Thu, 15 March 2007 11:56  |
Eclipse User |
|
|
|
Hi,
after a week of trouble I get my webservices run on my tonmcat instllation.
I want describing the operations I've done before explane my questions.
I get two wsdl file describing the web services that I must develope.
My project consist to create two webservices to update our local database
with data from the webservices consumer that give me the two wsdl file.
Using Eclipse wtp, with the topdown wizard I've created all the class.
Then, I fill the two class with my code (Two class because I've two
webservice) and test it with Service Explorer.
After a little bit of tuning hte goal is reached and I've successfully
tested my web services with Service Explorer built in Eclipse and with two
client created with the wizard.
Then I try to exported the project from my machine to the server that we
using for products accessible from Internet where run our Tomcat 5.0
Installation.
Everithing works fine.
When I've uploaded my projects onto the tomcat server in the Manager Page
of my project I can see two wsdl files (I started developing webservices
from these, two folder that contains my test client and another folder
named wsdl/ that contanins two further wsdl created ny the eclipse wizard.
Now I want to share my web services with our patner that give us the
intizial wsdl file but I have no idea to do this.
Suppose that my url is http://myserver:8080 and the complete path of my
project is http://myserver:8080/myPorject.
I've another question about the architeture of the project created with
Eclipse-
The WTP (1.5) wizard add to my library axis.jar. Then in my Tomcat I dont
need to install Axis because It's buil in my project, Right?
If this is true, How can I access to the axis functionality like the
AdminConsole, the list of exposed webservices etc?
Thanks in advance Ponzetti
|
|
|
Re: Share my webservices [message #189844 is a reply to message #189820] |
Thu, 15 March 2007 14:08   |
Eclipse User |
|
|
|
Hi Ponzetti,
> Now I want to share my web services with our patner that give us the
> intizial wsdl file but I have no idea to do this.
> Suppose that my url is http://myserver:8080 and the complete path of my
> project is http://myserver:8080/myPorject.
I assume you would like to know how to let your partner invoke the web
service that you've created. If so, take a look at the wsdl that WTP
generated for you, look for the endpoint url in there which would look
something like:
http://myserver:8080/myProject/services/MyServiceName
Now if you append a ?wsdl to that url and access it through a browser,
you'll actually get back a version of the wsdl file that can be used by
your partner to generate a client to invoke your service. i.e., you should
give this url to your partner:
http://myserver:8080/myProject/services/MyServiceName?wsdl
> I've another question about the architeture of the project created with
> Eclipse-
> The WTP (1.5) wizard add to my library axis.jar. Then in my Tomcat I dont
> need to install Axis because It's buil in my project, Right?
Right, the axis jar are in your project's WEB-INF/lib directory
> If this is true, How can I access to the axis functionality like the
> AdminConsole, the list of exposed webservices etc?
For this I'll refer you to the axis user-guide [1]. Specifically, take a
look at the "Publishing Web Services with Axis" section.
Hope this helps
Andrew
[1] http://ws.apache.org/axis/java/user-guide.html
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03753 seconds