Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- C:\Users\magbakke\PycharmProjects\InfosoftWSTest>python client.py
- Traceback (most recent call last):
- File "C:\Python33\lib\site-packages\suds\transport\http.py", line 78, in send
- fp = self.u2open(u2request)
- File "C:\Python33\lib\site-packages\suds\transport\http.py", line 121, in u2op
- en
- return url.open(u2request, timeout=tm)
- File "C:\Python33\lib\urllib\request.py", line 479, in open
- response = meth(req, response)
- File "C:\Python33\lib\urllib\request.py", line 591, in http_response
- 'http', request, response, code, msg, hdrs)
- File "C:\Python33\lib\urllib\request.py", line 517, in error
- return self._call_chain(*args)
- File "C:\Python33\lib\urllib\request.py", line 451, in _call_chain
- result = func(*args)
- File "C:\Python33\lib\urllib\request.py", line 599, in http_error_default
- raise HTTPError(req.full_url, code, msg, hdrs, fp)
- urllib.error.HTTPError: HTTP Error 500: Internal Server Error
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "C:\Python33\lib\site-packages\suds\client.py", line 640, in send
- reply = transport.send(request)
- File "C:\Python33\lib\site-packages\suds\transport\https.py", line 64, in send
- return HttpTransport.send(self, request)
- File "C:\Python33\lib\site-packages\suds\transport\http.py", line 88, in send
- raise TransportError(e.msg, e.code, e.fp)
- suds.transport.TransportError: Internal Server Error
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "client.py", line 20, in <module>
- response = client.service.StartPayment(request)
- File "C:\Python33\lib\site-packages\suds\client.py", line 539, in __call__
- return client.invoke(args, kwargs)
- File "C:\Python33\lib\site-packages\suds\client.py", line 599, in invoke
- result = self.send(soapenv)
- File "C:\Python33\lib\site-packages\suds\client.py", line 654, in send
- result = self.failed(binding, e)
- File "C:\Python33\lib\site-packages\suds\client.py", line 709, in failed
- r, p = binding.get_fault(reply)
- File "C:\Python33\lib\site-packages\suds\bindings\binding.py", line 266, in ge
- t_fault
- raise WebFault(p, faultroot)
- suds.WebFault: Server raised fault: 'The formatter threw an exception while tryi
- ng to deserialize the message: There was an error while trying to deserialize pa
- rameter http://tech.infosoft.no/schemas/2012/08:CancelUrl. The InnerException me
- ssage was 'There was an error deserializing the object of type System.String. En
- d element 'CancelUrl' from namespace 'http://tech.infosoft.no/schemas/2012/08' e
- xpected. Found element 'CancelUrl' from namespace 'http://tech.infosoft.no/schem
- as/2012/08'. Line 1, position 400.'. Please see InnerException for more details
- .'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement