Ewinger Klaus wrote:
> Hi Simon
> At DB2 Information Management Conference, IBM announced a
> new extension to UniVerse: U2 Soap Server. It is
> definitely the way to go for integration with .NET. As it
> fully supports WSDL, it plugs very nicely into Visual
> Studio 2003/2005. And Service Oriented Architecture (SOA)
> is the future!     
> The only disadvantage:
> It takes until August 2006 until it is available as part
> of UniVerse 10.2. But maybe IBM gives you an early
> version for beta testing? Give it a try!

I agree that SOA is a good direction, depending on the application, and I
look forward to seeing what IBM comes up with.  Until then, web services
can already be created quickly in Visual Studio with a Wizard and virtually
no coding.  The function that's exposed as a service can easily be a
wrapper around any call to a U2 business rule.  Diagram example:
  webserviceclient>net>webserver>webservice>wrapper>callBASIC

So all of the plumbing can be done up to the wrapper in a couple minutes,
then people are free to choose what goes into the wrapper to do that
callBASIC part.  Example:

[WebMethod]
public string WebService1(string theInput) {
// this is the wrapper, no hint here of underlying communications
        return myWrapper.WebService1(theInput);
}


// this function/method is in a class that's instantiated as "myWrapper"
above
public string WebService1(string theInput) {
  string result = "";
  mvEnvironment myEnv = new mvEnvironment();
  mvAccount myAcct = new mvAccount("uvnt");
  myAcct.CallProg("ws1",ref theInput, ref result);
  return result;
}

You can replace that second function with syntax from any product we've
discussed here without changing the web service code itself or the
interface presented to the client.  This example happens to use mv.NET.
You can even combine results from U2 and other environments, even calling
other web services, and return them as a single response.

Again, I'll be interested in what IBM comes up with, but I just did all of
this in less than 5 minutes to make sure I had my facts straight - what
else can IBM offer us that's going to take them a year to develop?

Tony
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to