svn path=/trunk/xsp/; revision=16069
This commit is contained in:
Miguel de Icaza 2003-07-09 21:23:37 +00:00
Родитель 257843c67d
Коммит bfee4f8c41
2 изменённых файлов: 8 добавлений и 2 удалений

Просмотреть файл

@ -65,7 +65,11 @@ How to test
-----------
Build XSP and start the server as usual.
cd to xsp/test and run ServiceClient.exe.
cd to xsp/test and run ServiceClient.exe passing the hostname and port:
For example:
mono ServiceClient.exe localhost:8080
After execution, you should see the files trace.log and dump.log in
xsp/server/test with the traces of the requests. You can try to add and remove

Просмотреть файл

@ -4,10 +4,12 @@ namespace WebServiceTest
{
public class ServiceClientTest
{
static void Main()
static void Main(string [] args)
{
Console.WriteLine ("Testing simple web service");
TestService s = new TestService ();
if (args.Length>0)
s.Url = "http://" + args [0] + "/TestService.asmx";
for (int n=0; n<10; n++)
{
string res = s.Echo ("hola");