A couple questions:
1) Do you have any examples of doing this programmatically using the WSDL4J
API?
2) Why do I need to add stuff to the "types" and "part" sections of the
WSDL? The spec only mentions
the soap:header element in the binding input section when talking
about Soap Header support.
Regards.
Steve Pannier
----- Original Message -----
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
>
>