logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: Add namespaces to xmldecl?: msg#00035

Subject: Re: Add namespaces to xmldecl?
How about:

$header="<whatever you need to set in the header \>";
$client->setHeaders($header);

Michiel

Morbus Iff wrote:

 * somehow hook into $this->namespaces so I can

>    add new namespaces to the SOAP-ENV:Envelope>.

Alright, I've got this part working with:

  // add new namespaces for the liberty alliance.
  $client->namespaces['lib']   = 'urn:liberty:iff:2003-08';
  $client->namespaces['sa']    = 'urn:liberty:sa:2004-04';
  $client->namespaces['sb']    = 'urn:liberty:sb:2003-08';
  $client->namespaces['sbext'] = 'urn:liberty:sa:2004-04';

Now just need to figure out how to get into SOAP-ENV:Header.


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

<Prev in Thread] Current Thread [Next in Thread>