-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Introduce message encoders for building soap servers #32
Conversation
8381be4
to
a593b6a
Compare
6c59395
to
82844b9
Compare
@rauanmayemir This PR should provide the tools you need in order to build a SOAP server. Can you test it out on your project as well? Thanks! |
82844b9
to
5d815d0
Compare
Going to check it ASAP. 🔥 |
One unexpected issue I have currently is that I used to do something like:
and then look up methods by name, but now I need to make sure FQDNs are present and valid. I wonder if it could be made a bit smarter to account for requests made with headers like |
Other than that, happy to report this seems to be working. |
I'm a bit confused about your comment:
There is no check about fully-qualifiedness of the uri inside this codebase. It's all just strings with string comparisons. Running Could you give me a more detailed example of what is going wrong exactly in your case?
I don't think this is compliant. It should match the configured WSDL soapAction. Not the
You have access to the method collection, so you could iterate over them and match based on whatever you like to match it on. I've added the |
Nevermind, there's a companion method
Sometimes I have no control over what's being sent in |
@rauanmayemir Allright. Thanks for testing it out! |
Summary
This PR makes encoding / decoding methods isomorphic so that the logic can be used for both SOAP servers and clients.
Building a SOAP server:
/cc @rauanmayemir