CodeFusion

Spring with WCF

05.05.2010

May is WCF month. Windows Communication Foundation is a Microsoft framework designed to aid the development of various services. We will use it mostly for Web Services development. They will be used in Java so we have to remember about few things:

Our generated WSDL needs to be as simple as possible. We must use as few namespaces as possible, otherwise there will be an explosion of objects on the other side of the wire. The WSDL needs to have the URL to the services not take the name of the server but, for example, from the configuration file (it’s as simple as adding one baseAddress in the System.ServiceModel.ServiceHost constructor). We don’t know what will happen, but it will be a lot of work.

«
»
strzałka do góry