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

Evaluari de expresii:

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


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


Serv4:	toFpp:
---
ERROR operatori fara operanzi


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


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


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


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


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


Serv5:	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
Serv6:	subtract(7,8)=-1
Serv5:	multiply(3,-1)=-3
Serv8:	add(-55,-3)=-58
Serv6:	divide(5,2)=2
Serv5:	intPow(-58,2)=3364
Rezultat 3364


Serv6:	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
Serv9:	multiply(3,-1)=-3
Serv2:	add(-55,-3)=-58
Serv9:	mod(5,2)=1
Serv6:	intPow(-58,1)=-58
Rezultat -58


Apeluri punctuale de metode de la servicii aleatoare:
Serv10:	ping: PHP XML-RPC Xh: 127.0.0.1 (127.0.0.1:80), 2010.07.26 12:37:54
Serv9:	add: 	7 + 2 = 9
Serv2:	subtract: 	7 - 2 = 5
Serv9:	multiply: 	7 * 2 = 14
Serv5:	intPow: 	7 ^ 2 = 49
Serv0:	intPow: 	7 ^ 22 = 1344430353
Serv8:	divide: 	7 / 0 = Exception has been thrown by the target of an invocation.
Serv3:	mod: 	7 / 0 = <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta>
    <title>500 Internal Server Error</title>
    <style type="text/css">
    #powered_by {
        margin-top: 20px;
        border-top: 2px solid black;
        font-style: italic;
    }

    #traceback {
        color: red;
    }
    </style>
</head>
    <body>
        <h2>500 Internal Server Error</h2>
        <p>The server encountered an unexpected condition which prevented it from fulfilling the request.</p>
        <pre id="traceback">Traceback (most recent call last):
  File "C:\Python26\lib\site-packages\cherrypy\_cprequest.py", line 606, in respond
    cherrypy.response.body = self.handler()
  File "C:\Python26\lib\site-packages\cherrypy\_cpdispatch.py", line 25, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "D:\Florin\Carti\SWMPA\Cap7Aplicatii\EvaluareExpresii\Python\ServiceRy.py", line 29, in mod
    return `self.bib.mod(int(args[0]), int(args[1]))`
  File "D:\Florin\Carti\SWMPA\Cap7Aplicatii\EvaluareExpresii\Python\Bib.py", line 29, in mod
    raise Exception("mod: Impartire la zero")
Exception: mod: Impartire la zero
</pre>
    <div id="powered_by">
    <span>Powered by <a href="http://www.cherrypy.org">CherryPy 3.1.2</a></span>
    </div>
    </body>
</html>

Serv4:	ping: C# SOAP Ss: 	win.scs.ubbcluj.ro (172.30.0.14:80) 7/26/2010 12:37:58 PM

STOP client.
