[SOAP] PEAR::SOAP headers in WSDL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

Is there any way to add an information about headers in WSDL file?

Now my WSDL file looks like this:
.......
<binding name="UsersBinding" type="tns:UsersPort">
    <operation name="SetUserInfo">
        <soap:operation soapAction="urn:FastSite#users#SetUserInfo" />
        <input>
            <soap:body use="encoded" namespace="urn:FastSite"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; />
        </input>
        <output>
            <soap:body use="encoded" namespace="urn:FastSite"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; />
        </output>
    </operation>
</binding>
.......

But I want to see a  <soap:header> element in my operation:

.......
<binding name="UsersBinding" type="tns:UsersPort">
    <operation name="SetUserInfo">
        <soap:operation soapAction="urn:FastSite#users#SetUserInfo" />
        <input>
            <soap:body use="encoded" namespace="urn:FastSite"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; />
            <soap:header

encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
                    message="tns:AuthHeaderRequest"
                    namespace="urn:FastSite"
                    part="AuthHeader"
                    use="literal"> </soap:header>
        </input>
        <output>
            <soap:body use="encoded" namespace="urn:FastSite"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; />
        </output>
    </operation>
</binding>
.......

Is it possible?

Thanks.

Roman Romanov.

-- 
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Kernel Newbies]     [PHP Database]     [Yosemite]

  Powered by Linux