Tuesday, 27 April 2010

Understand the usage of Soapgate Q!

A non developer test for Soapgate Q!
Not being a developer, the following test was helping me to understand what we have actually developed so far. This test was done with the Beta 1 version.

Soapgate Q! is the encapsulation of domino data via a webservice. It was developed for serving Flexgate Q!, the libraries that make it easy to develop in Flex for Domino. So understanding the basics of Soapgate Q! is a perfect start to fully understand the wrapper classes we created for Adobe Flex.
Soapgate Q! can be used with any system that can drive SOAP. If you need help for your system - just contact us.

To test it, create an open to anonymous access copy of the books demo db on my server (flexdemo.nsf). The same I applies to the Soapgate db is curently open to anonymous access (flex/soapgate.nsf).

I used a web tool for testing the Soapgate Q! web service...
http://www.soapclient.com/soaptest.html
Please use the IE7 or IE8 to see the results nicely formatted, Firefox and the others browsers display the returned XML unformatted (raw)

Enter the wsdl URL

We currently provide two versions of the web service:
http://www.flexdomino.net:81/soapgateq.nsf/DominoUtilityWebServices?wsdl
(doc literal, used by FlexGate Q!)

here is the wrapped version.
http://www.flexdomino.net:81/soapgateq.nsf/DominoUtilityWebServicesWrapped?wsdl
(wrapped, for .Net and other development)

Enter the values for the parameters (if you are a Notes/Doomino developer you probably know the meaning of the parameters, otherwise please refer to the documentation available for downlaod) and invoke...

SOAP Method : DBCOLUMN

CACHE: 1
SRVNAME: flexdomino/flex2domino
DBNAME: flex/flexdemo.nsf
VIEWNAME: booksflat
COLNUMBER: 1
MVALSEP: ,

This is the result:
< version="1.0" encoding="UTF-8">
- soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
- soapenv:Body>
- ns0:DBCOLUMNReturn xmlns:ns0="urn:DefaultNamespace">
ns0:DBCOLUMNReturn>Biographies & Memoirs/ns0:DBCOLUMNReturn>
ns0:DBCOLUMNReturn>Biographies & Memoirs/ns0:DBCOLUMNReturn>
ns0:DBCOLUMNReturn>Children/ns0:DBCOLUMNReturn>
ns0:DBCOLUMNReturn>Computer & Internet/ns0:DBCOLUMNReturn>
ns0:DBCOLUMNReturn>Computer & Internet/ns0:DBCOLUMNReturn>
ns0:DBCOLUMNReturn>Computer & Internet/ns0:DBCOLUMNReturn>
ns0:DBCOLUMNReturn>Computer & Internet/ns0:DBCOLUMNReturn>
ns0:DBCOLUMNReturn>Cooking, Food & Wine/ns0:DBCOLUMNReturn>
ns0:DBCOLUMNReturn>Cooking, Food & Wine/ns0:DBCOLUMNReturn>
ns0:DBCOLUMNReturn>Cooking, Food & Wine/ns0:DBCOLUMNReturn>
ns0:DBCOLUMNReturn>Entertainment/ns0:DBCOLUMNReturn>
ns0:DBCOLUMNReturn>Entertainment/ns0:DBCOLUMNReturn>
ns0:DBCOLUMNReturn>Entertainment/ns0:DBCOLUMNReturn>
ns0:DBCOLUMNReturn>Entertainment/ns0:DBCOLUMNReturn>
ns0:DBCOLUMNReturn>Entertainment/ns0:DBCOLUMNReturn>
ns0:DBCOLUMNReturn>History/ns0:DBCOLUMNReturn>
ns0:DBCOLUMNReturn>Medicine/ns0:DBCOLUMNReturn>
ns0:DBCOLUMNReturn>Medicine/ns0:DBCOLUMNReturn>
ns0:DBCOLUMNReturn>Medicine/ns0:DBCOLUMNReturn>
ns0:DBCOLUMNReturn>Mystery & Thriller/ns0:DBCOLUMNReturn>
ns0:DBCOLUMNReturn>Mystery & Thriller/ns0:DBCOLUMNReturn>
ns0:DBCOLUMNReturn>Mystery & Thriller/ns0:DBCOLUMNReturn>
ns0:DBCOLUMNReturn>Outdoooooors & Nature/ns0:DBCOLUMNReturn>
ns0:DBCOLUMNReturn>Outdoors & Nature/ns0:DBCOLUMNReturn>
ns0:DBCOLUMNReturn>Outdoors & Nature/ns0:DBCOLUMNReturn>
ns0:DBCOLUMNReturn>Outdoors & Nature/ns0:DBCOLUMNReturn>
ns0:DBCOLUMNReturn>Outdoors & Nature/ns0:DBCOLUMNReturn>
ns0:DBCOLUMNReturn>Philosophy/ns0:DBCOLUMNReturn>
ns0:DBCOLUMNReturn>Psychology/ns0:DBCOLUMNReturn>
/ns0:DBCOLUMNReturn>
/soapenv:Body>
/soapenv:Envelope>


You can do this test also with your data in your environment - go to http://www.flexdomino.net and register for the download of SoapGateQ! Beta.

If you require assistance contact andreas.rosen@qkom.de

No comments:

Post a Comment