web-services

MySQL -> RESTful API

Is there anything out there that given a MySQL database can create RESTful webservice endpoints? I'm ok with it doing stupid basic things to start with, as long as the data model is tunable after. For bonus points it could understand foreign keys to join data, and create searching endpoints for indexed columns. ...

How to call a web service's method with actionscript 2.0

Hello, I'm new at flash and I'm trying to access a .net web method I've created from Flash CS3, using AS2. The problem is I cannot make this work. The code is the following: `import mx.services.*; var myXml:XML = new XML(); var ws1:WebService = new WebService("http://localhost/manyworlds/mwframework/webservices/statisticscharts.asmx...

design considerations for a WCF service to be accessed 500k times/day

I've been tasked with creating a WCF service that will query a db and return a collection of composite types. Not a complex task in itself, but the service is going to be accessed by several web sites which in total average maybe 500,000 views a day. Are there any special considerations I need to take into account when designing this? ...

What are the differences between WCF and traditional ASP.NET Web

I am new to WCF and Web Services in general. What are the improvements that WCF brings to the table? Can anyone give a side-by-side example of a traditional web service and the same one written using WCF and point out the differences and advantages? Duplicate question http://stackoverflow.com/questions/406665/moving-asp-net-webservi...

Can anyone recommend a VIN decode service?

Hi, I'm looking to implement a VIN (Vehicle Identification Number) validation and decode for a site I'm working on specifically for Canada. We only want limited vehicle information Make, model and year. I'd like to call it via a Rest webservice (but SOAP would be ok) and don't currently require bulk decode. Can anyone recommend a ...

Consume WCF Web Service using Objective C on iPhone

I am having a hard time consuming a very simple (Hello World) WCF web service in my iPhone app. From what I have read, you must manually create the request message then send it to the web service URL. I was able to accomplish this on a .asmx web service, but not with a WCF service. How do I know the correct format of the request SOA...

Tracing Request Content Issued By Visual Studio Generated Web Service Proxy

I have a web reference proxy built up by the "Add Web Reference" feature in Visual Studio and need to trace/see the actual content it's posting to the remote web server. Can someone please tell me how I can do? Thanks! ...

fine-tuning WCF bindings

I've got a WCF service that is working for basic queries. I started with simply the default out of the box bindings (WSHttpBinding with default values). The data-contract is for an array of custom objects, each object comes to about 6k in size. When I send up to 5 of these (in a single transaction), it works fine. When I attempt to s...

Encoding key-value pairs in an RSS feed's URL

I've noticed that most websites don't set up their RSS feed URLs to make use of encoded key-value pairs that let one create specific queries, like the following fictional example: http://stackoverflow.com/feeds?tag=python&lang=en&minvotes=2 Is there a particular technical reason for this? Or am I just not finding the RSS feeds...

sharepoint web service Maximum request length exceeded even if the file is inside the max file size

Hi, I have configured the web.config to allow 50 MB <httpRuntime maxRequestLength="51200" /> but when I try to add an Atachment of 40MB to a sharepoint list it fails. But it works if I increase the maxRequestLength to 52 MB <httpRuntime maxRequestLength="53248" />. What is happening?? does the web service call increse the size of the ...

What is the difference between WCF and the RIA Services Domain Service Class?

I'm just introducing myself to the basic differences between Silverlight 3 and it's predecessor. Looking at Domain Service Class within RIA services, the execution seems quite a bit simplified. Can someone explain the basic differences between this and Windows Communication Foundation? Does the Domain Service Class employ WCF or som...

WCF: how to generate a single WSDL document, without WSDL:import?

Hi, I'm troubling into an issue... I'm trying to find a way to generate a single wsdl document from my WCF service, i.e. without any link to external documents. I've used FlatWsdl to remove all xsd:import links, bou my generated wsdl still contains a link to an external wsdl document via a wsdl:import declaration: <wsdl:import namespace...

Add values to web.config in webservice

I Need add custom values to AppSettings in a webservice i have this code, but nothing happens. procedure TWebService1.AddStrConn(KeyConn, ValueConn: String); var config : System.Configuration.Configuration; begin config:=ConfigurationManager.OpenExeConfiguration(System.Reflection.Assembly.GetExecutingAssembly().Location); config.AppS...

Fastest way to figure if remote host is reachable

Hi, Im implementing a project in java using webservices and I need to figure out if the service is running on a particular host:port. I can think of a couple of methods 1.Sockets 2.URLConnection class 3.Web service call with a 1 sec timeout Could you please quide me to the most efficient method. Thanks in advance. ...

How can we maintain State in Webservices ?

How can we maintain State in Webservices ? ...

Is javax.xml.soap better then apache cxf?

This week I had to look into a Java WebService project which was using SOAP packages javax.xml.soap.*. I have not used this before but the Apache CXF library to create a SOAP webservice. I have a question on javax.xml.soap.* Is it better then CXF in terms of performance? In terms of coding I see CXF is amazing as no need to worry a...

Web service and Log file Question

Hi How to write Log to Windows Log file ? (Windows XP) How to find the Virtual Directory of my Web service (from the Web service) ? thank's in advance ...

Why do my WCF service returning a FaultException, time out after 10 calls?

I have a WCF service that sometimes has to return a Fault. For some reason, the calls to my service begins to time out with the following error: "The request channel timed out while waiting for a reply after 00:00:59.8906201. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The ti...

calling wcf /web service from php/ruby

For my sins, I am in charge of developing a service for providing data to both our internal systems running .net apps as well as external systems running php. For the sake of future proofing, I want to ensure it is callable from ruby as well. My service will perform authentication and look up account details from a central user reposit...

How do you use the CopyIntoItems method of the SharePoint Copy web service?

I am attempting to load document files into a document library in SharePoint using the CopyIntoItems method of the SharePoint Copy web service. The code below executes and returns 0 (success). Also, the CopyResult[] array returns 1 value with a "Success" result. However, I cannot find the document anywhere in the library. I have two qu...