I am a newbie to C# development.
Scenario -
We have an application running on .NET 2.0 framework and IIS 6.5. Now, we have installed another application on a remote server which utilizes Jetty web server. For us to integrate both the applications we need to add a reference to a web service in jetty. I have found the web service path on the server which is a .class file and I want to add a reference to my .NET application.
My problem is - how do I find the URL to add a web reference to the .NET application in Visual Studio ? or is there another way to integrate both the applications ?
Thanks
Have you tried using the .wsdl of the .NET web service to generate a proxy class in the Jetty web server? I am assuming there is some type of discovery mechanism built into the Jetty web server for web service capabilities, right?
Related
I'm developing an ASP.NET Web API that needs a particular 3rd party Java application to run constantly on the same machine to execute some methods.
For deploying in Azure - I guess I can install Java on a VM and then manually install and configure the Java application, my Web API, SQL Server and so on..
Is there an easier way?
For example, using the Azure Web Sites to run the Web API with Java pre-installed and somehow install the Java application (via code?) and run it?
Thanks.
My web application is made with Java, specifically with the Google Web Toolkit (GWT). The back-end used
GWT RPC RemoteServiceServlet
Hibernate/Java
MongoDB (via Morphia)
and other Java libraries
I really did not use any Spring framework at all, will my web application be able to be deployed in a CloudFoundry MicroCloud and in CloudFoundry.com hosting?
Will I be needing to reconfiguring my web application that has been tested and deployed in a Tomcat Server with MySQL and MongoDB database?
GWT should not be an issue.
If you want to deploy a java web app not using Spring, you can deploy it as a java web app, then parse the VCAP_SERVICES manually to configure your data sources from the application.
See http://blog.springsource.org/2011/10/13/using-cloud-foundry-services-with-spring-part-1-the-basics/ for details
https://github.com/SpringSource/cloudfoundry-samples/tree/master/hello-java
Why wouldn't it work?
In the event it wouldn't, that wouldn't be because of GWT at least: GWT-RPC runs in AppEngine, so there's no reason it wouldn't work in CloudFoundry.
I have recently created a java application(calculator) in netbeans and need to make it into a web service. How do i convert it?
You should take a look at the Java API for RESTful Webservices (JAX-RS). You can easily convert a basic POJO into a webservice using annotations (http://download.oracle.com/javaee/6/tutorial/doc/gilik.html#gilru).
Of course, if your calculator application is just a standalone Java application (ie. main method running through command such as 'java calculator') you will have to setup a web application and run it in a web container. Check out http://download.oracle.com/javaee/1.4/tutorial/doc/WebApp.html for details on getting started with Java web applications. Check out GlassFish (http://glassfish.java.net/), Tomcat (http://tomcat.apache.org/) or Jetty (http://www.mortbay.org/) for some web container options.
I have made an Axis2 Web Service in Java. I am using Apache Tomcat 6.0.32 as a Web Server. My Web Service gets the data from the database(MySQL), and it returns the data into my mobile application. Now I want to deploy my Web Service. What are the steps for that?
Check this link if you want to deploy without using eclipse
http://www.ibm.com/developerworks/opensource/library/ws-webaxis1/
If you are using eclipse then
In preferences setup the Axis 2 runtime
Right click on the project where you have your service implementation & choose the New webservice option. Use the Bottom Up Java Bean Web Service option
You can also quickly create a client to test it.
I have a client server setup. I need my client to be able to call the server, and the server pass down either a file or the text contained in the file. I am new to web development. Which type of technologies should I investigate. I know that Java Web Services, Java Servlets, Java EE Applications all exist. But which one would be best for my uses? The server side application must be Java and run in Apache Tomcat.
Any suggestions would be greatly appreciated.
Thanks
Check out the Google Web Toolkit
Try Restlet in combination with Jetty container, but it works with any container (including Tomcat). Here is where you can start.
Restlet can be used for both desktop or in-browser web apps. Also it nicely integrates with Google Web Toolkit.