Category Archives: web service

Supporting plural and singular parameters

This problem relates to all APIs I would say, but I’ll give an example. You have a service layer, a business layer, and a data access layer. An operation on the service layer for getting instances of a class by … Continue reading

Posted in guidelines, web service | Leave a comment

How to add custom policy assertions to a WCF service without using a custom binding

Recently I have been trying to work with the ws policy standard to add information to our service WSDLs. WCF has an extension point for doing just that, you can read a really good example of this WCF extension here. … Continue reading

Posted in .net, wcf, wcf behaviors, web service | 2 Comments

Automated Testing of WCF services

An outstanding issue on my project is that we don’t have the facility for our tester to test our WCF services without using our ASP.net front-end. The issue here is that we can (and do) put some code in our … Continue reading

Posted in testing, wcf, web service | 3 Comments

Consuming a WCF Service with an unmanaged C++ client with credential passing

After much hassle I eventually got this working. This post explains how I got it to work and will try and pull together several information sources I found during the investigation. Service, Step 1 – Bindings and Security To maximize … Continue reading

Posted in C++, development, interoperability, Security, unmanaged, wcf, wcf behaviors, web service | 5 Comments

How to make a visual studio web reference pass message credentials

As part of my investigation into interoperability of our services I have spent some time trying to consume one of a sample web services without using “Add Service Reference” (part of .net 3.0).  The standard way of consuming a service … Continue reading

Posted in .net, development, interoperability, Security, wcf, web service, wse | 1 Comment

How to setup a WCF service using basic Http bindings with SSL transport level security

In the .net 3.0 world you can use WS Http Bindings for your web services. Where your service has to be interoperable with other clients you can also expose a basic Http binding. This works fine, but you don’t automatically … Continue reading

Posted in development, interoperability, Security, wcf, web service | 8 Comments

When is interoperability not interoperable?

Having spent the past few days ‘proving our web service interoperability’ I have found that interoperability is all very well, but it can be a right royal pain. Our web services are WCF services using all the latest .net bells … Continue reading

Posted in interoperability, wcf, web service | Leave a comment