This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Web Services and the fly likes Web Service API for Vendors? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "Web Service API for Vendors? " Watch "Web Service API for Vendors? " New topic
Author

Web Service API for Vendors?

Pmj Jaydev
Greenhorn

Joined: Apr 18, 2012
Posts: 1
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

Joined: Mar 28, 2012
Posts: 860

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

Joined: Jul 26, 2011
Posts: 299
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

Joined: Mar 22, 2000
Posts: 12268
    
    1
There already exists a Electronic Business XML standard - may be too complicated for your requirements but perhaps it can give you some ideas.

Bill

Java Resources at www.wbrogden.com
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Web Service API for Vendors?
 
Similar Threads
regarding auto mail system
Drawing graphs and charts
File Transfer - Web Services over FTP?
Welcome to Paul Monday
ServiceNow is hiring a Senior Web Application Developer in UK