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

Read SOAPAction from soap envelope's headers #866

Conversation

Blackleones
Copy link
Contributor

Actually, it is not possible to retrieve the SOAPAction from the soap request's header. This code tries to check if the soap envelope contains any reference about what is the SOAPAction inside the header Action tag. If so, then it read the SOAPAction from the found tag.

issue: #863

About tests:

I've noticed that the following tests:

Soap12Wsa10Header
Soap12PingWithActionInEnvelopeHeader
Soap12Wsa10FaultHeader

Supposed to let SoapCore retrieves the SOAPAction from the header but it retrieved that from the body. Now, this PR lets these tests work properly.

Actually, it is not possible to retrieve the SOAPAction from the soap request's header. This code tries to check if the soap envelope contains any reference about what is the SOAPAction inside the header Action tag. If so, then it read the SOAPAction from the found tag.
@andersjonsson
Copy link
Collaborator

Thank you for your contribution!

Looks good 👍

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

Successfully merging this pull request may close these issues.

2 participants