Hi,
I am using Axis Soap for communication between client and server. In my
webservice if I create a process, even though the function returns, I do
not see anything on the client side and client call's invoke function never
returns.
My webservice code is:
public String myWebservice( String name,
javax.xml.rpc.holders.StringHolder
resultMessage,
javax.xml.rpc.holders.StringHolder
resultCode)
{
try {
Runtime.getRuntime().exec("C:\\windows\\system32\\cmd.exe");
}
catch(Exception e) { }
resultMessage = "Success";
resultCode = "0"
return resultMessage;
}
When I send a request to this webservice, then this function returns
successfully but nothing comes on the client side. If I remove the code
"Runtime.getRuntime().exec("C:\\windows\\system32\\cmd.exe");" then the
response comes back to the client successfully. I am not sure what is
happening when I do exec.
I am doing anything wrong or something is happening in Axis. Please help
me. I am using axis1.3
Thanks,
Surekha
---------------------------------------------------------------------
This message contains confidential and proprietary information of the
sender, and is intended only for the person(s) to whom it is addressed.
Any use, distribution, copying or disclosure by any other person is
strictly prohibited. If you have received this message in error, please
notify the e-mail sender immediately, and delete the original message
without making a copy.