Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 703
  • Last Modified:

Need example of MFC server app with SOAP/HTTP client

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
tma050898
Asked:
tma050898
  • 6
  • 2
  • 2
  • +1
1 Solution
 
tma050898Author Commented:
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
 
jkrCommented:
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
Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

 
tma050898Author Commented:
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
 
Jaime OlivaresCommented:
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
 
Amritpal SinghCommented:
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
 
tma050898Author Commented:
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
 
tma050898Author Commented:
jaime,

I'm checking into your links. Thanks!
0
 
tma050898Author Commented:
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
 
Jaime OlivaresCommented:
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
 
tma050898Author Commented:
Thanks Jaime. I had found one, but the second is new to me.

Cheers,
Tom
0

Featured Post

Configuration Guide and Best Practices

Read the guide to learn how to orchestrate Data ONTAP, create application-consistent backups and enable fast recovery from NetApp storage snapshots. Version 9.5 also contains performance and scalability enhancements to meet the needs of the largest enterprise environments.

  • 6
  • 2
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now