Thanks.

But from reading this thread:

http://marc.theaimsgroup.com/?l=axis-user&m=102551663918520&w=2

it looks like WSDL2Java can't handle the <soap:header> at the moment.
Too bad.


>From: "Stocker, Walter" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: AW: How do you get to the Call object from auto-genenerated client 
>stub ?
>Date: Wed, 3 Jul 2002 18:51:33 +0200
>
>You can define additional informations to be carried with the
>soap header in the <binding> element's <operation> child element,
>e. g.
>
><operation name="registration">
>   <soap:operation soapAction="">
>     <input>
>       <soap:header message="..." part="expiration" use="encoded"
>          namespace="" 
>encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
>
>
>The <soap:header> element indicates that the expiration part of the message
>appears as a SOAP header.
>
>The part="expiration" has to be defined in the message definition of the
>operation, e. g.
>
>   <message name="...">
>     <part name="expiration" element="xsd:string">
>     ...
>   </message>
>
>Hope, the information helped a bit... ;-)
>
>cu
>
>
>  Dipl. Inform. (FH) Walter Stocker
>  T-Systems International GmbH
>  Software Developer
>  System Integration
>  Address: Memmelsdorfer Str. 209a, 96052 Bamberg
>  Phone: +49 (09 51) 40 97 - 1 46
>  Fax: +49 (09 51) 40 97 - 2 00
>  E-Mail: mailto:[EMAIL PROTECTED]
>  Internet: http://www.t-systems.com
>
>
>
> > -----Ursprüngliche Nachricht-----
> > Von: Cun Yong Tan [mailto:[EMAIL PROTECTED]]
> > Gesendet am: Mittwoch, 3. Juli 2002 18:21
> > An: [EMAIL PROTECTED]
> > Betreff: How do you get to the Call object from
> > auto-genenerated client
> > stub ?
> >
> >
> > I used WSDL2Java to generate the client source files.
> > I would like to add some headers using Call.addHeader( ) before
> > the invocation of a method.
> > But I don't see how to get to the Call object with the
> > auto-generated client code. Looking at the client stub, each
> > method creates
> > a Call object internally and does the invocation.
> >
> > Is it not possible to add headers with auto-gen source code ?
> >
> > Thanks
> >
> > Cun Yong Tan
> >
> >
> > _________________________________________________________________
> > MSN Photos is the easiest way to share and print your photos:
> > http://photos.msn.com/support/worldwide.aspx
> >




Cun Yong Tan
[EMAIL PROTECTED]


_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx

Reply via email to