PEAR::SOAP headers in WSDL
| From: | Roman Romanov | Date: | Wed, 10 Sep 2003 20:15:21 +0000 |
| Subject: | PEAR::SOAP headers in WSDL | ||
| Groups: | php.soap | ||
| Request: | Send a blank email to php-soap+get-1041@lists.php.net to get a copy of this message | ||
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.