Solved

Need example of MFC server app with SOAP/HTTP client

Posted on 2004-09-30
12
580 Views
Last Modified: 2013-11-25
I have an MFC application (server) that I wish to be automated via clients on a network using the SOAP/HTTP protocol. In other words, it'll run and carry out requests made by clients via SOAP/HTTP.

* Note that SOAP must be used as opposed to any other remoting technology such as .NET Remoting, DCOM, CORBA, etc.
* It must be MFC and not rely on .NET at all

I'm only looking for an example as I'll take that example and make it work with my application. However, this must be a fully-working example with source code that I can freely use.
0
Comment
Question by:tma050898
  • 6
  • 2
  • 2
  • +1
12 Comments
 
LVL 86

Expert Comment

by:jkr
ID: 12190927
0
 
LVL 3

Author Comment

by:tma050898
ID: 12191170
I need something that is MFC-based. ATL Server requires a server running IIS (i.e., a Web server). I need to be able to deploy the app on any box without restricting the user to having to have IIS or .NET installed.
0
 
LVL 86

Expert Comment

by:jkr
ID: 12191530
http://www.codeproject.com/soap/ also has a lot of samples - unfortunately, part of them are .NET or C#, so you might have to do some digging...
0
 
LVL 3

Author Comment

by:tma050898
ID: 12192036
Actually, we've been working on this for about 2 weeks now and can't find *anything* like what we want. Oh well. Thanks for the attempt.

Cheers,
Tom Archer
0
 
LVL 55

Accepted Solution

by:
Jaime Olivares earned 500 total points
ID: 12194579
Hi tom,
In such cases I think the best option is to use and translate a pure C/C++ implementation of SOAP, there are many in sourceforge.org for client/server sides:
http://sourceforge.net/projects/csoap/
http://sourceforge.net/projects/gsoap2/
http://sourceforge.net/projects/easysoap/
0
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 
LVL 6

Expert Comment

by:Amritpal Singh
ID: 12197449
for soap plz have a look at the following link
http://www.codeproject.com/soap/realtimestock.asp
for http have a look at  the following link
http://www.funducode.com/freevc/internet/internet4/internet4.htm

i hope they'll be of any help
BOL
0
 
LVL 3

Author Comment

by:tma050898
ID: 12199881
Thanks BOL, but this shows an MFC client, which is the part we've figured out. It's coding a SOAP server in MFC that we are having problems with.
0
 
LVL 3

Author Comment

by:tma050898
ID: 12199887
jaime,

I'm checking into your links. Thanks!
0
 
LVL 3

Author Comment

by:tma050898
ID: 12560408
Nice way to treat your customers - by threatening them. All you needed to do was to remind me of the question *without* the remark about a penalty.
0
 
LVL 55

Expert Comment

by:Jaime Olivares
ID: 12560440
Thanks Tom,
I have discovered these pages recently, maybe source code could be helpful:
http://www.whitemesa.com/wmsoapsvc_down.htm
http://www.endurasoft.com/vcd/soap1.htm
BR,
Jaime.
0
 
LVL 3

Author Comment

by:tma050898
ID: 12560459
Thanks Jaime. I had found one, but the second is new to me.

Cheers,
Tom
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

707 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

11 Experts available now in Live!

Get 1:1 Help Now