I just ported a project from Visual Studio 2005 format to Visual Studio 2008. This project makes heavy use of consuming web services.
We use our own custom parent class for the generated proxy classes (Reference.cs) that Visual Studio generates up.
I added a new web reference using Visual Studio 2008, and it did not generate the proxy...
I have this code up on my server here (Yes I known ASMX is a bad idea but WCF doesn't work at all for some reason):
<%@ WebService Language="C#" Class="Test" %>
using System.Web;
using System.Web.Services;
[WebService(Namespace = "http://smplsite.com/smplAccess")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
public cl...
What is the difference between a webservice and an API? Is the difference more than the protocol used to transfer data?
thanks.
...
I'm working with a bit of a legacy component in which we interact with a SOAP web service (a technology which I absolutely, positively abhor) using some client code built using the JAXRPC-RI (reference implementation) library.
I'm interested in being able to set a timeout with the stubs so that in case the web services server does not r...
I am developing a webservice that returns arrays of classes I define within the webservice. When I test it, I get: "System.InvalidOperationException: The type WebSite+HostHeader was not expected. Use the XmlInclude or SoapInclude attribute to specify types that are not known statically."
Here is part of the code:
[WebService(Namespace ...
I am trying to update a field of type spFieldUserValue, you know a, PeoplePicker.
The relevant code is
batchElement.InnerXml = "<Method ID='1' Cmd='Update'>" +
"<Field Name='ID'>1</Field>" +
"<Field Name='APersonField'>32;#This is pretty much ignored</Field>" +
"<Field Name='Title'>Wow edited!</Field></Method>";
result = l...
I have a simple base class B with 2 public properties. This class is inherited by another class D that adds another public property. The derived class is returned by a web service call. The page generated by ASP.Net looks like:
'''<remarks/>
<System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3074"), _
Sys...
We have a monolithic application written in Visual Dataflex, and various supporting applications written in other (.NET) languages. They all share the same database, and need to follow the same business logic. One way to facilitate unified business logic across these is to provide web services as an interface for testing.
Of course, for...
I am debugging an ASMX web service that receives "bursts" of requests. i.e., it is likely that the web service will receive 100 asynchronous requests within about 1 or 2 seconds. Each request seems to take about a second to process (this is expected and I'm OK with this performance). What is important however, is that each request is dea...
Working on a mashup where I need an API which gives me details of Address if I pass IP of that parcular locton. Can anyone help me to get an API?? heard about iploc but its no longer available..:(
...
hi there
i have made a web service, it has two web methods, one method uses an xml file to get the data, and other uses a database on my machine, first method is working fine but when i call the second method using an object of the webservice from my aspx page, i am getting the below mentioned exception, i am a beginner on this and have ...
I started here: http://stackoverflow.com/questions/753599/implementing-linq-to-sql-transactions-through-wcf
Since then I came to the following. I am using basicHttpBinding for legacy, and my WCF client is unmanaged C++ (gSOAP). So I am using ASP.NET Session and enable aspNetCompatibilityMode on WCF. This works, so now I can handle sessi...
Can anyone recommend guidelines for high-level documentation of Web services?
This is the documentation that should allow someone with no knowledge about a particular Web service to come away with a basic understanding of its reason for being, its roadmap and examples of its usage.
Such documentation should fit onto two printed sides o...
The JSON response from the following code is wrongly escaped as described below.
My webmethod is like this:
[WebMethod (Description="doc here")]
[ScriptMethod(ResponseFormat=ResponseFormat.Json)]
public string responseMyObject() {
if (!Setup()) return "";
...
Proxy pu = new Proxy(...);
...
I have recently been working on a C# application that calls a webservice over SSL and handles the certificate security using a delegate for the ServerCertificateValidationCallback event like so:
System.Net.ServicePointManager.ServerCertificateValidationCallback += delegate(object certsender, X509Certificate certificate, X509Chai...
I feel like an idiot asking this. In fact, after typing the title, StackOverflow barks at me, "That's not a very good title. Can you add some more unique words to it?" No I can't, SO; sorry. Here we go:
We have this software that has a webservices component.
Now, the administrator of this system has come to me, wanting to import data i...
My Situation:
The data request chain of my application looks like this:
(Client) -> (WebService) -> (SQL or OLAP Cube)
The client is a Silverlight Application that uses a generated proxy to communicate with a WCF webservice. Which in turn does authorization and accesses SQL DB's and OLAP Cubes using a DAL component, basically it just...
Is the System.AddIn infrastructure safe to use for a web service? Since it does write stuff out to the file system, is it really only intended for windows applications?
...
I have created a web service in a virtual directory using VS 2008. I have tested the service by going to the .asmx page and everything is working fine. So I selected the "Add web reference" option under the solution and typed in the .asmx URL. It found the web service successfully and added the reference to the project. However, whe...
I've been trying to add a web reference to a webservice located on an Apache Tomcat web server but I always receive an "HTTP status 503: Service Unavailable". I've been told that the problem is that Tomcat doesn't allow 2 HTTP parameters when requesting the wsdl.
The URL I'm trying to retrieve the wsdl looks like:
http://208.35.164.35...