Skip to content
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

Support soap & grpc ?? #100

Open
cedric05 opened this issue Jun 28, 2021 · 3 comments
Open

Support soap & grpc ?? #100

cedric05 opened this issue Jun 28, 2021 · 3 comments

Comments

@cedric05
Copy link
Owner

No description provided.

@cedric05
Copy link
Owner Author

@cedric05
Copy link
Owner Author

python-zeep is full fledged soap client and will not be suitable for dothttp.
Other projects to look into is https://github.com/orcasgit/py-wsse

@cedric05
Copy link
Owner Author

cedric05 commented Jun 30, 2021

https://github.com/suds-community/suds
https://github.com/cackharot/suds-py3/blob/master/suds/wsse.py

above both originated from similar source (later support has less support)

example code snippet

from suds.wsse import *
security = Security()
token = UsernameToken('', '')
security.tokens.append(token)
str(security.xml())
print(str(security.xml()))

good thing about suds is, its pure python, (no c bindings needed)

high level idea would be:

  • support auth only???
  • according to soap_basic auth,
    • parse xml
    • add security header generated by above.
    • if security already exists, update it
    • convert to string, and send.

pending research:

  • any other soap authentication mechanisms???
    • certificate auth
    • digest auth
  • usernametoken auth also has nonce and date (can we generate by default, ???)

grpc ??

generate security via above.

@cedric05 cedric05 changed the title Support soap ?? Support soap & grpc ?? Dec 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant