We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I've seen on the #4 (comment) issue that @francisbesset explained how to add headers to an answer :
use BeSimple\SoapBundle\Soap\SoapHeader; $response = new SoapResponse(); $response->addSoapHeader(new SoapHeader($namespace, $name, $data)); return $response;
But I don't really see where to add these in this situation :/
class someController extends ContainerAware { /** * @Soap\Method("soapTest") * @Soap\Header("aTestCookie", phpType = "string") * @Soap\Param("lowerCaseString", phpType = "string") * @Soap\Result(phpType = "string") */ public function soapTestAction($lowerCaseString) { $request = Request::createFromGlobals(); if ( $request->cookies->has('aTestCookie') ) { $lowerCaseString = $request->cookies->get('aTestCookie'); } return strtoupper($lowerCaseString); } }
Thank you for your help !
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I've seen on the #4 (comment) issue that @francisbesset explained how to add headers to an answer :
But I don't really see where to add these in this situation :/
Thank you for your help !
The text was updated successfully, but these errors were encountered: