web-services

Twitching Consumption of Web Services from Web Site to Web Application

I am trying to consume multiple Web Services that redefine some of the same common classes in their wsdl. I currently have them referenced in a Web Site, but I want to convert to Web Application. Since some of the same classes are redefined from multiple Web Service, the problem is that when adding them in a web Application there is no...

Managing web services in FlexBuilder - How does the manager work?

In FlexBuilder 3, there are two items under the 'Data' menu to import and manage web services. After importing a webservice, I can update it with the manage option. However, the webservices seems to disappear after they are imported. The manager does however recognize that a certain WSDL URL was imported and refuses to do anything with i...

Identifying ASP.NET web service references

At my day job we have load balanced web servers which talk to load balanced app servers via web services (and lately WCF). At any given time, we have 4-6 different teams that have the ability to add new web sites or services or consume existing services. We probably have about 20-30 different web applications and corresponding services. ...

Passing large files to WCF service.

We have an encryption service that we've exposed over net.tcp. Most of the time, the service is used to encrypt/decrypt strings. However, every now and then, we the need to encrypt large documents (pdf, jpg, bmp, etc). What are the best endpoint settings for a scenario like this? Should I accept/return a stream? I've read a lot about th...

Can a service have multiple endpoints?

We have a service that has some settings that are support only over net.tcp. What's the best way to add another endpoint? Do I need to create an entire new host? ...

Detecting Client Disconnects in Web Services

I'm using the Apache CXF Web Services stack. When a client times out or disconnects from the server before the operation is complete, the server keeps running the operation until it is complete. I would like to have the server detect when the client disconnects and handle that accordingly. Is there a way to detect when a client disconne...

Where WCF and ADO.Net Data services stand?

I am bit confused about ADO.Net Data Services. Is it just meant for creating RESTful web services? I know WCF started in the SOAP world but now I hear it has good support for REST. Same goes for ADO.Net data services where you can make it work in an RPC model if you cannot look at everything from a resource oriented view. At least from...

How to make a WCF service STA (single-threaded)

I have a WCF service which includes UI components, which forces me to be in STA mode. How do I set the service behaviour to STA-mode? ...

WCF: WTF! Does WCF raise the bar or just the complexity level?

I understand the value of the three-part service/host/client model offered by WCF. But is it just me or does it seem like WCF took something pretty direct and straightforward (the ASMX model) and made a mess out of it? Is there an alternative to using SvcUtil's command line step back in time to generate the proxy? With ASMX services a ...

How to promote WCF to a non-techie?

How would you describe and promote WCF as a technology to a non-technical client/manager/CEO/etc? What are competing solutions or ideas that they might bring up(such as those they read about in their magazines touting new technology)? What is WCF not good for that you've seen people try to shoehorn it into? ...

How to upload a file to a WCF Service?

I've build a WCF Service to accept a file and write it to disk. The front-end consists of a page with SWFUpload which is handling the upload on the client side. Apparently, SWFUpload posts the data with a Content Type of: multipart/form-data. I would think this ok but on the Service side I get an error. The error is "ProtocolException" ...

Accessing a web service in a Flash CS3 AS3 project.

Since CS3 doesn't have a web service component, as previous versions had, is there a good, feature-complete, AS3-only (no Flex dependencies) library for accessing web services with AS3? ...

Is there a free webservice available for song and album information?

I'd like to write a program to clean up my music collection and it would be nice to be able to query a webservice for song and album information. I'm not really thinking of a cddb/freedb type of situation where you hand them a hash based on the number of songs and the lengths, etc. I'm really thinking more of "hey, for this album from ...

Java Web Services API, however I can't run a JVM on my server

I'm trying to use some data from a PlanPlusOnline account. They only provide a java web services API. The server for the site where the data will be used does not allow me to install Tomcat (edit: or a JVM for that matter). I'm not going to lie, I am a Java software engineer, and I do some web work on the side. I'm not familiar with ...

Soap logging in .net

I have an internal enterprise app that currently consumes 10 different web services. They're consumed via old style "Web References" instead of using WCF. The problem I'm having is trying to work with the other teams in the company who are authoring the services I'm consuming. I found I needed to capture the exact SOAP messages that I'm...

Problem rolling out ADO.Net Data Service application to IIS

I am adding a ADO.Net Data Service lookup feature to an existing web page. Everything works great when running from visual studio, but when I roll it out to IIS, I get the following error: Request ErrorThe server encountered an error processing the request. See server logs for more details. I get this even when trying to display t...

Unique key generation

I looking for a way, specifically in PHP that I will be guaranteed to always get a unique key. I have done the following: strtolower(substr(crypt(time()), 0, 7)); But I have found that once in a while I end up with a duplicate key (rarely, but often enough). I have also thought of doing: strtolower(substr(crypt(uniqid(rand(), true)...

asp consuming a web service, what do do with recordset object ?

Currently I run an classic (old) ASP webpage with recordset object used directly in bad old spagethi code fasion. I'm thinking of implementing a data layer in asp.net as web serivce to improve manageability. This is also a first step towards upgrading the website to asp.net. The site itself remains ASP for the moment... Can anybody rec...

Web service - current time zone for a city?

Is there a web service of some sort (or any other way) to pull a current time zone settings for a (US) city. For the parts of the country that don't follow the Daylight Saving Time and basically jump timezones when everyone else is switching summer/winter time... I don't fancy creating own database of the places that don't follow DST. Is...

WCF, ASP.NET Membership Provider and Authentication Service

I have written a Silverlight 2 application communicating with a WCF service (BasicHttpBinding). The site hosting the Silverlight content is protected using a ASP.NET Membership Provider. I can access the current user using HttpContext.Current.User.Identity.Name from my WCF service, and I have turned on AspNetCompatibilityRequirementsMode...