-
Notifications
You must be signed in to change notification settings - Fork 392
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow clients to add SOAPHeader in SOAPClient.
In order to allow the SOAPClient to send a SOAPHeader without modification of generated code, a new method SetHeader was added to both the SOAPClient and to the generated operation. The header, once set, is preserved between invocations of other methods in the same instance. This allows client code to call SetHeader() with the desired header, including nil to remove it from future calls in the same instance. The SOAPHeader usually holds authentication info, and we can benefit from reusing already set credentials between invocations.
- Loading branch information
Showing
3 changed files
with
30 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters