Solved

.NET expert help required

Posted on 2003-10-22
5
177 Views
Last Modified: 2010-04-17
Hi,

Here is the requirement and I need an approach with regards to this.

I have java web services which exposes certain APIs. These services are running on APACHE AXIS 1.1. We need to build a .NET component as a middle layer which communicates with these web services. This .NET commponent should be used in VC++ 6.0 applications.

The approach we followed in this case was
1. Depoly the Java web service.
2. Create class library in .NET which communicates with the web service.
   Output is the DLL.
3. Use regasm.exe to register and create the type library [ tlb ].
4. Import the type library into VC++ application.

This works in case .NET framework is installed on the client machine.
I have got 5000 machines on which this VC++ application will be running on.
I do not want to install .NET framework on each and every client machine.

Please reply back or mail me in case you have different approach or go away with installation of .NET framework on client machines.

Regards,
Ravindra
0
Comment
Question by:gravindra
5 Comments
 
LVL 44

Accepted Solution

by:
Arthur_Wood earned 250 total points
ID: 9597851
"I do not want to install .NET framework on each and every client machine." Sorry to be the one to break the news, but if you are going to use .NET then you DON'T have a choice.  the Framework MUST - ABSOULTE Requirement, cannot be avoided - be installed on the target PC.

AW
0
 
LVL 1

Assisted Solution

by:ChuckSmith_Supernus
ChuckSmith_Supernus earned 250 total points
ID: 9598477
You could create a com component that uses  XML RPC or a SOAP message to communicate with your web service that you could call from VC++ 6.0. This component would have no dependency on .NET and would work just fine.  I have used XML RPC and SOAP from VB 6.0 to call web services on UNIX boxes running APACHE with no problems.  If you want to use a .NET solution then the framework is required. You would also have to use COM/Interop to allow your VC++ 6 application to use the .NET assembly.  If you dont want to have the framework installed on all the clients then I would go the standard COM route and build a consumer using the base technologies that are employed in calling a web service XML RPC and or SOAP depending on what your backend expects.

Good Luck
Chuck
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A short article about a problem I had getting the GPS LocationListener working.
If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now