-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Signing WSDL request body #84
Comments
In order to investigate this further, we'll need the following:
Note: Issues on this repository are for reporting bugs and feature requests for this provider, not providing support for unique environments. In order to investigate this, a reproducible case may needs to be provided, if that can't be provided, we'll have to close this issue to focus on widely impacting issues. |
Hi @phillbaker. Here is the url: https://miportafoliouat.transunion.co/InformacionComercialWS/services/InformacionComercial?wsdl. @phillbaker there area the credencials: username: 332970 Actually, I have a repo in github. I thank you in advance for any help ! |
I think this is a feature request for supporting WSSE signatures (x509). This isn't currently supported natively by this library. However, searching github does show a few options:
Please try one of these options and let us know how it goes! |
Hi @phillbaker. I tried the first option, py-wsse, but I had problems installing it, because the library support goes until python 2.7 and python 3.4. Those python versions are deprecated and I couldn't installed them in Fedora 35. I tried with Ubuntu 16.04 under wsl2. I could install python 2.7 and python 3.4 but couldn't run
I will try with the other options to see what happens. Thank you for help. See you soon. |
Hi @phillbaker. I checked the other two options but it seem obscure to me, because they are outdated and the last commits were 6 and 7 year ago, respectively. I think I'll fall in same problem again. |
@rvcristiand you can try forking, updating dependencies and installing from git. Here's one fork that looks semi-recent: https://github.com/jtiri/py-wsse |
Hi everybody !
I have to consume a WSDL service. I have a username and password to see the wsdl file and a
.pem
file to consume the service. I can see the wsdl with suds, but I don't know how to config the script to include the pem file in the request.The WSDL file is hosted in
https://my.url/abc/def/xyz?wsdl
(I changed the url a little bit). To see the wsdl, I need to use a username and a password (I changed the username and password, too). To test if it works, I created the following script:All goes well, and I got (I edited the output a little bit, but I think I left untouched the important info):
Then I created a
ns0:ParametrosConsultaDTO
object with the following code:And I got the following output (I changed the parameters name):
Then, I modified the attributes and called the service I need:
And I got:
I actually, I know the problem is related to WS-Security Configuration. I have a SoapUI manual to consume the service, where they configure the Outgoing WS-Security with a signature (where the private key is related) and a timestamp. Finally, they add an authorization where relate the username, password and the Outgoing WS-Security.
I would like to consume this service with suds, but I don't know how to add the private certificate to my requests.
Any help in this way will be useful to me.
Thank you.
The text was updated successfully, but these errors were encountered: