The getOrderAsXML Web service returns the given order as an XML string using the GetService. The mapping file used is the outboundOrderMappingFileName. The XML must follow a schema that represents an order. For more information, see the Repository to XML Data Binding chapter in the ATG Web Services and Integration Framework Guide.

Servlet Name

getOrderAsXML

Input Parameters

orderId - The ID of the order to be returned as an XML string.

Output

An XML string valid against the schema.

Web Service Class

atg.commerce.order.OrderServices

Nucleus Component

/atg/commerce/order/orderServices

Executes within a session

Yes

WSDL URL

http://hostname:port/commerce/order/getOrderAsXML?WSDL

Endpoint URL

http://hostname:port/commerce/order/getOrderAsXML/getOrderAsXML

Method

getOrderAsXML(String pOrderId)

Security FunctionalName

orderManagement

Repository Component

/atg/commerce/order/OrderRepository

Item Descriptor

order