- Introduction
- The Broker Client
- Broker Server
- Running the Broker
- Summary
Running the Broker
Before running the broker server or client, make sure that you have all the XML and XSL files in the same directory. After that, you can start the server by running BrokerServer.exe. Figure 2 shows the Broker Server window.
The server starts and waits for any client to connect to it. Run the BrokerClient.exe application to make a connection with the server and send the order (see Figure 3).
Figure 2 The broker server window.
Figure 3 The broker client window.
The broker client starts and send the order file to the server. The response is then stored locally in response.xml.
You can test the other action by changing the <type>saveinvoice</type> tag in order.xml to <type>mailinvoice</type>. You'll need to be connected to the Internet to complete this action.