Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $client = new soapClient("ttp://ws.giap.com.br/WSNFSECampina/wsintegration?wsdl", $options = array(
- 'trace'=>1,
- 'exceptions'=> 0,
- 'encoding' => 'UTF-8',
- 'soapaction' => '5')
- );
- $ns = 'http://v5.ws.vads.lyra.com/Header/';
- $token = "12345678";
- $headerToken = new SOAPHeader($ns, 'token', $token);
- $headers = array(
- $headerToken
- );
- $client->__setSoapHeaders($headers);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement