> From: Eugene
> What are Web Services and how would we do them using QM?
Sockets provide a low-level pipe for moving data.
Protocols like Telnet, SMTP, HTTP, and FTP are designed to move
data over a socket in a specific way.
Web Services provide a general purpose pipe, usually according to
the SOAP specifications, so that you can move any kind of data
you want between departments, companies, applications, and
devices.
The term "Web Services" most often specifically relates to a
well-defined XML document format (SOAP) which defines the
payload. Like EDI, the details of the SOAP payload often
requires discussion between the people on both sides of the pipe.
That sort of flies in the face of "general purpose", and it's one
of the reasons why Web Services isn't as ubiquitous as it should
be.
Look at a Web Service as a means of abstracting your MV
application, so that you can get other developers to use your
system, and you can make use of other applications, without
either side knowing how each back-end is doing their part. In
other words - your trading partners can integrate with your app
without ever hearing the word Pick. Web Services are also a
vehicle for exposing an API to your application so that someone
can develop a GUI for your app without knowing Pick or BASIC.
AJAX performs a "web service"-like function (note lower case) of
moving data around, but the structure of the data is completely
open to the developer. You could use AJAX to move data from a
browser to a web server, Web Services to interact between the web
server and your office (if the web server is hosted somewhere),
and something like QMClient to process the request with your
application. That's the nature of n-tier architectures.
For anyone selling an app, or end-users who get requests for
people to make use of MV-based data, creating a series of Web
Services is a fast and no-cost/no-cost way to add value to your
offering and make a lot of people happy.
Articles:
nospamNebula-RnD.com/spectrum/index.htm
Four-part series for Spectrum on Web Services explains how .NET
is and is not related to WS.
Blog:
nospamNebula-RnD.com/blog/tech/2007/02/soa1.html
That entry provides several examples for using Web Services as
part of Service Oriented Architecture. Most of my blogs are
related to this in some way, where Web Services can be used as
the connecting pipe with Flex/Flash, devices, Outlook and Excel,
trading partners, Twitter, Facebook, LAMP-based apps, and
anything else that you want to connect into MV.
Video:
nospamNebula-RnD.com/products/gallery.htm
See "Click this link to begin viewing a video which shows how to
create a .NET Web Service which extracts data from the MV DBMS
using mv.NET".
Tony Gravagno
Nebula Research and Development
TG@ remove.pleaseNebula-RnD.com
Nebula R&D sells mv.NET and other Pick/MultiValue products
worldwide, and provides related development services
remove.pleaseNebula-RnD.com/blog
Visit PickWiki.com! Contribute!
NEW: Follow TonyGravagno on Twitter