This is the first walkthrough for the WCF Express Interop Bindings extension for Visual Studio 2010. By the end of this walk thru you shall have created and deployed a WCF service that connects to an Oracle WebLogic client.
- Download the Visual Studio Extension file from
- Double click on the extension and chose install
- The extension is supported on Visual Studio 2010 Standard and greater.
- If you had Visual Studio 2010 open, close it and re-open it.
- You can verify the installation by checking your Extension Manager in the tools menu.
Once installation is complete, It adds two new projects to your New Project Dialog:
The two new projects, Express Interoperable WCF Service Application (and Library), launch a wizard that take the user through few questions before creating an interoperable WCF service from scratch. You will use this WCF Service to directly connect to a
Java client on either IBM, Oracle or Apache servers.
- Choose an application project and type a name.
Screen #1: Interoperability Platform:
Simply choose the platform you wish to connect to. Currently the latest versions of all stacks are supported.
- For now choose Oracle WebLogic.
Screen #2: Main Settings:
Given that we are operating under the best settings discovered during WS-I testing and other efforts that Microsoft underwent during its interop testing. The choice of WS-* feature to enable becomes a single click. This extension assumes the settings of
the whitepaper for Oracle and IBM, and leverages the WCF settings we know best work with all four platforms.
Screen #3: Advanced Settings:
This optional screen provides the developer with a chance to enable MTOM, which is required for large binary file transfer over SOAP, and to further refine the selection of security algorithm that meets the organizations needs.
- Choose MTOM if you intend to transfer large files
Screen #4: Certificate Selection:
No more fiddling with specifying a certificate! choose a certificate from any of your local stores
- Click Finish, and wait while the project is created, the dynamic generated Express binding is created and attached to the newly created WCF service is created and configured with the settings you chose.
The output of this wizard is a ready to run WCF Service, that is already configured with all the settings that you would have taken days to figure out if you are new to this. The same settings can be recycled across projects, and further extended by simply
inhering the class that contains these settings.
<binding name="interopBinding" messageEncoding="Mtom">
<security mode="UserNameOverCertificate" establishSecurityContext="true" algorithmSuite="Basic256Sha256Rsa15" />
<reliableSession enabled="true" />
<add name="webLogicBinding" type="Microsoft.ServiceModel.Interop.WebLogic.Configuration.WebLogicBindingCollectionElement, Microsoft.ServiceModel.Interop, Version=126.96.36.199, Culture=neutral, PublicKeyToken=4fc38efee625237e" />
What you have now is a WCF service configured with the settings you need to connect to a weblogic server, without having to write a single line of code!
We hope you take this new bindings and enjoy the reduction in time, effort and configuration needed to connect .NET and Java services on premise and on the cloud. Our future plans are dependent on your feedback. Please drop me a line at
Abu Obeida Bakhach
Interoperability Program manager
Developer Platform Evangelism