Dear all,

I am a newbie in XFire (and Webservice) and hope this question is not too 
trivial or dumb.

I am using JDK1.4 with XFire 1.2.5.  I followed the XFire "book" sample to make 
a simple webservice to test, and want to find some way to add some custom SOAP 
header (e.g. our own application's login token etc) and have them shown on 
WSDL.  Although from the handlers sample in the "book" example it seems that I 
can manipulate the headers freely, I want them shown on WSDL because my .Net C# 
client will need that to generate correct databinding.

How can I define in the service.xml or aegis binding config in order to have 
XFire publish a WSDL containing header info? I tried to read the XFire user 
guides but seems that I cannot find related topics.

Another dumb question, in the book example, there is a "BookService.doc.xml". I 
would like to know, is this file only for documentary purpose? Does XFire 
requires it in order to correctly expose the Book Service?

Thanks a lot.

Adrian



This email is confidential. If you are not the intended recipient, please 
delete it from your system and notify the sender immediately. Any unauthorized 
use, disclosure, dissemination or copying of this email is prohibited. Taifook 
Securities Group, its group companies and their content providers ("Parties") 
shall not be responsible for the accuracy or completeness of this email or its 
attachment, if any, which could contain virus, be corrupted, destroyed, 
incomplete, intercepted, lost or arrive late.   The Parties do not accept 
liability for any damage caused by this email.

Reply via email to