The Order Submission XML Web Service
The OrderService provides the functionality for three tasks:
It allows the client to download product information through its GetPricingDataSet method.
It allows the client to submit a new order through the SubmitOrder method.
It allows the internal client to register for notification through the RegisterNotifyQueue method.
The structure of the OrderService is shown here:
Public Class OrderService Inherits System.Web.Services.WebService Private DB As New DBComponent.TransactTables() <WebMethod()> _ Public Function GetPricingDataSet() As DataSet ’ (Code omitted.) End Function <WebMethod()> _ Public Function SubmitOrder(ByVal order As Order, _ ByVal customerCode As Guid) As OrderState ...
Get Microsoft® .NET Distributed Applications: Integrating XML Web Services and .NET Remoting now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.