This content has been marked as final.
Show 1 reply
-
1. Re: I just need a little help to connect with eCommerce API. Could anyone please give a JAVA sample code
Anirudh88 Apr 6, 2014 11:36 PM (in response to Anirudh88)public static void main(String[] args) throws RemoteException, MalformedURLException {
String endpoint = "https://CC.sys.com/CatalystWebS1ervice/CatalystEcommerceWebservice.asmx?WSDL"; // endpoint url can be found under Site Settings -> API -> click on eCommerce and copy the URL on the browser here.
CatalystEcommerceWebserviceSoapProxy sq = new CatalystEcommerceWebserviceSoapProxy(endpoint);
Products[] prod = new Products[2];
prod = sq.product_ListRetrieve(Username , Password, SiteID, CatalogueID);
System.out.println(prod[1].getDescription());
}
