Squeak
  links to this page:    
View this PageEdit this Page (locked)Uploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
SOAP
Last updated at 1:23 pm UTC on 25 August 2005
Question: Is it possible to call a web service from Squeak?Alternate question - Does somebody have a good and simple solution for a communication between Squeak and Java applications.

Answer: Hans Nikolaus Beck July 07, 2004 There is a soap framework in squeak, and a soap based ORB (OperaORB)from Masashi Umezawa . But as far as I know there is no stuff to read WSDL informations or UDDI.

This page deals with XML RPC and - more specifically - SOAP and WSDL. The current hypeword is "Web Services".
SOAP and WSDL are quickly emerging as an important standard for distributed applications.
SOAP and WSDL should be supported by Squeak. The objective of this page is therefore to collect information which is or might be useful for implementors and those Squeakers who would like to use SOAP and/or WSDL.
SOAP ImplementationImplementorMore InformationComments
SoapOperaMasashi UmezawaSoapOpera0.5 has been completely rewritten. try it! (0.2 was based on Camp Smalltalk SOAP)
Camp Smalltalk SOAPCamp Smalltalk peoplehttp://wiki.cs.uiuc.edu/CampSmalltalk/SOAP+Smalltalk+Reference+ImplementationThe implementation is rather incomplete
Spray SOAPSteve Waringhttp://www.dolphinharbor.org/dh/projects/spray/index.htmlSupports SOAP 1.1 and WSDL 1.1. Some support for SOAP 1.2. (Currently for Dolphin Smalltalk)

See XML: Parsers for a Squeak-port of the XML framework which is the foundation for the Camp Smalltalk SOAP code

See also the page about "XML and DOM support for Squeak" XML and DOM in (on?) this Swiki.

A class named 'XmlRpcModule' exists in category 'Comanche-XML RPC' of the Comanche Squeak webserver but the class is not used in the change set. There are even methods named 'asSoapMessage' and 'asSoapDictionary' in classes 'XMLdocument' and 'XMLnode' respectively. Does anyone use any of these?
Bolot Kerimbaev wrote on July 25, 2000 to the Squeak list:
"A simple (see notice below) implementation is included with Comanche
(web app dev framework):
http://comanche.swiki.net
http://minnow.cc.gatech.edu/swiki/
"Notice: the XML-RPC and SOAP were started, but are not entirely
complete. The obvious big thing that's missing is a tighter
integration with Squeak, although some starting code is there.
Oh, and this includes my own XML parser - there are a few dozen
more out there in the Squeakville.
"I'm planning to take this implementation further to completion this
Fall, as it will be an essential component of another project.
I might completely discard my code in favor of Camp Smalltalk work,
since they've turned out tons of useful stuff (still have to dig
through for relevant treasures)."

There is a XML-RPC Server for squeak. It depends on Dustin Sallings' XML-RPC client. – Markus Fritsche
There is also SoapOpera Services Testing Site. Invoke these services from your workspace.
http://swikis.ddo.jp/umejava/4 – umejava

Work is also being done for an Object Request Broker Fly-By-Wire - A Squeak ORB.
See also rST - Remote Smalltalk and A Squeak ORB for related work.

References

SOAP and WSDL specifications

W3C SOAP 1.2
[Primer]
http://www.w3.org/TR/soap12-part0/
[Latest stable draft]
http://www.w3.org/TR/soap12-part1/
http://www.w3.org/TR/soap12-part2/
[Editor's copy]
http://www.w3.org/2000/xp/Group/2/06/LC/soap12-part1.html
http://www.w3.org/2000/xp/Group/2/06/LC/soap12-part2.html
SOAP 1.2 Mail Archives
[several authors of the SOAP standard and W3C-members
are participating here]
http://lists.w3.org/Archives/Public/xml-dist-app/
W3C WSDL 1.2
[Editor's copy]
http://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/wsdl12/wsdl12.html
http://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/wsdl12/wsdl12-bindings.html
WSDL 1.2 Mail Archives
[several authors of the SOAP standard and W3C-members
are participating here]
http://lists.w3.org/Archives/Public/www-ws-desc/

News about SOAP

The XML Cover Pages
Simple Object Access Protocol (SOAP)
[Updated frequently, entries are not ordered chronologically]
http://www.oasis-open.org/cover/soap.html
Soap.Weblogs.Com
[News about SOAP]
http://soap.weblogs.com/
SOAP - WebServices Resource Center
http://soap-wrc.com/webservices/
Web Services Developer Center
http://www.composable.com/wsdc/

XML and Smalltalk

XML: Parsers
SOAP Smalltalk Reference Implementation
[includes VisualWorks XML Framework]
http://wiki.cs.uiuc.edu/CampSmalltalk/SOAP+Smalltalk+Reference+Implementation
VisualWorks XML Framework
[probably the best Open Source implementation of a Smalltalk XML parser, included in SOAP Smalltalk Reference Implementation]
http://wiki.cs.uiuc.edu/VisualWorks/VisualWorks+XML+Framework
InDelv Smalltalk Open Source
[Problem.1: the Mozilla Public License seems to be incompatible
with the Squeak license.
Problem.2: there are several reports that it is technically inferior to the Cincom code]
http://www.indelv.com/open-source-smalltalk.htm
XML.smalltalk.org
http://xml.smalltalk.org/

XML RPC and SOAP

Lessons from the Component Wars: An XML Manifesto [Don Box, DevelopMentor]
[read this if you want to know why SOAP is important]
http://msdn.microsoft.com/workshop/xml/articles/xmlmanifesto.asp
An end to the Uber-Operating System [Dave Winer, UserLand]
[the author is the original creator of XML RPC]
http://davenet.userland.com/1999/09/12/anEndToTheUberoperatingSystem
Simple Object Access Protocol (SOAP) [DevelopMentor]
[DevelopMentor is one of the authors of SOAP,
the page has a few well-selected links to articles]
http://www.develop.com/soap/
SOAP Frequently Asked Questions [DevelopMentor]
http://www.develop.com/soap/soapfaq.htm
SOAP: Simple Object Access Protocol
[the specification]
http://www.msdn.microsoft.com/xml/general/soapspec.asp
http://www-4.ibm.com/software/developer/library/soap/soapv11.html
XML-RPC Home Page
[predecessor of SOAP]
http://www.xmlrpc.com/

Other useful information

Free XML tools and software
http://www.garshol.priv.no/download/xmltools/
IBM-SOAP
[IBM: "a Java reference implementation of the SOAP v1.1 specification" "We implement most of the specification as well as a few extras" The software is "released under the IBM Public License with full source"]
http://www.alphaworks.ibm.com/tech/soap4j

This page was originally created by Andreas Kuckartz