Servicii disponibile:
Serv0:	 ping: C# RESTful ServiceRs.ashx: win (172.30.0.14:80) 7/26/2010 12:39:01 PM
Serv1:	 ping: Java RESTful Rj7/rest-services/Rj/: fmb (172.30.119.149: 8080), Mon Jul 26 12:39:01 EEST 2010
Serv2:	 ping: PHP RESTful ServiceRh.php/: 127.0.0.1 (127.0.0.1:80), 2010.07.26 12:39:01
Serv3:	 ping: Python RESTful ServiceRy.py: fmb(172.30.119.149:3004), datetime.datetime(2010, 7, 26, 12, 39, 2, 330000)
Serv4:	 ping: C# SOAP Ss: 	win.scs.ubbcluj.ro (172.30.0.14:80) 7/26/2010 12:39:02 PM
Serv5:	 ping: Java SOAP Sj: fmb (172.30.119.149: 2002), Mon Jul 26 12:39:03 EEST 2010
Serv6:	 ping: PHP Soap Sh: 127.0.0.1 (127.0.0.1:80), 2010.07.26 12:39:03
Serv7:	 ping: Python Soap Sy: fmb(172.30.119.149:2004), datetime.datetime(2010, 7, 26, 12, 39, 4, 654000)
Serv8:	 ping: C# XML-RPC Xs: fmb (fe80::c0c1:b396:a1c0:9364%11:1001) 7/26/2010 12:39:05 PM
Serv9:	 ping: Java XML-RPC Xj: fmb (172.30.119.149: 1002), Mon Jul 26 12:39:05 EEST 2010
Serv10:	 ping: PHP XML-RPC Xh: 127.0.0.1 (127.0.0.1:80), 2010.07.26 12:39:05
Serv11:	 ping: Python XML-RPC Xy: fmb(172.30.119.149:1004), datetime.datetime(2010, 7, 26, 12, 39, 6, 729000)

Evaluari de expresii:

Serv7:	toFpp:
0="0"-"5"
1="7"-"8"
1="3"*1
0=0+1
2="5"/"2"
0=0^2
0
#0|#5|-#3|#7|#8|-*+#5|#2|/^
(-5+3*(7-8))^(5/2)
Serv4:	subtract(0,5)=-5
Serv8:	subtract(7,8)=-1
Serv3:	multiply(3,-1)=-3
Serv10:	add(-5,-3)=-8
Serv0:	divide(5,2)=2
Serv1:	intPow(-8,2)=64
Rezultat 64


Serv11:	toFpp:
())5(6+9)
ERROR paranteze incorecte!


Serv11:	toFpp:
---
ERROR operatori fara operanzi


Serv6:	toFpp:
5()))
ERROR paranteze incorecte!


Serv3:	toFpp:
"5"
#5|
+5
Rezultat +5


Serv6:	toFpp:
0="0"-"5"
0
#0|#5|-
-5
Serv4:	subtract(0,5)=-5
Rezultat -5


Serv3:	toFpp:
-5++7
ERROR operatori fara operanzi


Serv6:	toFpp:
0="0"-"5"
0=0+"7"
0
#0|#5|-#7|+
-5+7
Serv1:	subtract(0,5)=-5
Serv7:	add(-5,7)=2
Rezultat 2


Serv10:	toFpp:
0="0"-"55"
1="7"-"8"
1="3"*1
0=0+1
2="5"/"2"
0=0^2
0
#0|#55|-#3|#7|#8|-*+#5|#2|/^
(-5 5+  3*(7-  8)) ^(5/  2)
Serv0:	subtract(0,55)=-55
Serv2:	subtract(7,8)=-1
Serv3:	multiply(3,-1)=-3
Serv11:	add(-55,-3)=-58
Serv1:	divide(5,2)=2
Serv2:	intPow(-58,2)=3364
Rezultat 3364


Serv10:	toFpp:
0="0"-"55"
1="7"-"8"
1="3"*1
0=0+1
2="5"%"2"
0=0^2
0
#0|#55|-#3|#7|#8|-*+#5|#2|%^
(-5 5+  3*(7-  8)) ^(5 %  2)
Serv9:	subtract(0,55)=-55
Serv10:	subtract(7,8)=-1
Serv7:	multiply(3,-1)=-3
Serv10:	add(-55,-3)=-58
Serv3:	mod(5,2)=1
Serv6:	intPow(-58,1)=-58
Rezultat -58


Apeluri punctuale de metode de la servicii aleatoare:
Serv4:	ping: C# SOAP Ss: 	win.scs.ubbcluj.ro (172.30.0.14:80) 7/26/2010 12:39:20 PM
Serv8:	add: 	7 + 2 = 9
Serv9:	subtract: 	7 - 2 = 5
Serv4:	multiply: 	7 * 2 = 14
Serv3:	intPow: 	7 ^ 2 = 49
Serv8:	intPow: 	7 ^ 22 = 1344430353
Serv5:	divide: 	7 / 0 = WebFault(u"Server raised fault: 'divide: Impartire la zerojava.lang.ArithmeticException: / by zero'",)
Serv0:	mod: 	7 / 0 = <html>

    <head>

        <title>mod: Impartire la zeroSystem.DivideByZeroException: Attempted to divide by zero.<br> &nbsp;&nbsp;at ServiceRs.mod(Int32 a, Int32 b) in \\172.30.0.5\iis\~florin\ServiceRs.ashx:line 99</title>

        <style>

         body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;} 

         p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}

         b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}

         H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }

         H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }

         pre {font-family:"Lucida Console";font-size: .9em}

         .marker {font-weight: bold; color: black;text-decoration: none;}

         .version {color: gray;}

         .error {margin-bottom: 10px;}

         .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }

        </style>

    </head>



    <body bgcolor="white">



            <span><H1>Server Error in '/' Application.<hr width=100% size=1 color=silver></H1>



            <h2> <i>mod: Impartire la zeroSystem.DivideByZeroException: Attempted to divide by zero.<br> &nbsp;&nbsp;at ServiceRs.mod(Int32 a, Int32 b) in \\172.30.0.5\iis\~florin\ServiceRs.ashx:line 99</i> </h2></span>



            <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">



            <b> Description: </b>An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.



            <br><br>



            <b> Exception Details: </b>System.Exception: mod: Impartire la zeroSystem.DivideByZeroException: Attempted to divide by zero.<br> &nbsp;&nbsp;at ServiceRs.mod(Int32 a, Int32 b) in \\172.30.0.5\iis\~florin\ServiceRs.ashx:line 99<br><br>



            <b>Source Error:</b> <br><br>



            <table width=100% bgcolor="#ffffcc">

               <tr>

                  <td>

                      <code><pre>



Line 99:       return a % b;

Line 100:    } catch (Exception e) {

<font color=red>Line 101:      throw new Exception(&quot;mod: Impartire la zero&quot; + e);

</font>Line 102:    }

Line 103:  }</pre></code>



                  </td>

               </tr>

            </table>



            <br>



            <b> Source File: </b> \\172.30.0.5\iis\~florin\ServiceRs.ashx<b> &nbsp;&nbsp; Line: </b> 101

            <br><br>



            <b>Stack Trace:</b> <br><br>



            <table width=100% bgcolor="#ffffcc">

               <tr>

                  <td>

                      <code><pre>



[Exception: mod: Impartire la zeroSystem.DivideByZeroException: Attempted to divide by zero.

   at ServiceRs.mod(Int32 a, Int32 b) in \\172.30.0.5\iis\~florin\ServiceRs.ashx:line 99]

   ServiceRs.mod(Int32 a, Int32 b) in \\172.30.0.5\iis\~florin\ServiceRs.ashx:101

   ServiceRs.ProcessRequest(HttpContext ctx) in \\172.30.0.5\iis\~florin\ServiceRs.ashx:52

   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181

   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously) +75

</pre></code>



                  </td>

               </tr>

            </table>



            <br>



            <hr width=100% size=1 color=silver>



            <b>Version Information:</b>&nbsp;Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3614



            </font>



    </body>

</html>

<!-- 

[Exception]: mod: Impartire la zeroSystem.DivideByZeroException: Attempted to divide by zero.

   at ServiceRs.mod(Int32 a, Int32 b) in \\172.30.0.5\iis\~florin\ServiceRs.ashx:line 99

   at ServiceRs.mod(Int32 a, Int32 b) in \\172.30.0.5\iis\~florin\ServiceRs.ashx:line 101

   at ServiceRs.ProcessRequest(HttpContext ctx) in \\172.30.0.5\iis\~florin\ServiceRs.ashx:line 52

   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

--><!-- 

This error page might contain sensitive information because ASP.NET is configured to show verbose error messages using &lt;customErrors mode="Off"/&gt;. Consider using &lt;customErrors mode="On"/&gt; or &lt;customErrors mode="RemoteOnly"/&gt; in production environments.-->
Serv4:	ping: C# SOAP Ss: 	win.scs.ubbcluj.ro (172.30.0.14:80) 7/26/2010 12:39:25 PM

STOP client.
