I
I
IgorNoskov2019-09-16 14:52:18
PHP
IgorNoskov, 2019-09-16 14:52:18

How to generate xml for request to wsdl in php?

Hello! I'm trying to integrate with one service. There is a wsdl file and two xsd files that the service gave. When forming a request, you need to transfer a million fields. Is it possible somehow using php to pull out an object with all the necessary fields for the request from these files and then substitute the necessary values ​​in the object?
Does anyone have experience integrating with wsdl to php. I'm trying to integrate with Guzzle + meng-tian/async-soap-guzzle. Maybe someone knows more suitable tools for this situation.
If there are any good examples on this topic, please throw off, I can’t find anything suitable.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
irishmann, 2019-09-16
@IgorNoskov

Most likely you do not need to fill in a million fields. WSDL is an XML document that specifies which methods you can use.
https://habr.com/ru/post/187390/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question