installing an XML Websevice on Windows7 home basic - web-services

i've searched the site for this answer but couldnt find a good answer.
My client has a computer with Windows7 Home Basic Installed in his workstation (Thank you HP).
and i need to install a web service on IIS. Web service is written in c# (.asmx). When i installed IIS into that windows, i've realized that there is no IIS comsole available in windows7 home basic machines.
is there a way to register web service from the command prompt? this web service is a middleware for communication several mobile devices with the sql server on the machine so it has to be able to connect form outer ip's too.
I've tried IISExpress but it only lets connectiong from localhost.
I cannot format his harddisk, also my client doesnt really want an edition upgrade.
Thanks for spending your time.

I did a quick google search on hosting a web service (*.asmx) without IIS, and found this article: Run ASMX Without IIS. A quick glance at it looks like you'd wind up writing your own host and implementing your own web server.
If this is the only solution available, I think you'd be far better off to rewrite your ASMX web service as a WCF web service, and then either self-host it or host it in a Windows Service.

Related

AWS - IIS and Windows services and SQL server - Load balancer and High availability

We have a software product made in .Net.
It has one Asp.net website and four Windows services.
Both Asp.net application and Windows services communicates with SQL server installed in same machine.
Right now we have hosted this product in a Windows server 2012 R2. So one server contains one asp.net application, four windows services and a SQL server.
Now we have decided to move this infrastructure to AWS.
Basically we want to get following benefits:
IIS and windows services load balancing.
IIS , windows service, SQL - fail over. So if one server goes down, there will be other one who can continue to serve requests.
So anyone can please provide me some links or other sort of help which can help me to get started as I am new in AWS?
Thank you.
You should read the "Well Architected Framework" from AWS
https://aws.amazon.com/architecture/well-architected/
The site points to each pillar of the framework. There's also one whole whitepaper on the subject, a good read if you're seriously attempting a solution in the cloud.

Access localhost site from web server

I have a site running via Visual Studio (i.e. at http://localhost:1234)
I need to access this site from test web server(windows/IIS).
I can ping from the web server to my machine name.
Just wondering what I need to do to test this? to browse the site from the web server?
Thanks
I usually just do a quick Publish and set up a web site application in IIS to point to the published location. I am interested to know if there is another way though.

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