• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Web Service API for Vendors?

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

We've currently offline/FTP based solution through which our vendor provide product information which to be displayed on our website. However we would like to provide webservices API through which they can provide thier product information to us. Could you please suggest on basis of your experiance what would be better choice?

1. SOAP based Web service

2. REST based Web service

and what should be data exchange format SML, JSON , etc (Note currently it happes through files upload using FTP)

Thanks

 
Ranch Hand
Posts: 859
IBM DB2 Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
SOAP and REST have major differences.

SOAP requires a "contract" via a WSDL definition between the provider and the consumer.
SOAP can also allow complex types, multiple services at a single endpoint and comprehensive security.

REST is more simple and designed around basic HTTP operations, GET, POST etc.
REST is primarily URI based also.

I would look into your requirements, and pick the best technology for the deliverable.

WP
 
Ranch Hand
Posts: 491
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My favorite article in terms of decisions:

RESTful Web Services vs. Big Web Services: Making the Right Architectural Decision

http://www.jopera.org/files/www2008-restws-pautasso-zimmermann-leymann.pdf
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There already exists a Electronic Business XML standard - may be too complicated for your requirements but perhaps it can give you some ideas.

Bill
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic