Samples
The Commerce Server SDK includes the following sample components:
- DumpOrder.vbs. A sample VBScript component for use with the Scriptor component. Files: \Microsoft Site Server\SiteServer\Commerce\SDK\ Commerce\Samples\DumpOrder.vbs.
- The MinMaxShip Sample. A sample component for the order processing pipeline, this example is implemented for the ATL, Java, and Visual Basic development environments. Building the Visual Basic version of this sample entails special considerations (see The Visual Basic MinMaxShip Sample).
The ATL version of the sample resides in \Microsoft Site Server\SiteServer\Commerce\SDK\Commerce\Samples\minmaxship\ATL.
The Java version of the sample resides in \Microsoft Site Server\SiteServer\Commerce\SDK\Commerce\Samples\minmaxship\Java.
The Visual Basic version of the sample resides in \Microsoft Site Server\SiteServer\Commerce\SDK\Commerce\Samples\minmaxship\VB.
- WriteToDB. A demonstration of an order processing pipeline component using ATL. Files: \Microsoft Site Server\SiteServer\Commerce\SDK\ Commerce\Samples\WriteToDb. To build this sample, you must download and install the OLE DB 1.5 software development kit. For information on where to get this SDK, and how to configure your development environment to build this sample, see The WriteToDB Sample.
- Test. A one-stage pipeline template that can be used for standalone pipeline component testing. This template resides in \Microsoft Site Server\SiteServer\Commerce\SDK\Commerce\Samples\Test\ PipelineTemplates
- PO850Template.txt. A sample template that can be used with MakePO to generate an ANSI X12 850 message, which is a purchase order (commonly referred to as an 850.) The template file resides in \Microsoft Site Server\SiteServer\Commerce\SDK\Commerce\Samples.
- CPC. The client payment component sample enables you to write your own payment method that plugs in to the Wallet. Files: \Microsoft Site Server\SiteServer\Commerce\SDK\Commerce\Wallet\Samples\CPCs.
- OtherCard. The Other Card sample enables you to write your own payment type, so that you can create a new credit-card type that plugs in to the Wallet. Files: \Microsoft Site Server\SiteServer\Commerce\SDK\ Commerce\Wallet\Samples\OtherCards.
- PaymentBuilder. This sample enables third-party encryption methods to plug into the Wallet's credit card component. Files: \Microsoft Site Server\SiteServer\Commerce\SDK\Commerce\Wallet\Samples\Payment Builders.
To build the Commerce Server 3.0 order processing pipeline component samples, you should configure your build environment to reference the following header files directory:
\Microsoft Site Server\SiteServer\Commerce\Sdk\Commerce\Include.
Note The samples included in the Commerce Server SDK were built using Microsoft Development Studio 5.0 on the x86 platform. To build these samples on the Alpha platform, you simply open the projects in Microsoft Development Studio for the Alpha platform. The Development Studio performs the project conversion automatically.
© 1997-2000 Microsoft Corporation. All rights reserved.