简体   繁体   中英

PHP SOAP Web Service send XML as parameter

I have to send a XML file as parameter for a web service using SOAP. Any help with how can I do it?

And.. What's the XML Schema (XSD file)?

The XML has to be passed as a string which will be encoded in order to be encapsulated in the XML SOAP Request.

In any case, I strongly advise you to use a WSDL to PHP generator such as the PackageGenerator project which eases the request construction and the response handling,

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