web-services

Python vs PHP for Web Service development

Hello, This question is running a danger of being marked as already asked. I've went through similar posts on stackoverflow and other sites and was not able to find an exact answer. I am planning to write a simple web service which will be an interface to a cloud storage such as S3. In addition it will perform various simple validation...

Persistent MySQL connections in Python

Hello, PHP provides mysql_connect() and mysql_pconnect() which allow creating both temporary and persistent database connections. Is there a similar functionality in Python? The environment on which this will be used is lighttpd server with FastCGI. Thank you! ...

iPhone WSDL service using HTTP POST and GET Bindings

I have a WSDL service that is working fine with .NET using HTTP POST Bindings, rather than using SOAP. The HTTP Post request returns the raw XML for the objects etc. removing all the overhead of SOAP. I would like to use this within the iPhone. I have located the tool at wsdl2objc tool (http://code.google.com/p/wsdl2objc/) however it...

Things to consider when exposing data as information according to XML

I understand that this is a broad question but I'd appreciate some input on this. I want to know what are some important aspects to consider when a team decides to expose their data to the outside world. This will have to be done via webservices right? I believe security and network latency would be the biggest points but then are t...

Mocking Web Service Response | Bundle couple of them in a web app

I am working in an enterprise project and my team is responsible for creating front end of the application and there is another team developing webservices and has provided WSDL for all the services that will be available as part of this project. In development phase our local dev environment will point to one of the development box of t...

what do contract-first and contract-last mean?

I am doing some research on web services. I have not written any web service but am doing a small write up on them. During my research I've come across terms contract-first and contract-last. Can someone explain these two in an understandable form. ...

C# webservice losing data on return

I am programming a client program that calls a webmethod but when I get the return data there are missing values on some of the fields and objects. The webmethod in turn is calling a WCF method and in the WCF method the return data is fine. But when it is passing to the webservice the return data is missing. Is there any way to fix th...

changing ASP.NET page timeout

I have an ASP.NET web application calling an ASP.NET web service which then itself calls into a report in reporting services for the report to be saved to a file. The whole thing is supposed to wait until the report is there and then return back up the chain with a downloadable pdf report. The problem is that the report takes longer ...

C# Fire and Forget call inside a WebMethod

We have a C# WebMethod that is called synchronously by a Delphi CGI (don't ask!). This works fine except when we switch to our disaster recovery environment, which runs a lot slower. The problem is that the Delphi WinInet web request has a timeout of 30 seconds, which cannot be altered due a Microsoft-acknowledged bug. In the disaster re...

Call WebService using HTTPWebRequest object

i want to consuming a web service with HTTPWebRequest object the web service may be written using java.(doon't want to consume adding web reference) ...

BlackBerry - Access to web service from real device

hi i have developed a application, that works fine on the simulator, now i want to test the application on the actual device. my application tries to access web services over the internet. I mean to say, the application makes SOAP request to web services. Also i am accessing the web services using https So in this case, do i need to firs...

ServiceKnownTypeAttribute doesn't pop up in WSDL

I have an service Interface: [ServiceContract] [ServiceKnownType(typeof(Models.ArticleImage))] public interface IPhotoManagementService { [OperationContract] bool Login(string username, string password); [OperationContract] bool IsLoggedIn(); [OperationContract] void UpdateImage(string articleID, string selectedImage); } As yo...

Designing a wrapper around a WCF web service for using generic CRUD methods - a good solution?

As you all know creating a web service with generic methods is not possible. You have to design the message. But I had the idea of creating a wrapper around WCF using Reflection. public class WcfRepository<T> : IWcfRepository<T> where T : class { public IList<T> GetList() { Type wcfService = typeof ...

Flex: Should I use web service calls in custom components or regulate them to main.mxml?

I'm attempting to code an RIA with loosely couple components. I have several custom components that use data from a web service I've decalred in main.mxml. As a best practice, should I make all of my web service calls in main and pass along the data to the components, or give the web service credentials to each component and let them ma...

VS 2008 wsdl tool converting xsd:positiveInteger to string

Hi there, I have a web service written in C++ using gSoap. One of the methods of the webservice is int HS__TBusinessComponentGetContents( xsd__positiveInteger pSession, xsd__positiveInteger pComponentType, xsd__string pPath, xsd__string pFilter, xsd__string pChangedAfter, xsd__positiveInteger pFlags, xsd__string &rResult); Using ...

Sending XML over HTTP in a simple, neutral way...

We have some standalone devices that will send XML messages to arbitrary processing software (may be developed by us, may be 3rd party) over HTTP. The messages are relatively simple, and will conform to an existing schema. No specific reply is necessary. I suddenly find myself lost in a world of web service technology jargon. I'd lik...

.NET ASMX - Returning Pure JSON?

I am going nuts here. I've looked at the following entries and none of them are correcting the aberrant behavior I am seeing: http://stackoverflow.com/questions/288850/how-to-return-json-from-a-2-0-asmx-web-service http://stackoverflow.com/questions/1678101/how-to-return-json-from-asp-net-asmx http://stackoverflow.com/questions/211348...

Webservice Wants Byte[] - How do I send that from PHP?

I've got a webservice written in c#, which accepts as a parameter an array of bytes (byte[]). I'm trying to consume the service using PHP, but am having problems getting the parameter to the correct type expected by the webservice. Anyone know how this is accomplished? ...

Zend Framework app as a web service

I'm developing a zend framework app that's just going to act as a web service. I have no need to ever output HTML at any point in the application and don't even want the overhead of creating empty view files. I want my app to output XML by default, JSON if requested (via the format parameter would be fine). Is there any way to do this ...

List of Web Services in ASP.Net

My application needs to calls a number of web services that I have running on different machines. The web services are the same, but there are multiple machines that provide the web service. My question is how to maintain a list of the web services so the user can pick which machine to run on? I've imported the web services to create ...