I hope this is the right place to post this.
I've been trying to use the sapcontrol (webservices protocol GSOAP_HTTP) interface to perform an OSExecute webmethod, but am getting some strange responses.
I'm sending the required authentication with the command and receive a repsonse saying the the command has run (response code 0) and the PID of the run command. However the output of the command is never returned or written to a protocol file if specified in the command line.
I've also checked by running commands such as "touch /tmp/me" and the command never seems to actually run on the remote system. Very strange!
All other webmethods appear to work as expected (GetEnvironment etc...)
Version: 700, patch 95, changelist 886306, optu, linuxintel
Update:
ctbadm@ivml2005:/usr/sap/> sapcontrol -nr 00 -host 127.0.0.1 -user ctbadm sap123 -prot GSOAP_HTTP -function OSExecute ls 60 0
05.01.2011 15:43:59
OSExecute
OK
exitcode, pid, lines
0, 26005
Edited by: ChrisRiley on Jan 5, 2011 3:46 PM