web-services

Secure Webservice (WCF) without storing credentials on consumer application

Howdy folks, I have a customer that sells a lottery analysis application. In this application, he consumes a webservice (my service, I mean, belongs to the company I work for now) to get statistical data about lottery results, bets made, amounts, etc., from all across the globe. The access to this webservice is paid, and each consult co...

how can I future-proof migration of a ADO.net local data layer to a future web based interface (web-service or REST)?

Hi, BACKGROUND: I am working on a .NET WinForms application now (C#) with an ADO.net database for the data layer. QUESTION: How an I develop this now such that it would be easy to migrate to a model where the data layer is abstracted via a HTTP web-service or REST interface? For example would just use of a standard C# interface with...

traversal of multiple separate web services in a ring network

I am facing a design problem, here is some basic requirement: Aggregator 1. Separate service for blog,video,images and associations. 2. Each of the service should be completely separate, that means they run on separate tomcat. 3. And each aggregator must be able to query local database and other aggregators 4. Traversal of services mus...

What are some of the practical cons to using ASMX webservices?

Hello, at my workplace we are about to start a big project. My boss (a programmer, this is a startup) wishes to use ASMX webservices for this purpose. I do not want to start off a new program using deprecated technology and would like to show him this. I dislike WCF at this moment because it has such an extreme learning curve, but I'd ra...

Dynamic WebService implementation

I have a set of different interfaces and I need to give them access via web services. I have implemented this task in .NET as follows: dynamically generated interface implementation on the IL, marked methods with WebMethod annotation, and in *.asmx handler called generated stub. More needs to be able to change the method signatures (...

trying to find a web service

i am trying to find a web service that allows a user to send a company name (or better still will return a list of all company names, thus allowing the user to select one) and then get the share price, this will then feed in to another api - yahoo currency converter to work out the price of the share the issue i am having is that i cann...

NServiceBus - How do I call NSB via web service but asynchronously.

I want to achieve something similar to the webservice bridge sample but i don't want to wait for a response from the webservice. I want the call to be asynchronous. What is the best way to do this? Should I just use the webservice bridge and call ProcessAsync as opposed to Process? or Should I not use the webservice bridge and just crea...

Using WSS web services is there anyway to get the list of blocked file types?

Trying to move some attachments between a 2.0 and a 3.0 wss site. There are more blocked types in 3.0. I want to zip the attachements if one is on the block list. ...

CookieContainer with multiple domains

I have a rich client application that connects to a backing web service using ASP.NET web services. The underlying authentication method used for multiple requests is ASP.NET forms authentication (with the .ASPXAUTH cookie) I am extending the client to support communication with a webservice fallback url to provide some level of redund...

Why use Soap as authenitcation in webservice?

Hi I am looking at this tutorial http://www.codeproject.com/KB/cpp/authforwebservices.aspx and I am wondering what the reason for using authentication through soap is? Like why not just pass the username and password through the parameters instead? Is it more secure to do it like the way the guy is in the tutorial verus just using pass...

Is there any web service for getting tidal information outside the US?

Has anyone come across a web service or plugin/code/calculation for getting information on tides - namely high and low tide times? I only need this information for one location (outside the US) but I need it on an ongoing basis so a web service that I can hit once a day or something would be ideal. ...

How to consume REST in C# including PUT, POST and DELETE?

Hello, I have a REST webservice that I need to consume in C#. I need support for more than just GET requests though. I need everything that is done by REST including GET, PUT, POST, and DELETE. What is the best way of interfacing with this? I do not see anything for HTTPRequest to be able to do POST or anything other than GET unless you ...

Do you build retry logic into code that relies on resources outside of your control?

We are working on an ongoing project that relies heavily on 3rd party web services. By heavily, I mean that our web app can't function without this connectivity. Once we got to production we started seeing piles of intermittent web exceptions coming through our error logging routines. After many, many lost hours trying to figure out wha...

J2ME web service client

Hi all , I started to use the Netbeans 6.8 web service client wizard . I created a web service (.Net web service) witch return an object Data. The Data class , contains fileds with many types : int , string , double , Person object and array of Person object. I created the J2ME client code through the wizard and every thing seems ok ....

Retry web service call if authentication failure requires re-login

I'm consuming a web service from C#, and the web service requires a login call and then uses cookie sessions. The web service will time out sessions after a certain timeframe, after which the client will have to re-login. I'd like to find a way to automatically catch the soap fault the service sends back in this scenario, and handle it b...

Automatically extracting inline XSD from WSDL into XSD file(s)

I am using a third party Web Service whose definition and implementation are beyond my control. This web service will change in the future. The Web Service should be used to generate an XML file which contains some of the same data (represented by the same XSD types) as the Web Service plus some extra information generated by the progra...

Asynchronous Silverlight WCF callback

I've created my own WCF service and I've successfully been able to talk to it via my Silverlight client. I ran into an interesting problem on my asynchronous callbacks though. When my callback is invoked, I can't update any UI controls with the dreaded invalid cross thread access Here's what my callback function looks like private ...

Is it normal for a programmer with 2 years experience to take a long time to code simple programs?

Hi all, I'm a relatively new programmer (18 months on the scene), and I'm finally getting to the point where I'm comfortable accepting projects and developing solutions under minimal supervision. Unfortunately, this also means that I've become acutely aware of my performance shortfalls, the most prevalent of which is the amount of tim...

Should I use Base64 encoding or byte[] for returning binary data in .NET web service

I have a simple question. Should I return a byte-array or simply base64 encode my binary data, when exposing it through a web service in .NET? Is there any pros/cons with either method, which is mostly supported etc. ...

How to build secure webservices using multiple xsds?

Hi All, I m in process of building webservices, but all I have is xsd's. Lots of them. I have to build webservices using these xsds. How do I go about creating a WSDL using multiple xsds, embedding the input/outputs from xsds into the WSDL. Is there any tutorial , a book that details about building webservices. Also I need to secur...