Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Developing a new webservice in XCart 5

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 03-02-2016, 01:52 AM
  aneel13's Avatar 
aneel13 aneel13 is offline
 

Senior Member
  
Join Date: Jul 2015
Location: Dubai
Posts: 148
 

Default Developing a new webservice in XCart 5

Can someone please guide me through the steps which needs to be followed for starting with the development of a webservice in XCart 5?

Basically, this service will fetch product details from the site.
__________________
Regards,
Aneel Sarwar
X-Cart version: 5.2.10
Windows: 7
Modules: Free version modules
Reply With Quote
  #2  
Old 03-02-2016, 12:18 PM
  razortw's Avatar 
razortw razortw is offline
 

X-Cart team
  
Join Date: Feb 2015
Posts: 807
 

Default Re: Developing a new webservice in XCart 5

Hi there.
Are you building a system that should retrieve data from X-Cart and process it in its own backend?
If so, try REST API
* http://kb.x-cart.com/display/XDD/REST+API+documentation
__________________
Best regards,
Igor Pudovkin
X-Cart hosting team
Reply With Quote
  #3  
Old 03-03-2016, 02:05 AM
  aneel13's Avatar 
aneel13 aneel13 is offline
 

Senior Member
  
Join Date: Jul 2015
Location: Dubai
Posts: 148
 

Default Re: Developing a new webservice in XCart 5

Hi,

I just want to build a webservice which will fetch X-Cart data whenever that url is called with a post request, it will show the product details in xml format. This will be part of my plugin.

So I will be calling this webservice in my external website just for viewing purposes.

Should I go for REST API for this?
__________________
Regards,
Aneel Sarwar
X-Cart version: 5.2.10
Windows: 7
Modules: Free version modules
Reply With Quote
  #4  
Old 03-03-2016, 02:19 AM
  aneel13's Avatar 
aneel13 aneel13 is offline
 

Senior Member
  
Join Date: Jul 2015
Location: Dubai
Posts: 148
 

Default Re: Developing a new webservice in XCart 5

I don't want to use REST API because in that case my webservice will be dependent on that module. I want my webservice to be active and dependent only when my module is installed.
__________________
Regards,
Aneel Sarwar
X-Cart version: 5.2.10
Windows: 7
Modules: Free version modules
Reply With Quote
  #5  
Old 03-09-2016, 09:58 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Developing a new webservice in XCart 5

If you don't want to use the free REST API module, you can use its source code as an example to create your own module.
I believe the logic will be very close to the one that is implemented in REST API module.
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 09:22 AM.

   

 
X-Cart forums © 2001-2020