web-services

Do I need to make my web service secure?

Hello If I were to host a web service on the same machine as my web site, and pass sensitive information to it, do I need to call it using https? For example, I would reference it using localhost, so won't this information be secure as it's not being transmitted across an insecure channel? EDIT: I should mention that this web service ...

accessing class members of a webservice in silverlight

I am developing a RIA application in silverlight and my requirement is that I want to create a class in a webservice and that class will have some public properties. Theses properties I have to access in the silverlight application. I have created the webservice that’s not a problem . The issue is using that class's properties in the sil...

Restriction on the number of webservice call per minute

Is there a limitation of the number of webservice call per minute? If yes, where can I set the parameter? What is governing the limit of number of call per minute? It's the Apache, or the application itself? OK, maybe I should express myself clearer. I have two PHP applications. One is calling another one via webservice. And for the fir...

Integrating authentication between a web app and desktop app

Hi, I want to upload a file to a website via a desktop app and then take the user to the website. The website has a web service, but requires authentication as does the web site. Is there a way to do this without forcing the user to authenticate twice (once in the desktop app and once in the web browser)? Unfortunately, you can't prefi...

Using DefaultCredentials and DefaultNetworkCredentials

Hi, We're having a hard time figuring how these credentials objects work. In fact, they may not work how we expected them to work. Here's an explanation of the current issue. We got 2 servers that needs to talk with each other through webservices. The first one (let's call it Server01) has a Windows Service running as the NetworkServic...

Share a web service among projects

In one Visual Studio solution, I have several projects. A couple of them access a certain web service. How can I add a service reference once, and have it used by both projects? I do not want to create an extra assembly for the sole purpose of providing access to the web service. ...

C# Cannot call <function> because it is a web method

I have a custom C# component library (D1) that has a web reference, D1 is referenced by in library (D2) that makes call to methods in the web reference. D2 is loaded into a console application using reflection. When I reference D1 above, in a test console application and make calls to the methods in the web reference. However, when...

Transfer Images between iPhone and Web Service

Thanks in advance everyone! Background: I have a WCF web service running that is communicating with an iPhone app over SOAP. The WCF web service method is expecting a byte[]. Problem: Now I need to transfer images to and from the the iPhone app to the web service. I have been manually creating the SOAP request and sending it to t...

Writing a web application in excel? Why not?

Before you start flaming, I'm going to tell you that I am trying to convince myself that this is a bad idea. Basically, I'm trying to create a website with some basic accounting functions. My friend, a consultant who only knows excel, asked if this could be an excel spreadsheet instead of a web interface. I found myself thinking, why i...

Adding Cookie to SOAPpy Request

I'm trying to send a SOAP request using SOAPpy as the client. I've found some documentation stating how to add a cookie by extending SOAPpy.HTTPTransport, but I can't seem to get it to work. I tried to use the example here, but the server I'm trying to send the request to started throwing 415 errors, so I'm trying to accomplish this wit...

Consuming JSON-RPC web services in .NET

A business partner has suggested building a web services library with JSON-RPC rather that SOAP. (note they are not building in .NET necessarily, but I am) I am a potential consumer of this data. I've used JSON for client-based Ajax calls in the past, but this web services library will be used primarily for server-side calls and syncin...

Upload file to SharePoint WSS 3.0 with WebRequest PUT

Hey, I've got this nice little piece of code, much like all the other versions of this method of upload using WSS WebServices. I've got one major problem though - once I have uploaded a file into my doc list, and updated the list item to write a comment/description, the file is stuck there. What I mean is that this method will not overwr...

globalhost and localhost server simultaneously

i m running a website from a global webserver and a wants to store a data from a form to my localhost (like wamp) too........ is it possible..... ...

Queue Oracle transactions using PHP oci_pconnect function in a webservice

I have written a webservice using the PHP SOAP classes. It has functions to return XML data from an Oracle database, or to perform insert/update/delete on the database. However, at the moment it is using Autocommit, so any operation is instantly commited. I'm looking at how to queue up the transactions, and then commit the whole lot on...

Send binary file in web service soap response

Hi all, I have response stream from a ftp web request that returns binary file. I wanted to get the binary data into byte[] and then encode that array and send it as web service response. Stream responseStream = webResponse.GetResponseStream(); byte[] byteToEncode= ReadFully(responseStream,1024); String str=Convert.ToBase64String(byteT...

API to look up business name, given a specific location?

I'm really hoping there's an existing service for something like this. I have a location (could be GPS coordinates or a street address, I can use geocoding or reverse geocoding services to switch between them) and I want to find a business that's listed as being approximately at that place. If this service doesn't already exist, I'm thi...

Is my understanding correct about web APIs

Is it true that any REST based API to upload videos will always require you to have the video file on your server i.e. it is not possible to pass it directly to that web service? I am just trying to rule out all the possible APIs that are open to me. Anyone know of an API I can make use of to upload directly from the users machine so t...

Is there a way to take an XmlNode and display its data in a datagrid view?

I have spent about half a day searching for an answer to this question and am slowly becoming frustrated. I am working with a Web service that returns an XmlNode as its response. I would like to be able to take the XML data reference by the node and view it with a data grid view. Does any one know if this is possible? I am using the fo...

Web Service using old proxy settings?

I've got a rather confusing problem. Web Service A - Called directly by Win32 App, and various other web applications Web Service B - Called directly by same Win32 App and a different set of other Web Applications I'm working on adding a reference to B into A, so that we can use the functionality B provides without rewriting/reinteg...

WCF Service Client with svcutil ( no "extra" clientside-datatype def. )

Hi, i got the problem, that a WCF service ( generated with svcutil.exe ) generates it's own datatypes, instead of using the ones i already defined.. for example: The svcutil generated something like this: public partial class EmailTransactionRequestMsg : object, System.Runtime.Serialization.IExtensibleDataObject { private Sys...