Page 1 of 1

What to send in web service security headers?

Posted: Mon Oct 08, 2007 9:55 am
by nadavvin
Hello

I was asked in my work to add web service security header.

I don't know exactly which headers to send, and I search a lot about it and still didn't find something useful about this.

I found this:
http://il2.php.net/manual/en/function.s ... .php#58245

Code: Select all

$header =  new SoapHeader($this->name_space, "Authentication", // Rename this to the tag you need
                                                          $authvalues, false);
Is it what I need?

What the parameters that I need to change? like "Authentication"
Does the name space is the WSDL address?

Nadav

Posted: Tue Oct 09, 2007 6:23 pm
by jeffery
I would also love to learn how to enable Security with webservices. Googling got me to this resource: http://www.rassoc.com/gregr/weblog/stor ... urity.html

Re: What to send in web service security headers?

Posted: Sun Jan 20, 2008 11:59 pm
by samisa
Web Services Security is more than just http authentication. If you want to learn more, read this article, on how to do WS-Security with PHP, including user name token, signing and encryption. Full WS-Security implementation is supported by PHP Web services framework.