How to make laminas soap headar

Hello, we want to create the soap server that we wrote before in Laravel. wsdl structure of old soap server
request xml

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
 <soap:Header>
 <User xmlns="http://webservice.segem.org.tr/Segem.asmx">
 <username>string</username>
 <password>string</password>
 </User>
 </soap:Header>
 <soap:Body>
 <CandidateEducationCertificateAsk xmlns="http://webservice.segem.org.tr/Segem.asmx">
 <request>
 <TRIdentityNo>string</TCIdentityNo>
 <QueryType>string</QueryType>
 <CourseCode>string</CourseCode>
 <CourseName>string</CourseName>
 </request>
 </CandidateEducationCertificateAsk>
 </soap:Body>
</soap:Envelope>

response xml

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
 <soap:Body>
 <AdayEgitimSertifikaSorResponse xmlns="http://webservice.segem.org.tr/Segem.asmx">
 <CandidateEducationCertificateAskResult>
 <CandidateInformationResponse>
 <DocumentNo>string</DocumentNo>
 <DocumentDate>string</DocumentDate>
 <Year>string</Year>
 <TcIDNo>string</TcIDNo>
 <NameSurname>string</NameSurname>
 <TrainingName>string</TrainingName>
 <CourseName>string</CourseName>
 <SuccessStatus>string</SuccessStatus>
 <ExamDate>string</ExamDate>
<Level>string</Level>
<Link>string</Link>
<BransId>int</BransId>
<ErrorCode>int</ErrorCode>
<ErrorMessage>string</ErrorMessage>
</AdayInformationResponse>
</AdayEgitimCertificateSorResult>
</AdayEgitimCertificateSorResponse>
</soap:Body>
</soap:Envelope>

How to set the information in the wsdl header tag with laminas-soap server.

How can a similar wsdl structure be printed to the screen with the get method?

Thanks.