Hi everyone,
at the moment i am writing a SOAP-service in PHP5 with the usage of WSDL. I am an experienced programmer but have not
often used PHP for webservices.
First of all what is working::
I am able to do remote-procedure calls on my SoapServer's class object..
$server->setClass("CLASS");
The trouble i am having concerns the HEADER part.
I would like to send authentication inside the header. I have read that the PHP SoapServer
first processes the header. In which i would like it to call myClass function, Authenticate.
I've seen that the nodes are actually send to the server, but php ignore's this. I am at a total loss
as what it might be. Any help would be very appriciated.
Here is the WSDL location
http://pietersma.hopto.org/SOAP/wsdl/punchit_auth.wsdl
And this is how the header part is recieved by the server.
<SOAP-ENV:...
<SOAP-ENV:Header>
<ns1:Authentication>
<Username>Auke</Username>
</ns1:Authentication>
</SOAP-ENV:Header>
...
I've tried with one argument and multiple but no result.
I've also heard there are 3 different SOAP implementations for php... how can i check this and does it
make a difference? I have not installed or included any SOAP libs so i am assuming it is the native one that
i am using.(Correct me if i'm wrong)
CLASS {
..
.
public function Authentication($usr){
...
}
Any tips or hints would be appriciated!
Kind regards.. a lost Guy
ciao Auke The Netherlands