axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anne Thomas Manes <a...@manes.net>
Subject RE: Adding header info to WSDL
Date Mon, 06 Oct 2003 16:12:19 GMT
Axis doesn't currently generate Java objects or handlers from header 
definitions.
You need to write a handler routine, and configure it in your handler chain.

Anne

At 02:49 PM 10/3/2003 -0700, you wrote:
>Hi Anne,
>
>Many thanks for your reply. I hope you dont mind my writing to you 
>directly - if so, please ignore this email.
>
>I have a question regarding your response. Having, as per your 
>instructions, created a header in the WSDL, do you know if running 
>WSDL2JAVA should create a corresponding java object? I ask because running 
>wsdl2Java does not produce a header object - how then can I set the value 
>of the header in my web service client.
>
>Best regards,
>Sam Khan
>
>-----Original Message-----
>From: Anne Thomas Manes [mailto:anne@manes.net]
>Sent: Monday, July 28, 2003 2:26 PM
>To: axis-user@ws.apache.org
>Subject: Re: Adding header info to WSDL
>
>
>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" <skhan@SVTECHNOLOGY.com>
>To: <axis-user@ws.apache.org>
>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
> >
> >
> >



Mime
View raw message