<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic ActiveX Programming For IP Camera in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/activex-programming-for-ip-camera/m-p/400612#M10216</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have created a wrapper class for calling the methods of ActiveX and I have API documentation for the ActiveX too but my problem is how to call methods or property in ABAP. I am not able to call the login method using the code&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;CALL METHOD me-&amp;gt;call_method&lt;BR /&gt;
 EXPORTING&lt;BR /&gt;
 p1 = '192.168.1.18'&lt;BR /&gt;
 p2 = 1&lt;BR /&gt;
 p3 = '80'&lt;BR /&gt;
 p4 = 'admin'&lt;BR /&gt;
 p5 = 'Admin@123'&lt;BR /&gt;
 method = 'Login'&lt;BR /&gt;
 p_count = 5.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;In GUI trace file I am getting following error&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(Error)(01.02.17 22:39:10.944):  CALL METHOD "Login"[DispID=-1] OF [#13/0x19743018/202/{E7EF736D-B4E6-4A5A-BA94-732D71107808}]&lt;BR /&gt;  #0: STRING "192.168.1.18"&lt;BR /&gt;  #1: LONG "1"&lt;BR /&gt;  #2: STRING "80"&lt;BR /&gt;  #3: STRING "admin"&lt;BR /&gt;  #4: STRING "Admin@123"&lt;BR /&gt;CMyAutomationDriver::CallMethod: GetIDsOfNames of  'Login' for object 13 failed with HRESULT = -2147352570 Description: 'Unknown name'&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;For reference here is the API reference for Login as given in document&lt;/P&gt;&lt;P&gt;Login device&lt;/P&gt;
	
Function:&lt;P&gt;	
Login (szIP, iPrototocol, iPort, szUserName, szPassword, options)
	
Instruction:&lt;/P&gt;&lt;P&gt;	
login device&lt;/P&gt;&lt;P&gt;	

	
Parameter:&lt;/P&gt;&lt;P&gt;	
szIP device IP address&lt;/P&gt;&lt;P&gt;	
iPrototocol 1: http protocol, 2: https protocol&lt;/P&gt;&lt;P&gt;	
iPort login the http/https port of devices, choose different ports according to iPrototocol&lt;/P&gt;&lt;P&gt;	
szUserName username&lt;/P&gt;&lt;P&gt;	
szPassword passward&lt;/P&gt;&lt;P&gt;	
options&lt;/P&gt;&lt;P&gt;	
optional parameter objects:&lt;/P&gt;&lt;P&gt;	
async&lt;/P&gt;&lt;P&gt;	
http interactive way, true: asynchronous, false:&lt;/P&gt;&lt;P&gt;	
synchronous&lt;/P&gt;&lt;P&gt;	
cgi&lt;/P&gt;&lt;P&gt;	
CGI protocol, 1:ISAPI, 2:PSIA. If this parameter&lt;/P&gt;&lt;P&gt;	
is not input, a kind of protocol that devices&lt;/P&gt;&lt;P&gt;	
support will be chosen.&lt;/P&gt;&lt;P&gt;	
success success callback function, there is one&lt;/P&gt;&lt;P&gt;	
parameter that represents the content of&lt;/P&gt;&lt;P&gt;	
XML.&lt;/P&gt;&lt;P&gt;	
error&lt;/P&gt;&lt;P&gt;	
failure callback function, there are two&lt;/P&gt;&lt;P&gt;	
parameters, the first is http status code, and&lt;/P&gt;&lt;P&gt;	
the second is the XML that devices return(may&lt;/P&gt;&lt;P&gt;be null)&lt;/P&gt;&lt;P&gt;Please help me out&lt;/P&gt;</description>
    <pubDate>Thu, 02 Feb 2017 10:23:41 GMT</pubDate>
    <dc:creator>former_member260843</dc:creator>
    <dc:date>2017-02-02T10:23:41Z</dc:date>
    <item>
      <title>ActiveX Programming For IP Camera</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/activex-programming-for-ip-camera/m-p/400612#M10216</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have created a wrapper class for calling the methods of ActiveX and I have API documentation for the ActiveX too but my problem is how to call methods or property in ABAP. I am not able to call the login method using the code&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;CALL METHOD me-&amp;gt;call_method&lt;BR /&gt;
 EXPORTING&lt;BR /&gt;
 p1 = '192.168.1.18'&lt;BR /&gt;
 p2 = 1&lt;BR /&gt;
 p3 = '80'&lt;BR /&gt;
 p4 = 'admin'&lt;BR /&gt;
 p5 = 'Admin@123'&lt;BR /&gt;
 method = 'Login'&lt;BR /&gt;
 p_count = 5.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;In GUI trace file I am getting following error&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(Error)(01.02.17 22:39:10.944):  CALL METHOD "Login"[DispID=-1] OF [#13/0x19743018/202/{E7EF736D-B4E6-4A5A-BA94-732D71107808}]&lt;BR /&gt;  #0: STRING "192.168.1.18"&lt;BR /&gt;  #1: LONG "1"&lt;BR /&gt;  #2: STRING "80"&lt;BR /&gt;  #3: STRING "admin"&lt;BR /&gt;  #4: STRING "Admin@123"&lt;BR /&gt;CMyAutomationDriver::CallMethod: GetIDsOfNames of  'Login' for object 13 failed with HRESULT = -2147352570 Description: 'Unknown name'&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;For reference here is the API reference for Login as given in document&lt;/P&gt;&lt;P&gt;Login device&lt;/P&gt;
	
Function:&lt;P&gt;	
Login (szIP, iPrototocol, iPort, szUserName, szPassword, options)
	
Instruction:&lt;/P&gt;&lt;P&gt;	
login device&lt;/P&gt;&lt;P&gt;	

	
Parameter:&lt;/P&gt;&lt;P&gt;	
szIP device IP address&lt;/P&gt;&lt;P&gt;	
iPrototocol 1: http protocol, 2: https protocol&lt;/P&gt;&lt;P&gt;	
iPort login the http/https port of devices, choose different ports according to iPrototocol&lt;/P&gt;&lt;P&gt;	
szUserName username&lt;/P&gt;&lt;P&gt;	
szPassword passward&lt;/P&gt;&lt;P&gt;	
options&lt;/P&gt;&lt;P&gt;	
optional parameter objects:&lt;/P&gt;&lt;P&gt;	
async&lt;/P&gt;&lt;P&gt;	
http interactive way, true: asynchronous, false:&lt;/P&gt;&lt;P&gt;	
synchronous&lt;/P&gt;&lt;P&gt;	
cgi&lt;/P&gt;&lt;P&gt;	
CGI protocol, 1:ISAPI, 2:PSIA. If this parameter&lt;/P&gt;&lt;P&gt;	
is not input, a kind of protocol that devices&lt;/P&gt;&lt;P&gt;	
support will be chosen.&lt;/P&gt;&lt;P&gt;	
success success callback function, there is one&lt;/P&gt;&lt;P&gt;	
parameter that represents the content of&lt;/P&gt;&lt;P&gt;	
XML.&lt;/P&gt;&lt;P&gt;	
error&lt;/P&gt;&lt;P&gt;	
failure callback function, there are two&lt;/P&gt;&lt;P&gt;	
parameters, the first is http status code, and&lt;/P&gt;&lt;P&gt;	
the second is the XML that devices return(may&lt;/P&gt;&lt;P&gt;be null)&lt;/P&gt;&lt;P&gt;Please help me out&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2017 10:23:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/activex-programming-for-ip-camera/m-p/400612#M10216</guid>
      <dc:creator>former_member260843</dc:creator>
      <dc:date>2017-02-02T10:23:41Z</dc:date>
    </item>
  </channel>
</rss>

