# Custom header in WSDL zend-soap server

**URL:** <https://discourse.laminas.dev/t/custom-header-in-wsdl-zend-soap-server/977>\
**Category:** Components & MVC\
**Tags:** zend-soap\
**Created:** [March 7, 2019, 9:29pm UTC](https://discourse.laminas.dev/t/custom-header-in-wsdl-zend-soap-server/977 "2019-03-07T21:29:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hypemedia](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.laminas.dev/hypemedia/32/456_2.png) [@hypemedia](https://discourse.laminas.dev/u/hypemedia)\
**Post date:** [March 7, 2019, 9:29pm UTC](https://discourse.laminas.dev/t/custom-header-in-wsdl-zend-soap-server/977/1 "2019-03-07T21:29:05Z")

</div>

Is there a way of creating an WSDL custom header with the auto-discovery function zend-soap server? Or an other alternative way of managing such a request on the soap server?

I need to process a request coming from an ESB proxy containing a soapenv:header like this one:

```
<soapenv:Header>
         <esb:header>
            <esb:message_type>AddNewOrder</esb:message_type>
            <esb:version>01.80</esb:version>
            <esb:source_entity>xxx</esb:source_entity>
            <esb:source_application>xxx</esb:source_application>
            <esb:destination_entity>xxx</esb:destination_entity>
            <esb:destination_application>TIRE</esb:destination_application><esb:message_id>xxx</esb:message_id><esb:correl_message_id>xxxx</esb:correl_message_id><esb:message_id>X&apos;xxxx&apos;</esb:message_id>
         </esb:header>
</soapenv:Header>
```
