Skip to search.
rest-discuss · REST Discussion Mailing List

Group Information

  • Members: 1401
  • Category: Protocols
  • Founded: Nov 13, 2001
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Messages

  Messages Help
Advanced
Idea: Simple Web Service Behaviour Language   Message List  
Reply Message #734 of 18829 |
Re: [rest-discuss] Re: Idea: Simple Web Service Behaviour Language

bhaugen32 wrote:
>
>...
>
> I'm having some trouble getting the business *conversations*
> RESTified correctly, though, and maybe you can help.

I think we can be mutually helpful here! I may have to be short today,
though. Other stuff to do.

> For example:
> The business protocol for a Order is Offer-Acceptance.
> A Purchase Order is an offer to buy.
> To be binding, it must be explicitly accepted by the supplier.
> The offer must have a time constraint - it is not good forever.
>
> So a Purchase Order as a Web resource is also an element in a dialog
> between Customer and Supplier.
>
> The offer-acceptance protocol for a Purchase Order in RosettaNet and
> ebXML includes stages of requesting and responding messages with
> timeouts:
> 1. The Customer places the Purchase Order.

POST.

> 2. The Supplier sends a receiptAcknowledgment quickly signifying both
> receipt and schema validation.

Response to POST. Generates a new URI representing the eventual target
of its acceptance or rejection.

Customer uses HTTPEvents to WATCH the new URI (call it /acceptance).

> 3. The Supplier sends an acceptance or rejection (for which they
> would typically have more time). Acceptance means contract formation
> or binding - a Purchase Order is a type of contract.

A notification comes through that the client should check /acceptance
because something has changed at the URI. The customer sees that
/acceptance says <accept/> (with a date, digital signature, contract,
list of things supplied, etc.)

> 4. The Customer sends a receiptAck of the acceptance or rejection.

Customer POSTs their ack with a digital signature and a URI pointing
back to /acceptance.

> There are reasons for these signals. If the receiptAck times out,
> the Customer may retry or go to another Supplier without wasting any
> more time. If the acceptance times out, the offer failed. B2B
> orders are usually not like consumer ones where the customer prepays
> using a credit card. B2B orders are often postpaid, on credit. So
> business state alignment is important: meaning both parties must
> agree explicitly and deterministically on whether the order was
> accepted (or not).

That's where the digital signatures and URIs help.

> "Business state alignment" implies that a Purchase Order has a state
> model: for example, pending, accepted, rejected, fulfilled, etc.
> (That was not a complete list of states, by the way.)

You might think of those as different kinds of resources, pending_po,
accepted_po, rejected_po, fulfilled_po. Because they all have URIs, you
can say: "LOOK, I rejected that PO. Here's the URI." Of course one
cannot necessarily trust one's business partner so you need to have a
mirror on your side also.

> Allowed actions will be constrained by PO state: for example, a PO
> in the "fulfilled" state cannot be canceled; a "rejected" order
> should not be fulfilled. In other words, orchestration of actions is
> conditioned by resource state. (Not by message sequence.)

Another good reason to have separate resources. A fullfilled_PO will
simply reject the cancellation POST.

> ebXML (among other initiatives) is attempting to express the
> orchestration rules as XML documents. Which means the business
> process can become a Web resource as well as the business objects. I
> think this is very similar to what Paul is trying to do with SWSBL,
> except that (1) it may be more complex than what you have in mind,
> and (2) the ebXML guys for the most part do not have a Web resource
> model in their collective mind.

Agreed.

I'll have to look at the rest of your stuff later.

I think it is important to show real business examples. I admit that I
think in terms of technology and not business. I just know from what I
hear from business people that the technological problems are similar to
more standard protocol problems.

Maybe we could work together sometime on an article about the
intersection of ebXML and REST. I think that the ebXML crowd should be
fertile ground for REST thought. Many of them are old SGML heads who
would understand the benefits of linking. Others probably have a sense
that the web services world is going in the wrong direction and would
like to see something going in the right one.

Paul Prescod



Fri Feb 15, 2002 6:49 pm

paul@...
Send Email Send Email

Message #734 of 18829 |
Expand Messages Author Sort by Date

... Right, right. The difference between what I was describing and what you're talking about --- the reason my model includes the base-uri --- is that we're...
Jeff Bone
jbone@... Send Email
Feb 15, 2002
6:54 pm

... I think we can be mutually helpful here! I may have to be short today, though. Other stuff to do. ... POST. ... Response to POST. Generates a new URI...
Paul Prescod
paul@... Send Email
Feb 15, 2002
6:57 pm

... state ... pending_po, ... you ... a ... PO ... actions is ... I'm trying to keep an open mind, but having trouble accepting the idea of separate resources...
bhaugen32 Offline Send Email Feb 16, 2002
3:52 pm

... I also really like the grounding in real business examples - especially a 'complex' message exchange like a purchase order and acknowledgment. My current...
Mike Dierken
mdierken Offline Send Email
Feb 18, 2002
5:35 pm

... especially a ... acknowledgment. My ... request/respones ... order in a ... messages are ... response ... order-ack is ... etc.) Depends on the context and...
bhaugen32 Offline Send Email Feb 18, 2002
6:31 pm

... The sender has a queue & stale messages will kick back a notification into an 'outer workflow' manager. ... It's out of band for our app - we just delivery...
S. Mike Dierken
mdierken Offline Send Email
Feb 19, 2002
1:49 am

... business ... whatnot, ... Got any ideas on how you might RESTify this app? Possibly relevant excerpt from REST Wiki FAQ: <quote> A good test of...
bhaugen32 Offline Send Email Feb 19, 2002
1:13 pm

... Yes - i've segregated the main 'methods' into.... post, reply, notify and get (there will probably be a put also) - so a small number of methods on a large...
S. Mike Dierken
mdierken Offline Send Email
Feb 20, 2002
3:45 am

... From: "bhaugen32" <bhaugen32@...> ... Any luck with getting someone to do a pure http binding for the Registry and Repository services? They seem...
S. Mike Dierken
mdierken Offline Send Email
Mar 6, 2002
5:27 am

... Registry and ... access ... ebXML is divided into a bunch of work groups. I work with the business process groups, not reg-rep, but know the leaders of...
bhaugen32 Offline Send Email Mar 6, 2002
12:36 pm

... I have this thing against registries, unless they're anything more than a list of URI like dmoz.org. The Web is so decentralized, that keeping metadata...
Mark Baker
distobj@... Send Email
Mar 6, 2002
5:28 pm

... From: "bhaugen32" <bhaugen32@...> ... http://conveyor.com/RESTwiki/moin.cgi/RestifyingEBXMLRegistry...
S. Mike Dierken
mdierken Offline Send Email
Mar 6, 2002
5:01 pm

... corral ... I read that. Seems a little tentative. Are you sure you are ready for engagement with people who may be skeptical? I suggest adding some...
bhaugen32 Offline Send Email Mar 6, 2002
5:07 pm

... I don't really have the time to become an ebxml reg/rep expert but I do feel that the ebXML world is a natural ally for the REST world because they seem to...
Paul Prescod
paul@... Send Email
Mar 6, 2002
5:31 pm

... to make ... best ... either. ... I do ... because ... centric. Mark, I don't understand why you are dismissing ebXML either. Especially since I'm here and...
bhaugen32 Offline Send Email Mar 6, 2002
6:58 pm

... It's not an entire dismissal, I'm just not prioritizing it very highly, especially when there's a lot more non-political battles to be fought. ... I've...
Mark Baker
distobj@... Send Email
Mar 6, 2002
8:10 pm

... Well, there's definitely conflicting goals there. It would not have been hard for them to decentralize without using REST, but they chose not to. So I...
Mark Baker
distobj@... Send Email
Mar 7, 2002
8:42 am

... Centralization can improve information longevity. For instance when you try to find a Java or Python library you often get a 404 but with Perl, once they...
Paul Prescod
paul@... Send Email
Mar 6, 2002
5:51 pm

... Agreed. My centralized/decentralized comment related only to the centralization of metadata. i.e. if I was told that http://www.yahoo.com identified...
Mark Baker
distobj@... Send Email
Mar 6, 2002
6:14 pm

... No - this isn't ready. It's only a place to start. I wanted to work out the actual REST details before showing it to actual ebXML working group members. ...
S. Mike Dierken
mdierken Offline Send Email
Mar 6, 2002
6:02 pm

... I think he was just saying that trying to get the regrep people (not ebXML in general) to move to a decentralized model would take more effort than he is...
Paul Prescod
paul@... Send Email
Mar 7, 2002
9:02 am

... I'm not personally interested in regrep, as I said, I think they went the wrong way. There are lots of groups within ebXML. I come from the Business ...
bhaugen32 Offline Send Email Mar 7, 2002
2:23 pm

... That sounds cool. But I still haven't made my mind up about DAML-S yet. I think I've read their docs 3 times by now, and it's still not sinking in for...
Mark Baker
distobj@... Send Email
Mar 7, 2002
3:26 pm

... not ... I haven't made my mind up either. When I said "technology neutral design", I meant as an ideal. The technology-neutral refrain in ebXML comes...
bhaugen32 Offline Send Email Mar 7, 2002
4:02 pm

... Just to clarify, is "ack" a business level ack ("got your offer, I'll check it out and get back to you"), or a transfer level ack ("received your...
Mark Baker
distobj@... Send Email
Mar 7, 2002
4:54 pm

... variation ... In RosettaNet and ebXML it's called "receipt acknowledgment" which means "message received" and "schema validated". It is business-level but...
bhaugen32 Offline Send Email Mar 7, 2002
11:11 pm

... Ok, so let's say we have this resource which is the thing that is being negotiated for; http://company1.com/thing So company2 becomes aware of this thing,...
Mark Baker
distobj@... Send Email
Mar 8, 2002
7:34 pm

... for ... that ... that ... together and ... Easy. ... The more interesting case... ... Very simple. Want to keep going? I'm interested to find out if this...
bhaugen32 Offline Send Email Mar 9, 2002
12:27 am

... I think so, except perhaps for that last sentence. The ack is returned as a response, not as a POST request, so technically the seller still "controls"...
Mark Baker
distobj@... Send Email
Mar 10, 2002
2:14 am

... time, ... deal is ... keep ... were ... Regardless of how the time constraint is expressed (an element of the Order document is fine with me), the issue I...
bhaugen32 Offline Send Email Mar 10, 2002
3:44 pm
 First  |  |  Next > Last 
Advanced

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help