Reference guide to create ATG Repository Web services:
In addition to any Web Services you create, the ATG platform includes a number of prepackaged WebServices that you can call from Java and .NET clients. These services are packaged in three separateapplication modules. You can include any of these services in an assembled EAR file by including themodule that contains the desired services.
For example, to include the prepackaged Commerce WebServices, specify the DCS.WebServices module when you assemble your application.
Application Module | Web Application | Web Services |
DAS.WebServices For more information about these Web Services, see the ATG Repository Guide. | Generic Repository Services | - getRepositoryItem - performRQLQuery - performRQLCountQuery |
DPS.WebServices For more information about these Web Services, see the ATG Personalization Programming Guide | User Session Messaging | - loginUser - logoutUser - getProfileId - setLocale - setContactInfo - setPassword - getProfile - createUser - updateUser - getPasswordHashKey - getPasswordHashAlgorithm - canClientEncryptPasswords - executeRepositoryTargeter - sendPageVisit - sendClickThrough |
DCS.WebServices For more information about these Web Services, see ATG Commerce Programming Guide. | Order Pricing Promotions Inventory Catalog Profile | - createOrderFromXML - submitOrderWithReprice - cancelOrder - getOrderStatus - getOrderAsXML - getOrdersAsXML - getOrderStatus - getCurrentOrderId - addItemToOrder - addItemToShippingGroup - createOrder - createOrderForUser - removeItemFromOrder - setItemQuantity - addCreditCardToOrder - addShippingAddressOrder - removePaymentGroupFromOrder - removeCreditCardFromOrder - removeShippingGroupFromOrder - moveItemBetweenShippingGroups - removeItemQuantityFromShippingGroup - setOrderAmountToPaymenGroup - getDefaultPaymentGroupId - getDefaultShippingGroupId - calculateOrderPrice - calculateOrderPriceSummary - calculateItemPriceSummary - grantPromotion - revokePromotion - claimCoupon - getPromotionsAsXML - getInventory - getInventoryStatus - setStockLevel - setStockLevels - getProductXMLById - getProductXMLByDescription - getProductXMLByRQL - getProductSkusXML - catalogItemViewed - setDefaultShippingAddress - setDefaultBillingAddress - setDefaultCreditCard - getDefaultShippingAddress - getDefaultBillingAddress - getDefaultCreditCard |
Step-1:
Include the DAS.WebServices module in your application to enable ATG rest web services to create ATG Repository web services.
Step-2:
Flow the screenshot step by step to create Repository Web service
Step-3:
use Repository Web Service to create Repository Web service
Step-4:
Select the repository componend to create repository webservices
Step-5 :
Select the Item discriptor to create repository webservices
Step-6 :
Select the method to get Item using repository webservices
Step-7 :
Provide values to create repository webservices EAR file.
Step-8 :
Provide values to create webservices web Application module.
Step-9 :
Provide values for session and security to create repository webservices.
Step-10 :
Click on create EAR File to create repository webservices.
Step-11 :
If EAR File created scucessfully it will give below success message.
Step-12 :
Once you have created an EAR file, you must deploy it.
In order to run the Web Service, these additional steps are necessary:
1. Use the runAssembler command to assemble a Nucleus-based application, using the
-add-ear-file flag to incorporate the contents of the Web Services EAR file.
Step-13 :
Deploy the assembled EAR file on your application server, and start up the application.
Step-14:
to Browse enabled web service use DynAdmin like below ,it will give list of enabled web services.