Example #1
0
	// ************************************************************************ //
	// This routine registers the interfaces and types exposed by the WebService.
	// ************************************************************************ //
	static void RegTypes() {
		/* NmlxServiceSoap */
		InvRegistry()->RegisterInterface(__delphirtti(NmlxServiceSoap),
			L"http://www.nmlxgroup.com/", L"utf-8");
		InvRegistry()->RegisterDefaultSOAPAction(__delphirtti(NmlxServiceSoap),
			L"http://www.nmlxgroup.com/Nmlx_DataService");
		InvRegistry()->RegisterInvokeOptions(__delphirtti(NmlxServiceSoap),
			ioDocument);
		InvRegistry()->RegisterInvokeOptions(__delphirtti(NmlxServiceSoap),
			ioSOAP12);
		/* NmlxServiceSoap.Nmlx_DataService */
		InvRegistry()->RegisterMethodInfo(__delphirtti(NmlxServiceSoap),
			"Nmlx_DataService", "", "[ReturnName='Nmlx_DataServiceResult']",
			IS_OPTN);
	}
Example #2
0
// ************************************************************************ //
//  The following routine registers the interface and implementation class
//  as well as the type used by the methods of the interface
// ************************************************************************ //
static void RegTypes()
{
  InvRegistry()->RegisterInterface(__delphirtti(IBLTEST));
  InvRegistry()->RegisterInvokableClass(__classid(TBLTESTImpl), BLTESTFactory);
}
Example #3
0
// ************************************************************************ //
//  The following routine registers the interface and implementation class.
// ************************************************************************ //
static void RegTypes()
{
  InvRegistry()->RegisterInterface(__interfaceTypeinfo(IBLHomeSvr));
  InvRegistry()->RegisterInvokableClass(__classid(TBLHomeSvrImpl));
}