It's not a secret anymore!
The moose likes Web Services and the fly likes Paypal - SOAP versus Name Value Pairs 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 "Paypal - SOAP versus Name Value Pairs " Watch "Paypal - SOAP versus Name Value Pairs " New topic
Author

Paypal - SOAP versus Name Value Pairs

michael warren
Ranch Hand

Joined: Oct 20, 2006
Posts: 50
Just reading chapter 6 of Pro Paypal ecommerce and am interested in how people feel about using SOAP as opposed to Name Value Pairs (pg116).
Although I've just done Sun's web service certification (or perhaps because of that ) I can appreciate the simplicity of the Name Value Pairs approach, and I think that is the approach I'd take to begin with although I'd be open minded and look at using SOAP if I started running into problems - but at the moment can't see any reason why I would.
damon williams
author
Greenhorn

Joined: Feb 03, 2005
Posts: 18
My general answer to this question is that it depends on your programming style. If you prefer an object-oriented approach, the SOAP request and response types have a robust schema that, which complex at first glance, is actually pretty well-designed.

Agreed that the name-value pair approach is simpler though. We've seen a lot of uptake on it since we launched it in February. The code is much shorter as well.
 
jQuery in Action, 2nd edition
 
subject: Paypal - SOAP versus Name Value Pairs
 
Similar Threads
How to design common data structure for communication between different tiers in J2EE
Pro PayPal E-Commerce, Struts integration?
what is NV list?
Servlet redirect to another server
HTTP Post and XML