The Artima Developer Community
Sponsored Link

Agile Buzz Forum
Resource SOAP

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
James Robertson

Posts: 29924
Nickname: jarober61
Registered: Jun, 2003

David Buck, Smalltalker at large
Resource SOAP Posted: Dec 19, 2003 4:06 PM
Reply to this message Reply

This post originated from an RSS feed registered with Agile Buzz by James Robertson.
Original Post: Resource SOAP
Feed Title: Michael Lucas-Smith
Feed URL: http://www.michaellucassmith.com/site.atom
Feed Description: Smalltalk and my misinterpretations of life
Latest Agile Buzz Posts
Latest Agile Buzz Posts by James Robertson
Latest Posts From Michael Lucas-Smith

Advertisement

Here's an idea I've been persueing at work. I'm not sure what others think of it, so I'll throw it out there and see how it goes in the public realm..

Say we have a SOAP interface in to our system. We're going to bypass the WSDL for a moment and I'll explain why shortly.

The HTTP URL for a SOAP call isn't so useful, it's generally there to specify which 'container' you want to talk to. Sort of like an IP and Port number, but with an added path.

So what if we made the URL resource based - like REST is. Then the SOAP becomes an operation upon the resource you've specified.

The idea of SOAP is that all arguments to what you're doing are in the SOAP call, whether it be RPC or Document based doesn't matter so much. But this 'resource' we're talking about is another accessor entirely. I've called it 'context value'. The context is the service object initiating the SOAP call. At work I convert SOAP requests in to Smalltalk, and the Smalltalk can access the context and thus the resource being used for the soap.

Before I started doing this, every SOAP call had to include an accessor component to find the resource it was going to work on. Not only was this annoying and verbose programming, but the source of a resource can be quite varied in my system. The better way was to have a pipeline cocoon like strategy for fetching via 'generator', the resource to perform the operation on.

So! has any body else redefine the role of SOAP the way I have?

Read: Resource SOAP

Topic: client or server aggregator? Previous Topic   Next Topic Topic: This is how RSS will cross over

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use