File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Web Service API for Vendors?

 
Pmj Jaydev
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • 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

 
William P O'Sullivan
Ranch Hand
Posts: 859
Chrome IBM DB2 Java
  • 0
  • Mark post as helpful
  • send pies
  • 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
 
H Paul
Ranch Hand
Posts: 471
4
  • 0
  • Mark post as helpful
  • send pies
  • 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
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13048
6
  • 0
  • Mark post as helpful
  • send pies
  • 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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic