Servicii disponibile:
Serv0:	 ping: C# RESTful ServiceRs.ashx: win (172.30.0.14:80) 7/26/2010 12:40:28 PM
Serv1:	 ping: Java RESTful Rj7/rest-services/Rj/: fmb (172.30.119.149: 8080), Mon Jul 26 12:40:27 EEST 2010
Serv2:	 ping: PHP RESTful ServiceRh.php/: 127.0.0.1 (127.0.0.1:80), 2010.07.26 12:40:27
Serv3:	 ping: Python RESTful ServiceRy.py: fmb(172.30.119.149:3004), datetime.datetime(2010, 7, 26, 12, 40, 28, 785000)
Serv4:	 ping: C# SOAP Ss: 	win.scs.ubbcluj.ro (172.30.0.14:80) 7/26/2010 12:40:29 PM
Serv5:	 ping: Java SOAP Sj: fmb (172.30.119.149: 2002), Mon Jul 26 12:40:30 EEST 2010
Serv6:	 ping: PHP Soap Sh: 127.0.0.1 (127.0.0.1:80), 2010.07.26 12:40:30
Serv7:	 ping: Python Soap Sy: fmb(172.30.119.149:2004), datetime.datetime(2010, 7, 26, 12, 40, 31, 203000)
Serv8:	 ping: C# XML-RPC Xs: fmb (fe80::c0c1:b396:a1c0:9364%11:1001) 7/26/2010 12:40:32 PM
Serv9:	 ping: Java XML-RPC Xj: fmb (172.30.119.149: 1002), Mon Jul 26 12:40:32 EEST 2010
Serv10:	 ping: PHP XML-RPC Xh: 127.0.0.1 (127.0.0.1:80), 2010.07.26 12:40:32
Serv11:	 ping: Python XML-RPC Xy: fmb(172.30.119.149:1004), datetime.datetime(2010, 7, 26, 12, 40, 33, 325000)

Evaluari de expresii:

Serv6:	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)
Serv7:	subtract(0,5)=-5
Serv0:	subtract(7,8)=-1
Serv5:	multiply(3,-1)=-3
Serv1:	add(-5,-3)=-8
Serv2:	divide(5,2)=2
Serv4:	intPow(-8,2)=64
Rezultat 64


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


Serv6:	toFpp:
---
ERROR operatori fara operanzi


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


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


Serv8:	toFpp:
0="0"-"5"
0
#0|#5|-
-5
Serv10:	subtract(0,5)=-5
Rezultat -5


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


Serv3:	toFpp:
0="0"-"5"
0=0+"7"
0
#0|#5|-#7|+
-5+7
Serv10:	subtract(0,5)=-5
Serv9:	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
Serv3:	subtract(7,8)=-1
Serv6:	multiply(3,-1)=-3
Serv3:	add(-55,-3)=-58
Serv7:	divide(5,2)=2
Serv2:	intPow(-58,2)=3364
Rezultat 3364


Serv1:	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)
Serv8:	subtract(0,55)=-55
Serv11:	subtract(7,8)=-1
Serv8:	multiply(3,-1)=-3
Serv1:	add(-55,-3)=-58
Serv3:	mod(5,2)=1
Serv2:	intPow(-58,1)=-58
Rezultat -58


Apeluri punctuale de metode de la servicii aleatoare:
Serv1:	ping: Java RESTful Rj7/rest-services/Rj/: fmb (172.30.119.149: 8080), Mon Jul 26 12:40:47 EEST 2010
Serv11:	add: 	7 + 2 = 9
Serv6:	subtract: 	7 - 2 = 5
Serv8:	multiply: 	7 * 2 = 14
Serv8:	intPow: 	7 ^ 2 = 49
Serv4:	intPow: 	7 ^ 22 = 1344430353
Serv0:	divide: 	7 / 0 = <html>

    <head>

        <title>divide: Impartire la zeroSystem.DivideByZeroException: Attempted to divide by zero.<br> &nbsp;&nbsp;at ServiceRs.divide(Int32 a, Int32 b) in \\172.30.0.5\iis\~florin\ServiceRs.ashx:line 92</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>divide: Impartire la zeroSystem.DivideByZeroException: Attempted to divide by zero.<br> &nbsp;&nbsp;at ServiceRs.divide(Int32 a, Int32 b) in \\172.30.0.5\iis\~florin\ServiceRs.ashx:line 92</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: divide: Impartire la zeroSystem.DivideByZeroException: Attempted to divide by zero.<br> &nbsp;&nbsp;at ServiceRs.divide(Int32 a, Int32 b) in \\172.30.0.5\iis\~florin\ServiceRs.ashx:line 92<br><br>



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



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

               <tr>

                  <td>

                      <code><pre>



Line 92:       return a / b;

Line 93:     } catch (Exception e) {

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

</font>Line 95:     }

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



                  </td>

               </tr>

            </table>



            <br>



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

            <br><br>



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



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

               <tr>

                  <td>

                      <code><pre>



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

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

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

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

   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]: divide: Impartire la zeroSystem.DivideByZeroException: Attempted to divide by zero.

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

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

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

   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.-->
Serv2:	mod: 	7 / 0 = ERROR mod: Impartire la zero
Serv6:	ping: PHP Soap Sh: 127.0.0.1 (127.0.0.1:80), 2010.07.26 12:40:51

STOP client.
