~ubuntu-branches/ubuntu/natty/xmlrpc-c/natty

« back to all changes in this revision

Viewing changes to Windows/UsingProxyDSP.txt

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2011-01-06 18:56:02 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20110106185602-09og2x3suqlzbf6s
Tags: 1.16.32-0ubuntu1
* New upstream version (stable release). LP: #659591.
  - No unresolved symbols in the shared libraries. LP: #690779.
  - Builds with --no-add-needed and --as-needed.
* Rename shared library packages.
* Add symbols files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
Using xmlrpc_cpp_proxy.dsp
 
3
 
 
4
While not included in the main xmlrpc.dsw file, this
 
5
xmlrpc_cpp_proxy.dsp, if added as a project to the xmlrpc solution,
 
6
will build bin\xmlrpc_cpp_proxy.exe and xmlrpc_cpp_proxyD.exe, for
 
7
testing using the default WinINET transport.
 
8
 
 
9
After you have loaded the xmlrpc_cpp_proxy.dsp, which adds an 
 
10
xmlrpc_cpp_proxy project, it is necessary to ADD a dependance on
 
11
the xmlrpc library, to complete the link.
 
12
 
 
13
To do this in say MSVC8, select the xmlrpc_cpp_proxy project, and right
 
14
mouse click, and in the context menu, select 'Project Dependancies...'.
 
15
And in the Project Dependancies dialog, check the xmlrpc proejct,
 
16
then [Ok] ...
 
17
 
 
18
To test your xmlrpc_cpp_proxy[D].exe -
 
19
 
 
20
 
 
21
1. In a console start the server, like -
 
22
 
 
23
bin/xmlrpc_sample_add_serverD 8080
 
24
 
 
25
Note, since this server opens a socket, you may have to enable it on some
 
26
anti-virus software that detects the socket being established, and
 
27
'Unblock' it in the Windows Security Alert system dialog that appears.
 
28
 
 
29
You can later remove this program from the Firewall exceptions, through
 
30
Control Panel -> Windows Firewall, selecting the 'Exceptions' tab, where
 
31
you can also disable this 'blocking' notification, but not recommended.
 
32
 
 
33
The server should start, and report -
 
34
Running XML-RPC server...
 
35
 
 
36
 
 
37
2. In another console run the cpp proxy client, with say -
 
38
 
 
39
bin>xmlrpc_cpp_proxyD http://localhost:8080/RPC2 null null
 
40
 
 
41
The client should connect to the server, and output a 'null' header,
 
42
and implementation file. If this functions, for a bigger example, try -
 
43
 
 
44
bin>xmlrpc_cpp_proxyD http://localhost:8080/RPC2 system systemProxy
 
45
 
 
46
and you should see a better example of a class header, and the 
 
47
implementation code ...
 
48
 
 
49
20 December, 2007
 
50
 
 
51
EOF