What are all the valid ASP.NET Webmethod return types?
Can my webmethod only return strings like I see in all the asp.net site examples? ...
Can my webmethod only return strings like I see in all the asp.net site examples? ...
I'm probably going to be using Tomcat and the Apache Axis webapp plugin, but I'm curious as to any other potential lightweight solutions. The main goal of this is to connect to MySQL database for doing some demos. Thanks, Todd ...
What is the correct way to convert ASP.NET SOAP-based web services to JSON-based responses? ...And then call these from jQuery? What are "best practices" when integrating jQuery based AJAX and ASP.NET? Articles? Books? ...
We are designing a system with C/C++ back end server and C# .NET front end. We would like to provide a web interface similar to C# .NET front end. Can you please suggest the best way to do it? e.g. Whether to embed the web server in back end server itself? How to have maximum common code between in .NET and web interface to minimize the ...
Problem: We have a web app that calls some web services asynchronously (from the page). Normally this is fine, but some are failing under load test (due to timeouts). What are (if there are any) any suggested "best practices" for calling web services asynchronously in a web application? Are there any patterns that may be of use? Sh...
How can I access the WCF Service through JavaScript? My problem is, I have to access the operation contracts through the JavaScript (my website is not Ajax enabled). Previously for calling .asmx web services, I am using the following code snippet var xmlHttp = new ActiveXObject("Msxml2.XMLHTTP"); xmlHttp.open("POST", URL, false); xmlHt...
Here is my problem. I am hitting a web service (hosted on a Java based server) that will only accept text encoded Requests, but it returns MTOM Responses. What I've found is that if I set the web service to RequireMtom, it sends an Mtom request! Unfortunately, the server chokes on an Mtom request and returns a 500 error. However, if I se...
I have build plenty of SOAP webservices, but am building a REST webservice for a specific project, and I was wondering what people used for a 'WSDL' for REST services or if it is even needed. ...
Here's the idea: you commit your code to a repository and call a web service (or enter the request through a web app) to have it compiled. The results are then pushed up to a FTP server, S3 bucket, etc. Is there anything like this out there on the public internet? TFS has a build queuing feature, but I'm thinking more along the lines ...
Let's say I wanted to make a python script interface with a site like Twitter. What would I use to do that? I'm used to using curl/wget from bash, but Python seems to be much nicer to use. What's the equivalent? (This isn't Python run from a webserver, but run locally via the command line) ...
This exception is consistently thrown on a SOAP Request which takes almost three minutes to receive and is 2.25 megs in size. When scouring the web I find all sorts of posts which all seem to be about setting headers on the Request, some want me to not send the "Expect:" header, some want me to send the "Keep-Alive:" header, but irrega...
We have a web service that uses up more and more private bytes until that application stops responding. The managed heap (mostly Gen2) will show some 200-250 MB, while private bytes shows over 1GB. What are possible causes of a memory leak outside of the managed heap? I've already checked for the following: Prolific dynamic assembli...
I am making a post from a .NET console app to a .NET web service. I know that the timeout on the server side is 20 min, but if my client takes more than 100 seconds to post my data to that service then I get a timeout exception. How would I tell my client to wait the available 20 min to timeout? ...
How do I publish a Web Service to a server with MSBuild? ...
I am trying to wrap my head around this. I am making a business specific messaging application, it is going to connect between 5000 and 10,000 machines back to our datacenter via WCF (no vpns, all over the net). It is mainly for alerts and I need to be able to send message direclty to specific clients, and WCF allows me to do all of thi...
What is the best way to download all of the WSDL files exposed by a WCF service? For example, the root WSDL file references the following other WSDL files: <xsd:import schemaLocation="http://localhost:80/?xsd=xsd0" namespace="http://tempuri.com"/> <xsd:import schemaLocation="http://localhost:80/?xsd=xsd1" namespace="http://tempuri.c...
I have the SOAP request in an XML file. I want to post the request to the web service in .net How to implement? Thanks Senthil ...
I saw another question like this but it did not answer my question. I am using .Net framework 2.0 / jQuery to make an Ajax call to a 2.0 web service. No matter what I set the contentType to in the ajax call, the service always returns XML. I want it to return Json! Here is the call: $(document).ready(function() { $.ajax(...
With an abundance of frameworks and stacks for Java Web Services (Axis2, Spring WS, CFX, Metro, ...), which one should be selected for new projects? What are the pros and cons for each one? How well have they worked for you? See related Q here ...
How do you calculate the Content-Length is a soap message? Is it the number of chars in the whole soap message? ...