Standard serializers and deserializers can handle some complex types, such as JMS messages sent to the ContentViewed
and ContentRecommended
ATG Web services. When Web services interact with proprietary technologies, such as RepositoryItems
, standard serializers and deserializers don’t understand the source data type so they aren’t able to recreate it.
A RepositoryItem
is a specialized JavaBean called a Dynamic Bean that produces basic get and set methods for the fields you define for it. Many complex items are stored by the ATG platform as RepositoryItems
. The following Web Services transmit content that’s natively stored as RepositoryItems
:
getProfile
getRepositoryItem
performRQLQuery
getOrderAsXML
(Commerce users only)getOrdersAsXML
(Commerce users only)getProductXMLById
(Commerce users only)getProductXMLByDescription
(Commerce users only)getProductXMLByRQL
(Commerce users only)getProductSkusXML
(Commerce users only)getPromotionsAsXML
(Commerce users only)
For these Web services, you can use the Atg.DotNet.WebService
API to serialize and deserialize related content. Descriptions for API classes are in Using the Atg.DotNet.WebService API to Serialize and Deserialize RepositoryItems. You can find this API in ATGWS.dll
, which you need to install in order to access them. See Installing ATGWS.dll.