Simeon,
More a question of what the application design is really. If the user
can take things out of the cart herself - and either carry on browsing,
or submit the editted cart - then there isn't really a need for the
removeFromCart action.
It's a particular instance of my often-stated claim that no realistic
application would be ambivalent between by-value and by-reference. Which
one is used affects the inter-party "contract" and any particular
application is going to go one way or the other.
On this particular, I sent a longer message to the main list on 18 June
(subject: demo app and by-reference/by-value), but no-one responded.
Peter
> -----Original Message-----
> From: Simeon Greene [mailto:]
> Sent: 28 June 2004 23:29
> To: Furniss, Peter
> Cc:
> Subject: RE: [ws-caf-implement] Changes to Retailer.wsdl
>
>
> Peter,
> I'm not sure if I understand the question. You're saying
> what would stop a customer from removing items from the cart
> before submitting his order? Or what stops him from taking
> items out of the cart and then continuing to browse? Well I
> guess my answer to both of these questions is "nothing". I
> don't assume any problem here... and I'm not sure if you are
> assuming any as you've used the term "feature" to describe it.
> But... since the word feature can also mean bug, I'm hoping
> you explain the issue if any you see here.
>
> Regards,
> Simeon
>
>
> On Mon, 2004-06-28 at 17:54, Furniss, Peter wrote:
> > What is stop the customer just taking things out of the
> shopping cart
> > list in the context, before propagating it back to a store ?
> >
> > This would seem to be a feature of propagation by value.
> >
> > Peter
> >
> > > -----Original Message-----
> > > From: Simeon Greene [mailto:]
> > > Sent: 28 June 2004 20:00
> > > To:
> > > Subject: [ws-caf-implement] Changes to Retailer.wsdl
> > >
> > >
> > > The following changes were made to the attached
> Retailer.wsdl file:
> > >
> > > 1) Removed CustomerDetail from the submitOrderRequest message
> > > in the wsdl.
> > > <wsdl:message name="submitOrderRequest">
> > > <wsdl:part name="CustomerDetails"
> > > type="order:CustomerDetailsType"/>
> > > </wsdl:message>
> > >
> > > is now
> > >
> > > <wsdl:message name="getCatalogRequest"/>
> > >
> > > 2) Added a new operation: removeItemFromCart. To the
> > > RetailerPortType.
> > > This will make it easy to remove items from the shopping cart
> > > present in the context.
> > >
> > > Regards,
> > > Simeon
> > >
>
>