You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Brecht Yperman <Br...@invenso.com> on 2006/08/08 14:44:59 UTC

[Axis2] Custom headers

Hi,

 

I'm using the serviceclient to call webservices.

 

I would like the user to be able to add custom headers to the
headerelements. I should also be able to return custom headerelements
from the response to the user.

 

I thought about writing a handler, but I have a few problems (how to get
the elements from the user to the handler?, ...)

 

How do I start?

 

Thanks a lot,

Brecht

 

Invenso - The "Integration Software" specialists.
_____________________________________________

Brecht Yperman
Development team

Direct: +32 (0)3 780 30 05
Email: brecht.yperman@invenso.com

INVENSO bvba
Industriepark-West 75
9100 Sint-Niklaas
Belgium - Europe

Phone: +32 (0)3 780 30 02
Fax: +32 (0)3 780 30 03
Email: info@invenso.com 
Website: www.invenso.com <http://www.invenso.com/>  

"E-mail disclaimer: This e-mail, and any attachments thereto, is
intended only for use by the addressee(s) named herein and may contain
legally privileged and/or confidential information. If you are not the
intended recipient, please note that any review, dissemination,
disclosure, alteration, printing, copying or transmission of this e-mail
and/or any file transmitted with it, is strictly prohibited and may be
unlawful. If you have received this e-mail by mistake, please
immediately notify the sender and permanently delete the original as
well as any copy of any e-mail and any printout thereof."

 


RE: [Axis2] Custom headers

Posted by Martin Gainty <mg...@hotmail.com>.
Concerning the processing of SOAPheaders
There are 2 attributes which must be set to True which are:

mustUnderstand -- forces the processing of SOAP Header and generated Fault 
if unable to process
relay -- true says that block must be relayed if not processed

For more information see
http://www.w3.org/TR/2003/REC-soap12-part1-20030624/#soaprelay

Martin--

______________________________________________
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official 
business of Sender. This transmission is of a confidential nature and Sender 
does not endorse distribution to any party other than intended recipient. 
Sender does not necessarily endorse content contained within this 
transmission.

>
>Hi,
>
>
>
>I'm using the serviceclient to call webservices.
>
>
>
>I would like the user to be able to add custom headers to the
>headerelements. I should also be able to return custom headerelements
>from the response to the user.
>
>
>
>I thought about writing a handler, but I have a few problems (how to get
>the elements from the user to the handler?, ...)
>
>
>
>How do I start?
>
>
>
>Thanks a lot,
>
>Brecht
>
>
>
>Invenso - The "Integration Software" specialists.
>_____________________________________________
>
>Brecht Yperman
>Development team
>
>Direct: +32 (0)3 780 30 05
>Email: brecht.yperman@invenso.com
>
>INVENSO bvba
>Industriepark-West 75
>9100 Sint-Niklaas
>Belgium - Europe
>
>Phone: +32 (0)3 780 30 02
>Fax: +32 (0)3 780 30 03
>Email: info@invenso.com
>Website: www.invenso.com <http://www.invenso.com/>
>
>"E-mail disclaimer: This e-mail, and any attachments thereto, is
>intended only for use by the addressee(s) named herein and may contain
>legally privileged and/or confidential information. If you are not the
>intended recipient, please note that any review, dissemination,
>disclosure, alteration, printing, copying or transmission of this e-mail
>and/or any file transmitted with it, is strictly prohibited and may be
>unlawful. If you have received this e-mail by mistake, please
>immediately notify the sender and permanently delete the original as
>well as any copy of any e-mail and any printout thereof."
>
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org