Develop > Controller layer > Management Center Web application > Map between the Management Center client and WebSphere Commerce nouns > Retrive Management Center objects by transforming Nouns into XML


XML output sample

This XML-formatted data is the result of the controller and serialization JSP sample pages.

This XML-formatted data is sent to the Management Center as a response to an URL request.

<?xml version="1.0" encoding="UTF-8"?>
<objects recordSetTotal="1" recordSetCount="1" recordSetStartNumber="0" recordSetReferenceId="74787c70-d095-11dc-b1fe-839f47a28653:1" recordSetCompleteIndicator="true">                  
<object objectType="Product" objectId="10252">                         <type><![CDATA[Product]]&gt;</type>                           <catenttypeId readonly="true"><![CDATA[ProductBean]]&gt;</catenttypeId> 
                        <catentryId><![CDATA[10251]]&gt;</catentryId>                            
                          
<ownerId><![CDATA[7000000000000000101]]&gt;</ownerId>                           
<partnumber><![CDATA[FULO-01]]&gt;</partnumber>                     
<onAuction><![CDATA[false]]&gt;</onAuction>                     
<catalogId><![CDATA[10101]]&gt;</catalogId>                           
<x_wartype><![CDATA[LIMITED]]&gt;</x_wartype>                           
<x_catentryId><![CDATA[10251]]&gt;</x_catentryId>                           
<x_warterm><![CDATA[30]]&gt;</x_warterm>                           
                          
<object objectType="CatalogEntryDescription">                                    
<languageId><![CDATA[-1]]&gt;</languageId>                                    
<catalogEntryId><![CDATA[10251]]&gt;</catalogEntryId>                                    
<name><![CDATA[White Fabric Roll Arm Chaise]]&gt;</name>                                    
<sDesc><![CDATA[Plumply padded for the ultimate comfort.]]&gt;</sDesc>                                    
<lDesc><![CDATA[Plumply padded for the ultimate comfort. Removable and reversible back cushion lets you adjust the comfort. Measures 39&quot; in width, 34&quot; in depth, and 34&quot; in height. Some assembly required.]]&gt;</lDesc>                                    
<keyword><![CDATA[]]&gt;</keyword>                                    
<fImage><![CDATA[images/catalog/FULO_01.jpg]]&gt;</fImage>                                    
<tImage><![CDATA[images/catalog/FULO_01_sm.jpg]]&gt;</tImage>                                    
<xdesc_published><![CDATA[1]]&gt;</xdesc_published>                                    
<xdesc_auxDescription2><![CDATA[images/catalog/FULO_01_sm45.jpg]]&gt;</xdesc_auxDescription2>                                    
<xdesc_available><![CDATA[1]]&gt;</xdesc_available>                           
</object>                           
<object objectType="CatalogEntryListPrice">                                    
<listpriceId><![CDATA[10251_USD]]&gt;</listpriceId>                                    
<catentryId><![CDATA[10251]]&gt;</catentryId>                                    
<defaultCurrencyCode><![CDATA[USD]]&gt;</defaultCurrencyCode>                                    
<USD><![CDATA[449.99000]]&gt;</USD>                           
</object>                           
<object objectType="CatalogEntryExtraProperties">                                    
<extraPropertiesId><![CDATA[10251]]&gt;</extraPropertiesId>                                    
<catalogEntryId><![CDATA[10251]]&gt;</catalogEntryId>                                    
<xprop_buyable><![CDATA[1]]&gt;</xprop_buyable>                                    
<xprop_state><![CDATA[1]]&gt;</xprop_state>                           
</object>                  
</object>         
</objects>

Related reference

GetCatalogEntry.jsp example

Serialization JSP fragment example


+

Search Tips   |   Advanced Search