Parameter "xy" is not optional
Hi,
i have problems with running simple SOAP function using two clients:
- standard PHP SOAP client
- Python ZSI version 1.7
Result is the same in both cases:
UndefinedServic
interface name: soap
service name: test
Parameter "first" is not optional
server
-------
from ladon.ladonizer import ladonize
class test(object):
@ladonize(
def test(self, first, second):
return first
client Python
---------------
from ZSI.client import Binding
from ZSI import TC
bind = Binding(
result = bind.RPC(None, "test", ("aaa", "bbb"), TC.Any(), requesttypecode
client PHP
------------
$sck = new SoapClient(null, array("location" => "http://
$result = $sck->_
XML from python client
-------
REQUEST:
<?xml version="1.0" encoding="utf-8"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://
xmlns:SOAP-ENC="http://
xmlns:xsi="http://
xmlns:xsd="http://
xmlns:ZSI="http://
SOAP-
<SOAP-ENV:Body>
<test>
<element id="ob77fdf20" xsi:type=
<element id="ob77fdf38" xsi:type=
</test>
</SOAP-ENV:Body>
</SOAP-
RESPONSE:
Date: Sat, 24 Sep 2011 14:10:18 GMT
Server: WSGIServer/0.1 Python/2.7.1+
Content-Type: text/plain; charset=utf-8
Content-Length: 775
Traceback (most recent call last):
File "/usr/local/
response_part = dispatcher.
File "/usr/local/
result = self.call_
File "/usr/local/
raise UndefinedServic
UndefinedServic
interface name: soap
service name: test
Parameter "first" is not optional
Python 2.7.1
PHP 5.3.5
Any ideas ?
Thank you !
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- ladon Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- jsgaarde
- Solved:
- Last query:
- Last reply: