From: Markus v. E. <vo...@ip...> - 2004-08-24 13:32:16
|
Hi everybody, hi Gregory, I'd like to receive Axis client calls within a SOAPpy server. Probably there is a namespace problem. I used the cardServer.py example. The Server always has the following error: C:\Programme\Python23\Lib\site-packages\SOAPpy\tests>cardServer.py *** Internal exception not enough arguments for format string ********** Traceback (most recent call last): File "C:\PROGRA~1\Python23\lib\site-packages\SOAPpy\Server.py", line 340, in d o_POST "%s : %s %s" % (nsmethod, TypeError: not enough arguments for format string Thanks for any hints, Markus #------------ SOAPpy client msg: OK ---------------# <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP-ENV:Body> <ns1:dealCard xmlns:ns1="http://soapinterop.org/" SOAP-ENC:root="1"> </ns1:dealCard> </SOAP-ENV:Body> </SOAP-ENV:Envelope> #------------ AXIS client msg: Error --------------# (original message has no newline characters) <?xml version='1.0' encoding='utf-8' ?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SOAP-ENV:Body><ns1:dealHand xmlns:ns1="http://localhost/axis/Calculator"> <NumberOfCards xsi:type="xsd:int">13</NumberOfCards> <StringSeparator xsi:type="xsd:int">2</StringSeparator> </ns1:dealHand></SOAP-ENV:Body></SOAP-ENV:Envelope> |