kartagis / pysimplesoap

Automatically exported from code.google.com/p/pysimplesoap
0 stars 0 forks source link

typo in the server example #7

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
the server example given in the wiki is not working with the latest version. 
SoapDispatcher is expecting a name argument missing in the example code.

existing code:
dispatcher = SoapDispatcher(
    location = "http://localhost:8008/",
    action = 'http://localhost:8008/', # SOAPAction
    namespace = "http://example.com/sample.wsdl", prefix="ns0",
    trace = True,
    ns = True)

valid code:
dispatcher = SoapDispatcher(
    'my_dispatcher',
    location = "http://localhost:8008/",
    action = 'http://localhost:8008/', # SOAPAction
    namespace = "http://example.com/sample.wsdl", prefix="ns0",
    trace = True,
    ns = True)

Original issue reported on code.google.com by jphthier...@gmail.com on 6 Sep 2010 at 10:46

GoogleCodeExporter commented 8 years ago
Thanks

Original comment by reingart@gmail.com on 27 Sep 2010 at 12:15