Resource Page DescriptionA Visual Studio 2008 / 2010 solution providing a WCF implementation of a Purchase Order / Confirmation scenario optimized for interoperability with SAP NetWeaver Application Server.
DetailsThis resource includes an ASP.NET "buyer" interface driving a WCF backend that can send a Purchase Order using the SAP ERP system's schema for such messages. It also includes a service accepting a Confirmation message back from (for example) SAP NetWeaver Application Server. In support of initial testing WCF to WCF, a simple "seller" service can receive Purchase Order messages and send corresponding Confirmation messages. To use:
- Download the provided Zip file and unzip into your Projects folder
- Create c:\bin directory to hold generated files
- Create c:\WCFLogs directory to hold trace files
- IIS process (e.g. NetworkService or ApplicationPoolIdentity) must be able to write into this directory
- Configure HTTPS (e.g. with a self-signed certificate) in IIS
- If you'll test between machines, ensure mutual trust of their HTTPS certificates
- Build using either Visual Studio 2008 or 2010 (click on the appropriate *.sln file)
- Find and replace "garnet2" to match your local hostname and port
- Local hostname is usually the common name of your self-signed HTTPS certificate
- Do not need to specify port if using default (443)
- Adjust SAP service locations (<client/> configurations) as necessary in Visual Studio if you'll use a real NetWeaver Application Server
- Build the solution
- Add top-level IIS application corresponding to c:\bin\SAPBusinessService, naming it "SAPBusinessService"
- Add IIS application within "SAPBusinessService" corresponding to c:\bin\SAPBusinessService\Seller, naming it "Seller"
- Optionally start console version of the seller application found in c:\bin\SAPBusinessService\Seller\bin\SAPBusinessService.exe
- Browse to http://localhost/SAPBusinessService and begin testing
- Ignore Target sellers which start with "SAP" unless you have a real NetWeaver Application Server available
|