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 additional SOAP headers #43

Closed
snezhkoigor opened this issue Jun 4, 2020 · 2 comments
Closed

Support additional SOAP headers #43

snezhkoigor opened this issue Jun 4, 2020 · 2 comments

Comments

@snezhkoigor
Copy link

Hi. How can I set this code?

$client = new SoapClient($wsdlPath, $options);
$client->__setSoapHeaders(
            new SoapHeader(
                'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd',
                'Security',
                new SoapVar($xml, XSD_ANYXML),
                true
            )
        );
@clue clue changed the title soap headers Support additional SOAP headers Jun 5, 2020
@clue
Copy link
Owner

clue commented Jun 5, 2020

@snezhkoigor Thanks for reporting, this is indeed not currently exposed in our APIs 👍

There are currently no immediate plans to build this from my end (no demand at the moment and more important outstanding issues currently), but I would be really happy to accept PRs 👍

If you need this for a commercial project and you want to help sponsor this feature, feel free to reach out and I'm happy to take a look.

@snezhkoigor
Copy link
Author

Ok, I'll think about this :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants