[wsf-c-dev] [Fwd: [SOAP] SOAPHeader Help]

Sanjiva Weerawarana sanjiva at wso2.com
Sun Feb 25 20:13:53 PST 2007


In the ServiceClient API we have a simple addHeader method. That kind of 
thing can be added without leaking SOAP I think.

Sanjiva.

Samisa Abeysinghe wrote:
> This is from PHP SOAP list.
> We cannot do what he is asking with our API; can we? :(
> Looks like we would have to add some support for SOAP headers from our 
> PHP API.
> 
> Samisa...
> 
> -------- Original Message --------
> Subject:     [SOAP] SOAPHeader Help
> Date:     Thu, 22 Feb 2007 18:00:54 +0200
> From:     A. Bahadýr UGE <bahadiruge at gmail.com>
> To:     soap at lists.php.net
> 
> 
> 
> Hi Everyone
> 
> I have no idea to SOAP. I want improve about SOAP codding with php. I 
> usually use CURL functions like tihs projects but this is very diffrent.
> I have problem about business partner SOAPHeader Communication
> They want SOAP message like this first
> 
> 
> <?xml version="1.0" encoding="utf-16"?>
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" 
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
> xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>  <soap:Header>
>    <AuthenticationInfo xmlns="http://iodeme.arenaopen.com/">
>      <agentID>MYLOGINID</agentID>
>      <username>MYUSERNAME<username />
>      <authenticated>true</authenticated>
>    </AuthenticationInfo>
>  </soap:Header>
>  <soap:Body>
>    <GetBankList xmlns="http://iodeme.arenaopen.com/">
>      <getAll>false</getAll>
>    </GetBankList>
>  </soap:Body>
> </soap:Envelope>
> 
> 
> SOAPAction : "http://iodeme.arenaopen.com/GetBankList"
> Url       : "http://test.iodeme.com/iodeme.asmx"
> 
> 
> How can i create php code for this SOAP XML
> 
> Please help me.
> 
> Thanks
> 
> A. Bahadir UGE
> 

-- 
Sanjiva Weerawarana, Ph.D.
Founder, Chairman & CEO; WSO2, Inc.; http://www.wso2.com/
email: sanjiva at wso2.com; cell: +94 77 787 6880; fax: +1 509 691 2000

"Oxygenating the Web Service Platform."




More information about the Wsf-c-dev mailing list