WCF / ASMX :: Writing A Web Service To Call The Proxy Server From The IIS Web Server In Vb.net?
Feb 6, 2011How to write a webservice to call the proxy server through IIS webserver?
View 2 RepliesHow to write a webservice to call the proxy server through IIS webserver?
View 2 RepliesI want to add web service reference but we are using proxy. Is there a way to bypass proxy and add web service reference?
View 1 RepliesWe have a web application that makes a call to a remotely hosted ASMX service that worked in Server 2003 under IIS6. We are now migrating it to a Server 2008/IIS 7 setup and it doesn't appear that the application makes the call to the remote web service anymore. We ran Wireshark and don't see any traffic to the service URL. It seems to throw a 404 error without trying to connect.
Is there some security policy or restriction in Server 2008 or IIS 7 we need to set to allow an ASP.NET application make a call to a remote web service? We are using Network Service as our application pool user, but also tried using Local System as a troubleshooting step. In addition, the same code works if run from a console application on the server instead of the web application.
Is there some setting under IIS7 or server 2008 that would be causing this?
if i have the web application with many pages like add order page, edit order page, and delete order page actually they also interact with the Sql Server 2008 and i also create web service page call Sales_Service.asmx. i know just i need to put something like query into Web Method in Sales_Service.asmx but i have a lot of queries, i don't know which query i should put into it and how the web page call the Sales_Services.asmx
View 2 RepliesHow to call Synchronous service call for combo boxes? As I know Synchronous calls do not create a good user experience because the application is hung waiting for the Web service call to return. Then it is my requirement.
View 1 RepliesI have a .net app developed in .net 4.0 version. And I implemented an asmx web service in this. Now I want to call one of the webservice method in another classis ASP application java script function.
View 2 Repliesi have created a normal web service and i want to host it outside IIS. one idea i got is to use window service as hosting environment. i have created a web service and hosted it window service and its window service is running now.would anybody please let me know that how can i call web service hosted in window service binded over soap.tcp. here is my sample code.
[Code]....
[Code]....
We are upgrading .Net 2.0 Framework Web service project to .Net 3.5 Project. We are not changing any methods. Will there be any change in the proxy because of this Framework Upgrade.My requirement is to all the existing clients consuming this webservice should not have any impact due to this framework upgrade.
View 1 RepliesI want to relocate a web service to another server.
I tried changing the location URL in the WSDL :<
wsdl:port name="wsMgrToolboxSoap"
binding="tns:wsMgrToolboxSoap">soap:address
location=http://localhost:2575/wsTrustAdminToolBx/Locate.asmx />
wsdl:port>wsdl:port
name="wsMgrToolboxSoap12"
binding="tns:wsMgrToolboxSoap12">soap12:address
location=http://localhost:2575/wsTrustAdminToolBx/Locate.asmx />
But that broke the code which calls the WS.
I then had to create a new proxy, recomplie, etc..
how to write a function in a web service to upload a file, like a .csv, to SQL Server.
The idea would be to upload the file via an interface built in Flex, send it to the server, and insert the record in SQL Server. My problem is that I don't know how the function should look like:
[Code]....
Should it ask for a String?
I have a website [URL]. Recently I found out that somebody has set up a reverse proxy with an almost identical url "www.website1.com" in front of my website.
I'm concerned of those users who came to my website through that reverse proxy. Their username and passwords might be logged when they login.
Is there a way for me to have my web server refuse reverse proxy?
For example, I've set up a reverse proxy using squid with the url "www.fakestackoverflow.com" in front of "www.stackoverflow.com". So whenever I type "www.fakestackoverflow.com" in my web browser address bar, I'll be redirected to "www.stackoverflow.com" by the reverse proxy. Then I notice the url in my address bar changed to "www.stackoverflow.com" indicating that I'm no longer going through the reverse proxy.
"www.stackoverflow.com" must've detected that I came to the website from another url and then redirected me to the website through the actual url.
i am calling the webservice from acrobat javascript. it works very well in development server. but when i put the same code in production server, it doesnt call the webservice.
View 3 RepliesLets say I have a web service installed on ServerA. I also have a web application hosted on ServerB, completely different domain from ServerA. That web application contains a web reference to ServerA's web service, so consumes it. What happens if the WAN connection between ServerA and ServerB goes down, for whatever reason? I'm not clear if, once the web method is coded into the consuming application, that the server hosting the service has to be constantly available or not.
View 2 Replieshow can I consume a Web service in my client system which has deployed in different server?
View 2 RepliesI am consuming a Web service passing it an XML string. The WS is querying a SQL Databse and returns an XML string. It all works fine from within Visual Studio 2010. Running the website from the browser, I receive the following error when calling ws.method "RQ.ProcessRequest(XMLOut, XMLIn)":
INNER EXCEPTION: System.Exception: The login failed when connecting to SQL Server SOMTSNAV01
[Code]....
Is there some additional credentials I need to pass to the WS? Is there anything that needs to be done on th WS side to ensure login does not fail? Ideas anyone?
I have to keep a datacontext alive in a WCF service. This object is created on every call to the service, by the way decreasing performance. How could I keep this object alive with WCF.
View 2 RepliesI am ASP.NET developer.
i have run one program in host server at a particular interval (lets say in each & every 1 hour) by using web service. but on my server web service stops automatically after 2 or 3 hour.
I have a simple WCF service that I call server side from code behind via a service reference. It's used for validation and works and was automatically setup by Visual Studio and is using SOAP I think because the binding is wsHttpBinding.
I want to use the same WCF service, but call it client side from jQuery using ajax(). I'm trying to implement it by way of these instructions.
But if I make the changes to get the client side call working, I have to add the decoration below which I think will break what works on the server side and also change the system.serviceModel section in web.config.
[WebInvoke(Method = "POST",
BodyStyle = WebMessageBodyStyle.Wrapped,
ResponseFormat = WebMessageFormat.Json,
RequestFormat= WebMessageFormat.Json) ]
How do I have a WCF service that can be called both from the server-side and client side (jQuery/ajax)?
Or put another way, this may be incorrectly worded, can an endpoint have multiple bindings?
I have a web service that was running on Server 2003, IIS6. The service required an SSL connection. The service expects 4 parameters; a User ID, Password, Record ID and the "type" of data requested (one of 5 options). The service validates the user then simply performs a select of the record ID from a table determined by the type specified. This service was up and running for a couple of years. I installed a couple of new servers a couple of months ago. The users that makes use of this service just tried it and couldn't get a response. I checked the server and I hadn't copied the service over. The service is located in a virtual directory under the primary web site.
For example, the site is: [URL] Service virtual directory is "GetITSData" The call to the service has been: [URL] param1, param2, param3, param4 and the service would return the appropriate data. I "assumed" that when I copied the actual contents of the directory over, that the service would then begin functioning again (since it was empty). All IIS snap-in manager items for the virtual directory match the previous settings on the old server (I still have that server available in my office). The main site requires SSL and uses forms authentication. When I create a dummy site in VS2008 and try to add a service reference, I get the following: There was an error downloading [URL]. The request failed with HTTP status 403: Forbidden. Metadata contains a reference that cannot be resolved: [URL]. The remote server returned an unexpected response: (405) Method Not Allowed. The remote server returned an error: (405) Method Not Allowed. If the service is defined in the current solution, try building the solution and adding the service reference again.
built a web service and pushed it to my production server. When I view the .asmx file I can see the methods listed and I can also test them fine using the generated forms.I am having an issue, however, when I attempt to test my web service by...(1) creating a new web app project (VB -- VS 2010).(2) creating a web reference (works fine).(3) calling the method by running it on my local machine.#1 and #2 are fine but it seems as if the web method never gets called (returns an empty string).
View 1 RepliesI want to use web service for periodic update request to server. It will use get & Post method.
Using post request I will use follwing URL. I will get this from some device.
[URL]
If request will come like this ... as URL contains 'update' so it should update & after parsing URL, will send reply in the form of URL.
I have an Asp.net 3.5 xml web service that I created using the file new website within Visual Studio 2008. I can install and run the web service on a remote server using a web setup project after adding the necessary entries to the web.config file. The problem currently is that the xml web service needs to be configured to use a domain name and not a server name. My coworker has not been able to configure the virtual directory to use a domain name and work successfully. The web service returns a site under construction error.
View 1 RepliesI have a web application in ASP.NET 4.0. I've added an asmx service, primarily as a source for the autocomplete extender's lookup values.
When I debug on my machine locally, everything works fine. However, when I deploy the web application to IIS 7.5, I get a HTTP 404 response when trying to send data to the service.
I am able to browse to the service definition, see the available operations. Tellingly, however, when I use the test pages to test the service using POST, I receive an HTTP 404 again.
I'm not sure what is going on. I did create the asmx file within my web application and it is deployed in the virtual directory of my otherwise working production application. Is there an issue with the .asmx file being deployed in the same virtual directory, perhaps?
I want to Upload bulk images from client to server using web service...
I already create web service for uploading images but it does not support well.. i have used byte array for that..
I have a page, in my web app, that need to make a call to a web service that reside on the same network of the web server, but the machine with the web service is not directly reachable from the internet. can I set a local ip address in the web config file? es: 192.168.9.2 Or I must only set a public ip address?
View 3 Replies