on ‎2019 Feb 01 10:01 AM
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
Request clarification before answering.
isaias.freitas
Thank you for this Info, it was very helpful. I actually like this format much better as it allows you to know which parameters are availible
For instance.
$proxy.StopSystem("SAPControlALLINSTANCES","*","0","15")
Is now (other values already defaulted)
$StopSystem = New-Object ($type + ".StopSystem")
$StopSystem.waittimeout = 15
$proxy.StopSystem($StopSystem)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 12 | |
| 9 | |
| 7 | |
| 5 | |
| 4 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.