Unable to publish web service which is created in java using eclipse - java

i am newbie to java/eclipse and also to creating web services.Now i am trying to host the web service which is created in java using eclipse.
http://www.softwareagility.gr/index.php?q=node/29
i am following the above link for my reference.
My problem is,i got struggle on after creating a web service.I have created a web service and run it through the tomcat server and its showing like the below image
this is the link of wsdl of my web service i got
"http://localhost:8080/ResourceA/services/Myservice?wsdl"
Now i need to know,what steps i want to do after these steps, to publish and run my web service through my cloud server?
Thanks in advance!..

Export the project as a Web Archive (.war file) and deploy that on the server.

Related

Run polymer js application on localhost using any Java server (not python or any other related )

I have watched some videos regarding set up of polymer js application. In some, they say start SimpleHTTPServer and deploy your app, but this server is a module of python, I don't want to install it.
So I want to run this application using some Java related server.
I have used Apache Tomcat (although any Java web server would work). Create a simple static web application (Eclipse creates a template for a new web project) and add your polymer files to it. Deploy to Tomcat and point your browser to http://localhost:8080 (or whichever ip:port you have configured)
While in active development use Eclipse to deploy and sync web application to Tomcat. Refer to Eclipse documentation for that.
For production deployment, first use polymer-cli to create a bundled package and then deploy the contents of the bundled (or unbundled) package as a web application.

The process of deploying a web application to URL

I have developed my first web application in Java (Spring, Struts2, Jetty server). I am a trainee Developer and I would like some clarification on what do I need to do to get my app running on URL.
My project is saved as a .WAR file. What would be my next step to get my app working? Assume I have a domain.
Deploy it on web server like tomcat/jetty etc and start your server..
Follow this doc if you are planning to use tomcat for further details.

How do I know the working directory of my apache web service?

I have a python client (ubuntu) which calls the following web service:
http://xxx.xxx.xxx.xxx:8774/v2/8d118e773c6a44c88f64960c1177ede6/getNodes'
Both client and server are located on the same machine.
How can I find to which working directory this web service (which my client is calling) is pointing to?
(I don't know the source of the web Service. All I know that it is running on the same box and its url. How do I get to the source with these two clues?)
Since it is Ubuntu, you can find all the configured Apache hosts in /etc/apache/sites-enabled. One of the files in there will be your web service, and will specify its directory.

How to publish the web service which is created in Java using Eclipse?

I have created one web service in Java using Eclipse, now I need to publish that web service. How to achieve this?
you can deploy your ws that is developed in java on tomcat server and to do that you can follow instuctions on How to manually deploy a web service on Tomcat 6?
now TomCat7 is availabale and you must check this PDF which helps you to deploy Webservices on Tomcat from eclipse. It is self explained Pictorial representation and is exactly what you want.
Export the war and deploy it to an application server.

How would I/can I post a java web project from Netbeans to Sharepoint?

I have a java web application that I am developing in Netbeans (and running through Tomcat). Is there any way to put this application on Sharepoint?
This is my first time doing this. I've read that to post the application to a tomcat server you just have to copy the .war file over, but I haven't been able to find an easy solution for Sharepoint.
Sharepoint isn't a Java Application Server. You'll have to use Tomcat (or another Java Application Server) to host your application. If you need to interact with Sharepoint from your application, you'll have to use web services, a shared database or something else to communicate.
That's not possible out of the box. SharePoint only runs ASP.NET applications, not java projects.
You can deploy the solution to a Tomcat server and then use the Page Viewer Web Part to show external content.

Categories

Resources