Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I add a custom http header to SOAP message

Tags:

soap

asp.net

Can I add a custom headers to the following headers

POST /InStock HTTP/1.1
Host: www.example.org
Content-Type: application/soap+xml; charset=utf-8
Content-Length: nnn

<?xml version="1.0"?>
 .....

please any help ?

like image 383
Hiyasat Avatar asked Dec 02 '25 05:12

Hiyasat


1 Answers

Write an HttpModule to intercept WebService Response and add your custom header in the intercepted response stream.

like image 158
this. __curious_geek Avatar answered Dec 04 '25 20:12

this. __curious_geek