[Fedora-suds-list] <unknown>:1:0: syntax error

Ajai Joy ajai.joy at gmail.com
Fri Dec 4 19:11:17 UTC 2009


 When I execute a service call, the service executes successfully from the
server side. If I run the suds client in debug mode, I can see the soap
response (with a sessionId )printed on the console but then it hits
exception block and prints

<unknown>:1:0: syntax error


Client code

url = 'https://xx:9843/services/LoginService?wsdl'
    client = Client(url)
    print client
    client.set_options(location= 'https://xx:9843/services/LoginService')
    print 'before calling service call################'
    result = client.service.loginUsingUserCredential('Admin', '', 'SRP')
except Exception, e:
    print e

Any ideas what this syntax error means ?



debug log

</ns2:return><ns2:returnSessionId>*urn:uuid:A4284D5F75A94497C51259947971115*
</ns2:returnSessionId></
ns2:loginUsingUserCredentialResponse></soapenv:Body></soapenv:Envelope>
*--MIMEBoundaryurn_uuid_A4284D5F75A94497C51259947975820--
<unknown>:1:0: syntax error
*
-- 
Best Regards,
AJ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/suds/attachments/20091204/af980ace/attachment.html 


More information about the suds mailing list