Answer the question
In order to leave comments, you need to log in
How to build a SOAP request in php?
Hello dear experts!
For many days I have been struggling with the formation of a SOAP request and everything is in one place.
The task was set: to get the statuses of applications (
New
Introduced
Negative conclusion
Approved by
the Risk Manager, etc. etc.).
What the developers of the service gave:
- link to the test service for checking the status of the application: https://.................................
- request header
<soapenv:Header>
<UsernameToken xmlns="http://....">ххххххххх</UsernameToken>
<PasswordText xmlns="http://.......">ххххххххх</PasswordText>
<SessionType xmlns="http://.......">ххххх</SessionType>
</soapenv:Header>
Answer the question
In order to leave comments, you need to log in
The service must have a WSDL. It describes all the used methods of the structure, etc. Based on WSDL, code is usually generated in the programming language used. And then everything depends heavily on what kind of language you actually use, but usually the generated code will build everything for you and send it where you need it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question