Typically, your Java class from which you are generating the WSDL doesn't include the header information in the interface, therefore java2wsdl has no way of knowing what header elements you want.

Anne

On 10/28/05, anshuk pal chaudhuri <[EMAIL PROTECTED]> wrote:
Hi Anne,

Thanks for your reply.
What I exactly meant was that according to the WSDL
spec 1.1 we have an option of adding the soap:header
inside the wsdl:binding-->wsdl:operation-->wsdl:input.

But that soap:header can be added or can not
be,depending upon the needs.(meaning soap:header
element is an optional tag in the wsdl)

In that context,does the Java2WSDL allows us,while
creating the wsdl, to add the soap:header, if we want
to?

Thanks,
Anshuk

--- Anne Thomas Manes <[EMAIL PROTECTED]> wrote:

> WSDL doesn't provide the ability to define optional
> headers. Only mandatory
> headers may be defined in WSDL.
>
> On 10/27/05, anshuk pal chaudhuri
> <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> >
> > Does the Java2WSDL tool allow us to add
> soap:header
> > element in the WSDL which is optional?
> >
> > Thanks
> > Anshuk
> >
> >
> >
> > __________________________________
> > Yahoo! FareChase: Search multiple travel sites in
> one click.
> > http://farechase.yahoo.com
> >
>





__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com

Reply via email to