Welcome!

SOA & WOA Authors: Patrick Carey, Greg Akers, Michelle Drolet, Richard Moulds, Jim Liddle

Blog Feed Post

WSSG

** Hot News **

Web Service Structure Generator


    Software Tool & Die Inc (STD) are pleased to announce a new free utility for automatically generating PowerBuilder structures for use when building .Net based web services. The Web Service Structure Generator (WSSG) utility is designed to compliment the STD Web Service Foundation Classes (framework) specifically work with PowerBuilder Classic. 

    The generator starts by introspecting any PBL (PowerBuilder Library) to see a list of DataWindow objects contained within. The WS PB developer can point the utility to any MS-Windows folder that may contain a PBL. From there, the generator displays a list of DataWindow Objects (DWO) contained in the selected PBL. Any SQL or External based DWO can be used to build a set of structures for to use in constructing an XML based result set. 

WSSG utility in action!

  For .Net based web services you need to build two structures. One that maps any DWO's primary buffer and a second structure that houses the first. The WSSG can build both structures by selecting the "generate parent structure" option on the lower left hand side of the "Structure Builder" screen. Once the DWO and parent structure option are selected, the "Generate" command button will allow the developer to select the target folder where the WSSG will build actual PowerBuilder object source code for the desired structure(s).

  For the Login DWO shown above, lets enter the structure name "login" when we select the "generate" command button. This will build two stuctures: "login" and "logins". The first login structure is the DWO primary buffer mapping and the next "logins" structure will house the first structure conforming to the XML standards required to define a Web Services result set.

  Once the two structures are built by the WSSG utility, all the PB developer needs to do to ready the structures for "action" is to use the RHMB on any PBL and select the "Import" menu option. This will now transfer the structures into working PB objects for use with the WS Foundation Class framework.
Actual WSSG generated structure

   I have now uploaded the new WSSG utility to the SourceForge website where you can download the utility for free use. I have also updated my latest "Web Services Test" application located in the Appeon Mobile beta framework area. Don't let the location fool you as this example Web Service client application can demonstrate a standard PB Client native windows application consuming the WS NVUO built from the WS framework. It can also build and deploy an Appeon Web and Appeon Mobile test client application that will test the WS NVUO as well.

   For the free WSSG utility and WS framework, please follow this link (click here). I hope all PB developers world wide can benefit from the WSSG utility and WS framework!


Enjoy ... Chris

Read the original blog entry...

More Stories By Chris Pollach

Chris Pollach is a Senior Consultant with over 30 years experience in Systems and Software Analysis, Development, Maintenance and Technical Support, mainly in the areas of GUI Design, MS-Windows Programming, Java / .NET Programming, Wireless, Application / Web Server Design & Programming, Object Oriented Development Tools and Methodologies, Data Base, Data Communications and Network application development. He has participated in numerous technical, planning and management roles, as well as consulted and educated in these fields for a diverse clientele. He is also the owner of “Software Tool & Die Inc.” a company dedicated to provide custom software and education solutions on Object Oriented business systems.

As an educator, Chris is certified to teach PowerBuilder (first in Canada), MS-SQLServer, Sybase’s Enterprise Application Studio and EAServer integrated application/web development environment. He is former Certified SilverStream developer (CSSD) and current Certified PowerBuilder Developer – Associate / Professional (CPD-P) as well as a Certified Sybase Tools Instructor (CSI).

Chris has written numerous articles in various popular personal computer magazines, newsletters and is the author of the PowerGuide and PowerExpert products as well as the STD Foundation Classes. Currently, Chris has developed a Foundation Class library for Sybase's PocketBuilder, SAP's PowerBulder and EAServer products and now Appeon Web & mobile products that integrates JSP or ASP web development, Section 508 / CLF web standards and mobile applications. A new Web Service framework has also been released for IIs to support PowerBuilder based web service NVUO's!

Chris recently became a 2nd Degree Black in the TaeKwonDo martial art and has developed a Martial Art multimedia study guide using the Component-One “Doc2Help” and Sybase PowerBuilder products. Since the fall of 2004 he became a TaeKwonDo instructor for the City of Ottawa’s Goulbourn program. He has also been certified with the World TaeKwonDo Federation (February 2005 - 1st Dan and October 2008 - 2nd Dan).

Chris was awarded the Sybase “Innovation and Achievement” award for 2005 as voted for by the International Sybase User Group (ISUG). This award was presented for innovations to the PocketBuilder mobile development product, contributions to the PowerBuilder News groups and support of the Ottawa Sybase User Group.

To round his management and leadership skills, Chris is the former president of the Kiwanis Club of Goulbourn and still volunteers his time with the service clubs in his area. He is also the coordinator of the Ottawa Sybase User group and a certified NAUI scuba instructor. For the last three years, Chris has been voted onto the ISUG Board of Directors and holds the position of "Director - North American User Groups".