Geeks With Blogs
RebelGeekz' Blog Overclocked brain at work!

Instead of lining up with Tim Bray's Loyal Opposition, I am joining the ranks of the Rebel Insurgency.
We have to take action with propositions, good or bad, and accept with humility that we screwed up things.

Here is my proposal:

0. Accept XML is not the best format for data exchange. (If not, we are losing our time)
1. Define a new format for universal data structures not for document markup (the simplest, fastest)
2. Redefine all specs to use the new format (XSD, WSDL, SOAP, UDDI)
3. Design a new envelope format for B2B exchange. (format I said, specs are ok)
4. Allow all kinds of document exchange (EDI, CSV, HTML, XML)

Now to the point:

1. Data comes in different flavors: values, lists, maps, binary
items=[one, two, three]
address=[city:'Miami',state:'FL']

2. Lower the entry barrier for programmers to accept the specs:
invoice schema:
sequence:
-  name: string max 4 required
-  address: Address max 1 optional
-  sex: choice(male,female,other)

3. Use the HTTP protocol for B2B-WS:
- a. Use REST for simple, one-to-many open implementations
- b. Use XPOST for B2B document exchange
- c. XPOST: envelope structure in the header:

POST microsoft.com/billing HTTP 1.1
msg-sender: dell.com/accounting
msg-receiver: microsoft.com/billing
msg-action: newinvoice.php
msg-replyto: dell.com/inbox/accounting
msg-faultto: dell.com/inbox/exceptions
content-type: application/edi

ISA|123|456|||X
GS|IN|789|001
ST|101|1234

4. Exchange any format available on earth (the greatest mistake was to make it XML only)

5. Discuss

XML sadists will want to burn me at the stake.
Here are my words to them:

Vive la revolution!

Posted on Wednesday, June 1, 2005 10:30 AM | Back to top


Comments on this post: WS-Rebel Insurgency

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © RebelGeekz | Powered by: GeeksWithBlogs.net