Can we run Metro Web services on IIS? - web-services

Can we run the web services created using METRO web service stack on the IIS server as opposed to Glassfish or tomcat?

Your question does not really make sense. Metro web services are Java based, they have nothing to do with IIS, therefore you can't run them on IIS. However you can implement the same logic in WCF and host it on IIS. You can also call Metro web services from WCF.

Related

Understanding IIS vs Service

What is the difference between a web service deployed through IIS and a simple windows service that just responds to http requests?
Do IIS web services get compiled to a binary executable as a regular windows service would?
What files/settings does IIS require to define a web application?
What aspects of a web application are handled by IIS which would have to be reimplemented when creating a windows service that responds to http requests?
IIS provides a hosting environment with,
Application pools
Standard extension API
Other IIS only features.
You can search other materials comparing self hosting and hosting on IIS to learn more.

Web application and web service as a client of another web service

If I use a standalone application to interact with a Restful web service I use Apache HttpClient or its Fluent API.
How do I interact with a web service using a web application or from another Restful web service?
Do I again go back to Apache HttpClient?
A web service client is a web service client, no matter if who's doing the consuming is a standalone application, a web application or even another web service. You could consume them how you see fit:
use a JAX-RS aware client like the RESTEasy client framework (I see from your profile you are using JAX-RS);
use a (generic) REST aware client like Resty;
use Apache HTTPClient;
heck, you could even use java.net.URL :)

Call web services from IIS it works slowly

I'm developing asp.net mvc web application that calls third party web services.
I'm not sure about web services but looks like that they are java web services. They work perfect when I call them from windows console application or run my site under asp.net development server. But when I host my site under IIS 7.5 (I check it under Windows 7 32x and Windows Web Server 64x) performance is degraded in 10 time.
Could anybody suggest me with settings which I should check or anything else?
The best idea that I have, it is using Reversed Proxy for matching data that pass.
I've tired to use Fiddler 2 in this way. But what a pity I have trouble because web services are hosted via https.
Somebody has idea how to solve this?

Web Service on Netbeans

I have created a Web Service in Net Beans 6.9 and deploy it locally. And I am using it via a java SE application by adding Web Service client in this application. How to obtain the link of the Web Serice so that it can be used from anywhere ?
2) From where to obtain WSDL file of Web Service ?
3) How to host a Web Service on the internet ?
Thank a ton in advance..!!!
You could create a new project of type web application in Netbeans.
In the web application, you will then create a web service (NOT a web service client).
For publishing and testing the web application, you will have to deploy it to a web server (e.g. GlassFish).
After publishing the web application, the WSDL file will be typically located at: http://localhost:<port>/<your web app>/<your service>?wsdl
For GlassFish, the default port is 8080.
If your current Netbeans installation doesn't support web projects or you don't have GlassFish installed, I suggest you download and install the latest version of Netbeans with Java EE support (bundled Apache Tomcat and GlassFish server in the same setup).
http://netbeans.org/downloads/index.html
Hosting SOAP web services on the internet at large has not been terribly successful. For example Google had SOAP based web services initially, and they switched to REST based services in the end. You may want to reconsider and deploy a REST based interface. If the bulk of your code is not embedded in the web service, then you should not have that difficult of a time switching the interface.
To deploy a SOAP or a REST web service, you would need to deploy a 'full' Java EE container (e.g. Glassfissh or JBoss) on a machine with access to the internet. You might virtual hosting e.g. Westhost, Amazon, or there are turnkey solutions like Heroku (note: I'm not endorsing any of the companies listed here; they're just examples). If you just want to deploy a REST based service, any web container will do e.g. Tomcat or Jetty. In addition to services mentioned above you could probably host a rest web service on any service that will let you upload a war file.

Host a SOAP web service on a server

I have a SOAP web service code (.asmx) created using VS.NET 2008 which I plan to host on a web server. I am unaware and completely new to the term 'hosting' . My question is whether there are any free and limited period web hosting services that offer me to host a .asmx web service having Microsoft SQL Server 2008 as backend. If yes, what should the approach be from my side ? Should I the upload the .asmx code or the entire VS.NET project ? I am working on localhost at present.
Thanks
This describes how to deploy ASMX web services:
http://msdn.microsoft.com/en-us/library/6x71sze4(v=VS.90).aspx
You'll need to find a web host that supports IIS and ASP.NET. I'm not aware of any free hosts that support server side scripts and SQL databases. One of the cheapest options that I've used in the past is GoDaddy, which should satisfy all your needs.
You can test locally if you install IIS 7, available through the web platform installer:
http://www.microsoft.com/web/downloads/platform.aspx