Demetris I was trying to get across that you *don't* want to add headers into the WSDL. Its not a good model. The point is that the body is (mostly) strongly-typed and the headers are loosely typed in the sense that you may or may not have them. Axis2 doesn't support generating WSDL with headers in it. I'm not sure if WSDL2Java has been tested with WSDL with headers in either, because its not a common case.
If you want to read more, look at this: http://www.ibm.com/developerworks/xml/library/ws-tip-headers.html Paul On 5/29/07, Demetris G <[EMAIL PROTECTED]> wrote:
I did find some information on adding headers on the client side or in the SOAP message. How does one ask the Axis engine on the server side to add headers in the generated WSDL ? Paul Fremantle wrote: > Sure Demetris - that is what headers are for. However, although you > can include headers in the WSDL, most of the time people don't. The > reason is that they like to keep a separation between application > (functional) and non-application logic (non-functional, e.g. QoS, > higher level tracking etc). > > You can add headers inside the client or using a module. You can even > extend the policy languages to define your own headers using a policy. > > Paul > > On 5/29/07, Demetris G <[EMAIL PROTECTED]> wrote: >> >> Hey Glen, >> >> I hope this makes a bit of a sense: >> >> Can the server send some network specific information to the client >> by including that >> information in the WSDL file in such a way so that when the client stubs >> generate the >> SOAP calls back to the server, this information can be intercepted and >> utilized in a >> certain manner. In other words, I want to take advantage of the existing >> traffic between >> the client and the server to transport additional information across >> them. >> >> Thanks >> >> Glen Mazza wrote: >> > I am not sure what you asking--can you give us an example of what you >> > might be looking for? >> > >> > Glen >> > >> > >> > Am Montag, den 28.05.2007, 23:07 -0400 schrieb Demetris G: >> > >> >> Hi all, >> >> >> >> does (and if it does where and how ) the SOAP specificaton >> allow to >> >> add proprietary or application specific data >> >> to SOAP messages? >> >> >> >> Thanks >> >> >> >> >> >> --------------------------------------------------------------------- >> >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> >> >> > >> > >> > --------------------------------------------------------------------- >> > To unsubscribe, e-mail: [EMAIL PROTECTED] >> > For additional commands, e-mail: [EMAIL PROTECTED] >> > >> > >> > >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Paul Fremantle Co-Founder and VP of Technical Sales, WSO2 OASIS WS-RX TC Co-chair blog: http://pzf.fremantle.org [EMAIL PROTECTED] "Oxygenating the Web Service Platform", www.wso2.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
