vendredi 23 mars 2018

How to generate classes from xml and wsdl in php

I want to mock SoapClient. Currently it uses classmap, so when I call $client->doSmth I get my predefined classes.

Now I am writing tests. I have responses from service (xml files). There are hundrets of them. So is there a way to create classes from xml files based on wsdl?

Aucun commentaire:

Enregistrer un commentaire