The software creates an XML Authentication Document designed for use with the Angel Web service.
To get started with this powerful tool, simply import the WebService::AngelXML::Auth module in your code and initialize a new object as follows:
use WebService::AngelXML::Auth;
my $ws = WebService::AngelXML::Auth->new();
Once you have created an instance of the WebService::AngelXML::Auth object, you can proceed on to generate your XML response. You can configure your response by calling the allow or deny method property of the object. For example, with the following code, the allow method is called when the test condition is true:
$ws->allow(1) if "test";
If the Angel Web Service requires the deny method, then it is configured by calling:
$ws->deny(1);
The default configuration is deny.
Finally, once you have configured your WebService::AngelXML::Auth object, you can print out the results of the XML response using the header and response methods of the object:
print $ws->header, $ws->response;
In conclusion, the WebService::AngelXML::Auth module is a powerful tool for creating XML Authentication Documents required for Angel Web Service. It's easy to use object-oriented interface makes it simple to generate XML responses with just a few lines of code.
Version 0.14: N/A