• 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

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
 
Does this tiny ad smell okay to you?
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic