mysolbb / pysimplesoap

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

Webservice may fail when SOAPAction header is different then invoked method #174

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Connect with affected WS (OVH webservice for example):
SoapClient(wsdl="http://www.ovh.com/soapi/soapi-dlw-1.63.wsdl", 
soap_server="axis", trace=debug)
2.Try to invoke login method:
connector.login(nic, password, countryCode, multisession)
3.SOAPAction header is set to "None" because self.action is None 
(client.py:295), server returns:
SoapFault: soap:Client: SOAPAction shall match 'uri#method' if present (got 
'None', expected 'http://soapi.ovh.com/manager#login'

What is the expected output? What do you see instead?
session id 

What version of the product are you using? On what operating system?
1.16 from pip

Please attach the related WSDL (if any), a small code fragment to reproduce
and provide any additional information below.

Original issue reported on code.google.com by majlo...@gmail.com on 10 Feb 2015 at 9:47