web-services

CAML to HTML

I'm invoking one of SharePoint's web service APIs that returns a CAML fragment. I've searched the interweb far and wide but I've been unable to figure out how to make this CAML fragment to render as "normal" HTML that I can render in a more sane environment like Plumtree, WLP, Liferay or any other portal besides SharePoint. Without a wa...

Why use a web service with Linq to SQL?

Can anyone tell me what the need/advantage is to using a web service with an asp.net gui and using Linq to SQL? The web service layer seems unnecessary. Linq to SQL is completely new to me and I am researching as I am setting up a new project. Does anyone have any experience with this? ...

How can I create an ASP.NET web service that isn't hosted in IIS?

I want to create a stand-alone (i.e. not hosted in IIS) web service in ASP.NET. Is this possible, and if so what's the best way to do it? ...

Moving data from Sql Server to Excel via a Web Service

My users want data from my application in Excel. The data resides in a SQL Server database but I don't want the users to have direct access to the database, I would rather provide them a web service to get the data. What is the best way to move data from SQL Server to Excel via a web service? ...

Access Web Service from a SQL Server 2005 Stored Procedure

Hi everyone, Currently I have a stored procedure that makes some updates to a table, and after it makes them, I need to call a web service. The procedure uses a transaction, and I need to call the web service at the end of the transaction. If the web service call should fail, the transaction would get rolled back. I need to know how d...

How do I call a Sharepoint Webservice from a c# client using Kerberos authentication ?

Hi We have developed a webservice that sits and runs in the context of a sharepoint site. This works fine using normal windows authentication. We now have a client who wants to install this on a Kerberos enabled sharepoint site. What changes would we need to make to either the webserivce, the calling client (a windows service) or both...

webservice.htc, moz-behaviors and Firefox 3.

Whilst trying to get our app working in Firefox (I'm a big proponent of X-Browser support but our lead dev is resisting me saying IE is good enough). So I'm doing a little side project to see how much work it is to convert. I've hit a problem straight away. The main.aspx page binds to a webservice using the IE only method of adding beh...

best way to consume a webservice in an asp.net code behind

Hello, I'm trying to bind a datasource to a repeater, for instance, to a web service (.asmx from a different website) on page load. The webservice returns a DataSet from an sql call. What is the best way to go about doing this? ...

How do I use HttpWebRequest with GET method

I have the following code which works just fine when the method is "POST", but changing to "GET" doesn't work: HttpWebRequest request = null; request = HttpWebRequest.Create(uri) as HttpWebRequest; request.ContentType = "application/x-www-form-urlencoded; charset=UTF-8"; request.Method = "POST"; // Doesn't work with "GET" request.Begin...

Defining Web Services - What is the requirement to make namespace definitions accessible?

Hello, I am sitting down to define my first web service and have what is probably a basic question about the accessibility requirements of namespace definitions? When a consumer of these web services identifies message elements as belonging to my namespace, must the URI reference for this namespace be available at the time the messag...

Where is the .asmx after I added a localhost webservice?

When I added service -> web service. The VS2008 added a App_WebReferences folder without a .asmx file. I see a .discomap file. When I use the cascading drop down ajax control, it is looking for .asmx in the service path. Am I doing it wrong? I remember the early edition of Visual Studio added a .asmx file when you added a outside webse...

How do I retrieve product information (cds, dvds, etc.)?

Are there any alternatives to retrieving product information (cds, dvds, etc) other than using Amazon Associates Web Services? What I need to support is the ability for a user to retrieve product details (preview image, reviews, UPC number, etc.) from a product name and type. ...

How to work with objects using Dynamic WCF?

We currently have developed an application using WCF. Our clients make connections to different WCF servicehosts located on the server, and the servicehosts return the data from the DB that the clients need. Standard model. However, this current design has all of our WCF data in app.config files both on the client side as well as the ser...

Serializing Name/Value Pairs in a Custom Object via Web Service

This is a very complicated question concerning how to serialize data via a web service call, when the data is not-strongly typed. I'll try to lay it out as best possible. Sample Storage Object: [Serializable] public class StorageObject { public string Name { get; set; } public string Birthday { get; set; } public List<NameValueP...

Where can I find a good documentation about the core concept of REST?

I found a good description on wikipedia with a few reference links, but there may be better ones, please help me to find these! To be clear, I am not looking for implementation for any language specific implementation guides, just the pure concept. ...

Some good example of RESTful web api?

Can you suggest some good example of some real-world and really well-done REST web api? ...

How do I get access to SOAP response

(If anything here needs clarification/ more detail please let me know.) I have an application (C#, 2.* framework) that interfaces with a third-party webservice using SOAP. I used thinktecture's WSCF add-in against a supplied WSDL to create the client-side implementation. For reasons beyond my control the SOAP message exchange uses WSE2...

Calling Webservices in a loop won't execute the custom OnSuccess function

Hi there, I have a problem. I am coding using VS2008. I am calling webservices from my Javascript Page. An example Services.ChangeDropDownLists.GetNowPlayingMoviesByLocationSVC( blah, OnSuccessMoviesByRegion, OnError, OnTimeOut ); after execution it goes to the function OnSucc...

Why is the WebService not working?

function AddTheatres() { Services.AdminWebServices.AddTheatresSVC(oTheatres,OnSuccessTheatres,OnError,OnTimeOut); } function OnSuccessTheatres(result1) { Services.AdminWebServices.AddTicketPricesSVC(oTicketPrices,OnSuccessTicketPrices,OnError,OnTimeOut); //working } function OnSuccessTicketPrices(result2) { alert(result2); //...

Can anyone show me a good source to learn web services?

I currently don't know any thing about web services, except that they are used to allow an application to share its functions. Where & how to start? Does any book on web services work with me if I use PHP as my programming language? Does anyone know any IRC channel for help? Does anyone know of a directory for tutorials for a beginne...