cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
Read only

sapcontrol from powershell returns no return value for ABAP/JAVA instance

Former Member
0 Likes
3,527

Hello,

I'm using thefollowing script to get the process list of an instance.

$proxy = New-WebServiceProxy -uri http://myserver.domain.de:50113?wsdl
$proxy.GetProcessList()<br>

Is the instance a hana database the return value is correct. But is the instance an ABAP/ASCS/JAVA/ASCS instance there is no return value.

Cannot find an overload for "GetProcessList" and the argument count: "0".
At line:2 char:1
+ $proxy.GetProcessList()
+ ~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodException
    + FullyQualifiedErrorId : MethodCountCouldNotFindBest<br>

I'm able to reqest the methods and GetProcessList is available.


Are there any restriction outside of an HANA enviroment?

br Patrick

View Entire Topic
RolandKramer
Active Contributor
0 Likes

Hi,

On ABAP system you would use the sapcontrol commands, as the wdsl URL only works for HANA

Note 2533003 - sapcontrol webmethods end with FAIL: NIECONN_REFUSED

Note 2631116 - Enqueue Server status: Running but not responding

Best Regards Roland

Isaias_SAP
Product and Topic Expert
Product and Topic Expert
0 Likes

Hello Roland,

The wdsl URL, in this case, is being provided by the sapstartsrv process, which is also running on ABAP and Java instances.

Thus, this is not restricted to a HANA DB system ;-).

Best regards,

IsaĆ­as