// Zoo header files
#include "service.h"
			  
extern "C" {

	#ifdef WIN32
    __declspec(dllexport)
    #endif
	int Example( maps*& conf, maps*& inputs, maps*& outputs ) {
		
		maps* tmp;	

		tmp = getMaps( inputs, "optional_literal" );
		if (tmp != NULL) dumpMapsToFile( tmp, "tmp1.txt");
		
		tmp = getMaps( inputs, "optional_complex_type" );
		if (tmp != NULL) dumpMapsToFile( tmp, "tmp2.txt");
		
		tmp = getMaps( inputs, "mandatory_literal" );
		if ( tmp != NULL ) dumpMapsToFile( tmp, "tmp3.txt");
		
		return SERVICE_FAILED;

	}
  
}
