Skip to main content

By clicking Submit, you agree to the developerWorks terms of use.

The first time you sign into developerWorks, a profile is created for you. Select information in your profile (name, country/region, and company) is displayed to the public and will accompany any content you post. You may update your IBM account at any time.

All information submitted is secure.

  • Close [x]

The first time you sign in to developerWorks, a profile is created for you, so you need to choose a display name. Your display name accompanies the content you post on developerworks.

Please choose a display name between 3-31 characters. Your display name must be unique in the developerWorks community and should not be your email address for privacy reasons.

By clicking Submit, you agree to the developerWorks terms of use.

All information submitted is secure.

  • Close [x]

developerWorks Community:

  • Close [x]

Converting COM request to web service request

Kok Sing Khong (khongks@sg.ibm.com), IT Architect, IBM
Kok Sing Khong
Kok Sing is an IT Architect with Application Innovation Services, IBM Singapore. He is well-versed in various programming languages like C/C++, Java and C# and development platform like JEE and .NET. He holds a Master of Technology (Software Engineering) and a IBM Certified IT Specialist.

Summary:  Since its introduction, web service has become a standard mechanism for integration between applications. However, there are many applications written in languages that do not provide a strong support for web service - for example Visual C++ V6.0 or Visual Basic V6.0. One approach to enable these applications is to have an adaptor that can convert a request into a web service call. This tutorial describes how to develop this adaptor implemented as a DCOM server using C#. It basically receives a COM request and forward the request to a web service endpoint. It also provides steps on how to make a COM request in C++ and shows steps on how to implement a Java web service. In short, it demonstrates how web service interoperability on the .NET and JEE platform can be achieved. C# code is developed using Microsoft Visual Studio, while the web services is developed using Rational Application Developer V7.5 and deployed on the WebSphere Application Server V7.0 test environment.

Date:  12 Oct 2010
Level:  Intermediate PDF:  A4 and Letter (648 KB | 22 pages)Get Adobe® Reader®

Activity:  7826 views
Comments:  

Before you start

About this tutorial

This tutorial details the following steps:

  1. Develop a Java-based web service using Rational Application Developer V7.5
  2. Develop a COM server using C# using Visual Studio 2008
  3. Develop a COM client using C; that calls the COM server
  4. Enable to COM to be accessible remotely (DCOM)

Prerequisites

To develop the code, you need to following software:

  • Microsoft Visual Studio 2008
  • IBM Rational Application Developer for WebSphere Application Server V7.5

You can also choose to use IBM Rational Software Architect for WebSphere Application Server V7.5.


System requirements

To run the examples in this tutorial, you need a Intel machine running Microsoft Windows XP or above, with at least 2GB of RAM and 300MB of of free disk space.

1 of 5 | Next

Comments



static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=SOA and web services
ArticleID=550163
TutorialTitle=Converting COM request to web service request
publish-date=10122010
author1-email=khongks@sg.ibm.com
author1-email-cc=