Hi Mark, thank you for your help.
This is what I get running the suggested command:
length 1634
cucm.testud.locale - - [05/Jun/2012 09:44:59] "HEAD /samplePolicyApp.py HTTP/1.1" 200 -
<?xml version="1.0" encoding="UTF-8"?><Request xmlns="urn:oasis:names:tc:xacml:2.0:context:schema:os"><Subject SubjectCategory="urn:oasis:names:tc:xacml:1.0:subject-category:access-subject"><Attribute AttributeId="urn:oasis:names:tc:xacml:1.0:subject:role-id"DataType="http://www.w3.org/2001/XMLSchema#string" Issuer="requestor"><AttributeValue>CISCO:UC:UCMPolicy</AttributeValue></Attribute><Attribute AttributeId="urn:Cisco:uc:1.0:callingnumber"DataType="http://www.w3.org/2001/XMLSchema#string"><AttributeValue>227</AttributeValue></Attribute><Attribute AttributeId="urn:Cisco:uc:1.0:callednumber"DataType="http://www.w3.org/2001/XMLSchema#string"><AttributeValue>4900</AttributeValue></Attribute><Attribute AttributeId="urn:Cisco:uc:1.0:transformedcgpn"DataType="http://www.w3.org/2001/XMLSchema#string"><AttributeValue>227</AttributeValue></Attribute><Attribute AttributeId="urn:Cisco:uc:1.0:transformedcdpn"DataType="http://www.w3.org/2001/XMLSchema#string"><AttributeValue>4900</AttributeValue></Attribute></Subject><Resource><Attribute AttributeId="urn:oasis:names:tc:xacml:1.0:resource:resource-id"DataType="http://www.w3.org/2001/XMLSchema#anyURI"><AttributeValue>CISCO:UC

oiceOrVideoCall</AttributeValue></Attribute></Resource><Action><Attribute AttributeId="urn:oasis:names:tc:xacml:1.0:action:action-id"DataType="http://www.w3.org/2001/XMLSchema#anyURI"><AttributeValue>any</AttributeValue></Attribute></Action><Environment><Attribute AttributeId="urn:Cisco:uc:1.0:triggerpointtype"DataType="http://www.w3.org/2001/XMLSchema#string"><AttributeValue>translationpattern</AttributeValue></Attribute></Environment></Request>
--- Begin Document ---
----------------------------------------
Exception happened during processing of request from ('192.168.169.81', 53737)
Traceback (most recent call last):
File "/usr/lib/python2.7/SocketServer.py", line 582, in process_request_thread
self.finish_request(request, client_address)
File "/usr/lib/python2.7/SocketServer.py", line 323, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/lib/python2.7/SocketServer.py", line 638, in __init__
self.handle()
File "/usr/lib/python2.7/BaseHTTPServer.py", line 340, in handle
self.handle_one_request()
File "/usr/lib/python2.7/BaseHTTPServer.py", line 328, in handle_one_request
method()
File "samplePolicyApp.py", line 102, in do_POST
parser.parse("tempXacmlReq.xml")
File "/usr/lib/python2.7/xml/sax/expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/lib/python2.7/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/usr/lib/python2.7/xml/sax/expatreader.py", line 211, in feed
self._err_handler.fatalError(exc)
File "/usr/lib/python2.7/xml/sax/handler.py", line 38, in fatalError
raise exception
SAXParseException: tempXacmlReq.xml:1:259: not well-formed (invalid token)
----------------------------------------
curl: (52) Empty reply from server
I'm running the sample application on a Ubuntu Linux (12.04) virtual machine, python version is 2.7.3
When I monitored the http exchange with wireshark i was running the application on Windows 7: the request and the response were well formed.
Thank you again
Denis Roman Fulin