By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,589 Members | 1,194 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,589 IT Pros & Developers. It's quick & easy.

How to call soapheader function in soapclient php5?

P: 14
How to call soapheader function in soapclient php5?

I want to call the <soap header> xml in soapclient php.
so i want to use soapheader function in soapclient php5.
please code for example how to declare soapheader in soapclient.


Expand|Select|Wrap|Line Numbers
  1. <?php
  2.  
  3. function OrderImport()
  4.     {
  5.         $this->_soapclient = new SEG_SoapClient('OrderImportProxy');
  6.         $this->_soapclient->__soapCall("echoVoid", new SoapHeader('http://www.openuri.org/2002/04/soap/conversation/','StartHeader','conversationID','callbackLocation'));
  7.  
  8. ?>
Jun 12 '10 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.