Yes.
- define the <authentication> element in the <types>  section.
- define an additional <part> in your input message and reference the
authentication element.
- add a <soap:header> element to the <input> element in the <binding> and
reference the header message part (see [1])

[1] http://www.w3.org/TR/wsdl#_soap:header

Anne

----- Original Message -----
From: "Sam Khan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 28, 2003 4:26 PM
Subject: Adding header info to WSDL


> Hi,
>
> Is it possible to specify header parameters in a web service's WSDL ?
Specifically, I want
> to ensure that  a client sends the following elements in a SOAP header:
>
> <authentication>
> <username></username>
> <password></password>
> </authentication>
>
> Can this be enforced in the WSDL?
>
> Many thanks
> Sam
>
>
>

Reply via email to