SOAP simple example

I'm a SOAP beginner.
I'm looking for a step by step simple example of how to use SOAP (client and server).
I need that example to be coded in C++ and it should compile and run both on WIN2000 and Linux.
I'm using Xerces-C in order to manipulate the XML document.
Thanks!
LVL 2
s_lavieAsked:
Who is Participating?
 
yerkanCommented:
Hi,

Have a look at those links. They are great articles. They are in Java however it can help you to understand the flow:

XML messaging, Part 1
http://www.javaworld.com/javaworld/jw-03-2001/jw-0302-xmlmessaging.html

XML messaging, Part 2
http://www.javaworld.com/jw-06-2001/jw-0622-xmlmessaging2.html

Clean up your wire protocol with SOAP, Part 1
http://www.javaworld.com/javaworld/jw-03-2001/jw-0330-soap.html

Clean up your wire protocol with SOAP, Part 2
http://www.javaworld.com/javaworld/jw-04-2001/jw-0427-soap.html

Clean up your wire protocol with SOAP, Part 3
http://www.javaworld.com/jw-06-2001/jw-0601-soap.html

Hope this helps,

  Yagiz
  http://www.erkans.com
0
 
mattykCommented:
This page contains a list of tutorials you may find useful

http://www.perfectxml.com/soaptutor.asp

-matty

0
 
ashish2kCommented:
Hi s lavie
I am also new in SOAP and I am also trying to implement Soap using White Mesa Soap Server. I am able to communicate with the server but I am getting few errors. The best site on net is www.vbip.com for this.
Please let me know if you need any other help.
Bye
Ashish
0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
s_lavieAuthor Commented:
yerkan,
Thanks for your try, but there's no much help.

mattyk,
I'm currently evaluating your suggestion - it takes some time.

ashish2k,
Do you code in C++ or VB?
I'm looking for a C++ solution.
By being able to communicate with the server, you mean invoking POST from the client? If so, can you post the relevant code, please? If not what exactly do you mean?
0
 
ashish2kCommented:
Hi S lavie
Actually I also want a code in C++ to communicate with the SOAP web server but for the time being I have got a code in VB and Javascript with which I am trying to communicate with the server and getting a response back. If you want the code the code for server side should be written in VB and then a dll should be made with that then after that you have to register that dll in the server and you have to use that dll in a Microsoft Soap Toolkit 2.0 then WSDL and WSML files will be made from that and asp file also then you can copy these files on the server and using javascript I am trying to call the method which I have written in Vb .If you want the code pls let me know. I will give you the full code.
But in the mean time if you get any other good resource of SOAP pls let me know also.
Bye
Ashish
0
 
s_lavieAuthor Commented:
No thanks ashish2k,
At the moment I'm looking for a pure C++ solution.
I'll inform you if I find one.
Did you take a look in: http://www.whitemesa.com/wmsoapsvc_about.htm ?
0
 
ashish2kCommented:
Hi S lavie
Yes I had seen that.
I have got a site and soap client in C++ .
I think this will be helpful to you.
http://www.sqldata.com/soapclient/SoapClient30.htm
You can go through this site and download this Soap Client and their are other utilities also available on the site.Please do read them and let me know if you require any other information.
Bye
Ashish
0
 
NetminderCommented:
Per recommendation, force-accepted by
Netminder
CS Moderator
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.