web-services

Access control to web service

This is what I wish to achieve: My ASP.NET web service is hosted on a server called //service. I want to control access to the web service by server and by application as well. What I mean here is if I have two ASP.NET web applications (app1 and app2) hosted on a server called //web1 and I only want //web1/app1 to be able to call the we...

Stress testing web services - best approach

Hey, I have several web services I need to create for them some testing mechanism and to use it as a tool for stress testing. What's the best way to tackle this? ...

How to download file using web service in C#?

Hi all: How to download a file via web service ? And how the client application accept this? I write down the code as below in the client app, it throws an exception "Access Denied" wsDownload.wsDownloadFile downFile = new wsDownload.wsDownloadFile(); byte[] file = downFile.DownloadFile(strFileName, "", "", ""); MemoryStream mStream...

Anyone used mantis connect to submit a issue with an attachment?

Hi all. I'm having troubles adding an attachment to the mantis using mantis connect. I can attach a file to the issue, but when i download for instance an image, it always gives me an error when I try to open the image. I've many ways of reading the file to an byte array always with no success. Has anyone used the mantisconnect to subm...

HTTP status 403: Forbidden exception using certificate to authenticate ASP.NET web service

I posted days ago about access control to web service (http://stackoverflow.com/questions/390853/access-control-to-web-service). In short, I have an ASP.NET web service deployed on //service/webservice and I want my ASP.NET web application (app1) on the //web1 to access the web service with certificate authentication. I keep getting Syst...

MTU for WebServices

We have an ERP application which has all clients connect using WebService. My network engineer tells me that the MTU of the webservice is too small and we would like to increase it to improve performance. As far as I can tell there is no config section for MTU for dotnet web services. Any ideas on where we could configure this? ...

Webservice From SQL

Can I call a remote webservice from a Stored Procedure and use the values that areretuned? ...

Web Service Performance Issue

Greetings, I've got a simple asmx web service that just needs to log some information to a transactional database. However it is timing out for the client. The call to update the database just calls 1 stored procedure and I don't beleive it could be optimized further for better performance. I've been reduced to just logging the run u...

Return Object From Webservice

How can I retuen a Object from a web service: [WebMethod] public DataSet GetVendors(string Database) { SqlConnection sqlConn = new SqlConnection(); sqlConn.ConnectionString = GetConnString(Database); // build query string strSQL = @" SELECT [No_] AS [VendorNo], ...

Reuse/cache datatable in a web service

I have a web application that pulls a datatable and displays results. Due to the nature of the business all of the business rules are incorporated in dlls that the web app must pull from. Because there are multiple site and we don't want to include the core dll's in all of the many apps that are deployed we consolidate any calls to the c...

How to limit rate of requests to web services in Python?

I'm working on a Python library that interfaces with a web service API. Like many web services I've encountered, this one requests limiting the rate of requests. I would like to provide an optional parameter, limit, to the class instantiation that, if provided, will hold outgoing requests until the number of seconds specified passes. I ...

Why does the time matter in web services?

Hi, In WCF web services (or all web services?), if the client and server times are off you get a security exception. Can someone explain to me why this is? It is a pain if you are building client server services and the time has to be accurate? see: http://msdn.microsoft.com/en-us/library/aa738468.aspx ...

Generating PDF with Quick Reports behind a Delphi Web Server

I have a Delphi web server providing some web services*. One of them is supposed to generate and return a PDF report. The PDF creation is done with a QReport that is then exported into a PDF file with the ExportToFilter procedure. The routine works fine when called from within an application, but when called behind a TIdTCPServer, it h...

Web Service not caring about Timeout property

I'm using an automatically created (with wsdl.exe and the GUI-based "Add web reference" command) web service for LyricWiki.org. However, since my internet connection is sucking lately, it's been taking ages to complete and is annoying me. I'm trying to make it timeout in 2000ms by using the .Timeout property, but it still hangs. I also ...

Working with large wsdl, can we trim it?

My webservice provider give me a large WSDL file, but we are going to use only a few function inside. I believe that the large WSDL have negative impact to the application performance. We use the webservice in client appliction, startup time and memory usage are issues. Large WSDL means that jax-ws will takes longer to do binding and w...

What happens when a user closes their browser waiting for a long running web service call?

I have a similar issue like here: http://social.msdn.microsoft.com/forums/en-US/biztalkgeneral/thread/87d5a6ec-04ee-4c6f-8267-f526ee105f0b I have an asp.net web page that calls a BizTalk web service. The BizTalk orchestration does its stuff and returns a response to the asp.net page. The process could take up to a minute or two. I ge...

Can my .NET Web Services be considered as a RESTful interface?

Happy New Year. I have a bunch of SOAP Web Services. They all have an HTTP POST and GET interfaces along with the SOAP interface. I believe POST and GET are offered by default when building SOAP Web Services in .NET/Visual Studio. These methods either: (1) get information, e.g., provide your username, password and a transaction ID -> g...

Why use Web Services instead of RPC between two internal processes?

Can anyone suggest a good reason to use web services instead of RPC (not xml-rpc) as a comms channel between two C++ processes both of which will be developed by the same team? Note: Web services do not guarantee ordered delivery! ...

Examples of the best SOAP/REST/RPC web APIs? And why do you like them? And what's wrong with them?

At my company we're starting to branch into web APIs to access and update our data; initially for partners but then likely to the public in future. At the moment the way the API will look (e.g. SOAP, REST, RPC) is completely open and we haven't made any decisions yet, so I'm interested in both examples of web APIs people think are good, ...

Cocoa client/server application

Is there a way in Cocoa that is currently considered best practice for creating a multi-tier or client server application? I'm an experienced web developer and I really love Python. I'm new to Cocoa though. The application I'm toying with writing is a patient management system for a large hospital. The system is expected to store huge a...