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 developerWorks profile is displayed to the public, but you may edit the information at any time. Your first name, last name (unless you choose to hide them), and display name will accompany the content that you post.

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]

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:  5140 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



Help: Update or add to My dW interests

What's this?

This little timesaver lets you update your My developerWorks profile with just one click! The general subject of this content (AIX and UNIX, Information Management, Lotus, Rational, Tivoli, WebSphere, Java, Linux, Open source, SOA and Web services, Web development, or XML) will be added to the interests section of your profile, if it's not there already. You only need to be logged in to My developerWorks.

And what's the point of adding your interests to your profile? That's how you find other users with the same interests as yours, and see what they're reading and contributing to the community. Your interests also help us recommend relevant developerWorks content to you.

View your My developerWorks profile

Return from help

Help: Remove from My dW interests

What's this?

Removing this interest does not alter your profile, but rather removes this piece of content from a list of all content for which you've indicated interest. In a future enhancement to My developerWorks, you'll be able to see a record of that content.

View your My developerWorks profile

Return from help

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=

Table of contents

Tags

Help
Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere).

My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Use the search field to find all types of content in My developerWorks with that tag. Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere). My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Try IBM PureSystems. No charge.