简体   繁体   中英

Parsing WSDL through PHP SoapClient

I'm trying to connect to Dynamics CRM via PHP. PHPs inbuilt SoapClient parses the WSDL successfully but I want/need to be able to look at some of the tags in the WSDL and extract information from it.

My question is thus:

Is there a clever way to extract and re-parse the WSDL via the inbuilt SOAP Client?

I could obviously use SimpleXML / DomDocument / Curl libraries to parse the WSDL but then I'd have to re-write functionality such as processing namespace imports which I'm trying to avoid.

Any help / suggestions even if it is that parsing without SoapClient is the best solution would be greatly appreciated.

Use soapui

This is an excelent tool for easy and fast check of all wsdl functions.

Download:

Tutorias:

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM