Siebel CRM Web Services Reference > Primary Web Services for Siebel CRM 8.0 >

CalculatePriceWS


Use this Web service to calculate the document's quote price.

CalculatePriceWS Operations

For a list of operations associated with this Web service, see Table 19.

Table 19. CalculatePriceWS operations
Name
Description

CalculatePrice

Invokes the Web Channel Pricing Driver Workflow to calculate the price for the input quote document.

Request Message Description: CheckQuoteEligibilityCompatibility

For a description of this request message, see Table 20.

Table 20. Request Message Description: CheckQuoteEligibilityCompatibility
Node
Description

QuoteIO

Required. An instance of the integration object PDS Quote.

Response Message Description: CheckQuoteEligibilityCompatibility

For a description of this response message, see Table 21.

Table 21. Response Message Description: CheckQuoteEligibilityCompatibility
Node
Description

QuoteIO

An instance of the integration object PDS Quote.

CalculatePriceWS Application Interface

This topic describes the application objects called by the this Web service. For more information on application implementation, refer to your application development documentation on Oracle Technology Network.

This Web service invokes the Web Channel Pricing Driver WorkflowWorkflow. The input and output are based on the PSP Common integration object.

This is the Web service version of the PSP Driver Workflow Process. For a description of the workflows steps, see Table 22.

Table 22. PSP Driver Workflow Process
Name
Type
Business Service
Method
Sub process
Description

Transfer Quote IO to PS

Business Service

EAI Integration Object to XML Hierarchy Converter

IntObjHierToPSHier

Not applicable

Converts input to the PDS Quote integration object to a property set hierarchy.

Get Context

Business Service

Context Service

GetRowSetData

Not applicable

Creates Context Row Set from the Property Set hierarchy.

Get RowSet

Business Service

Context Service

GetRowSetData

Not applicable

Creates Row Set from Property Set hierarchy.

Set Pricing Date

Business Service

Row Set Transformation Toolkit

Conditional Action Transform

Not applicable

Sets the Pricing Date to the current time stamp or the date provided by the Joint Workspace Scenario Builder.

Calculate Price

Sub Procedure

Not applicable

Not applicable

Dynamic Pricing Procedure

Calls the Dynamic Pricing Procedure to perform pricing.

Zero Out Totals

Business Service

Row Set Transformation Toolkit

Conditional Action Transform

Not applicable

Clears the price totals on the Context Row Set.

Totaling

Business Service

Row Set Transformation Toolkit

Conditional Action Transform

Not applicable

Calculates the Totals for the Non Recurring Charge and Monthly Recurring Charge on the Context Row Set.

Sync Row Set to PS

Business Service

Context Service

SetRowSetData

Not applicable

Writes the updated Row Set back to the Property Set Hierarchy.

Sync Context to PS

Business Service

Context Service

SetRowSetData

Not applicable

Writes the updated Context back to the Property Set Hierarchy.

Transfer from PS to IO

Business Service

EAI Integration Object to XML Hierarchy Converter

PSHierToIntObjHier

Not applicable

Converts the Property Hierarchy to the Integration Object Hierarchy.

Service Object (Business Service or Workflow)

For a description of the service objects for this Web service, see Table 23.

Table 23. CalculatePriceWS Service Object
Name
Boundary Object Type
Class (if BusService)

Web Channel Pricing Driver Workflow

Workflow

Not applicable

Data Object (Integration Object)

For a description of data objects for this Web service, see Table 24.

Table 24. CalculatePriceWS Data Objects
Siebel Repository Name
External Name

PDS Quote

Structure:

Header

|-----LineItem

|----- XA

PDS Quote

Methods

For a description of methods for this Web service, see Table 25.

Table 25. CalculatePriceWS Data Objects
Operation
Method

CalculatePrice

RunProcess

Example Package for CalculatePriceWS

To view an example of messages for this Web service, navigate to the documentation library for Siebel applications on Oracle Technology Network, and click the Related Files link next to the link for Siebel CRM Web Services Reference to access a zip file. Extract the files in the zip file.

Request

See the following file to view the sample code:

...\CalculatePriceWS\CalculatePriceWS_request.xml

Response

See the following file to view the sample code:

...\CalculatePriceWS\CalculatePriceWS_response.xml

Message Schema (WSDL) of CalculatePriceWS

To view the message schema for this Web service, navigate to the documentation library for Siebel applications on Oracle Technology Network, and click the Related Files link next to the link for Siebel CRM Web Services Reference to access a zip file. Extract the files in the zip file.

...\CalculatePriceWS\http_siebel.com_OrderManagement_Quote_PSP_CalculatePriceWS.wsdl

Siebel CRM Web Services Reference Copyright © 2009, Oracle and/or its affiliates. All rights reserved. Legal Notices.