How to pass a string WSDL to a PHP Soap client?

I am trying to connect to a Soap server, but there are some issues with the WSDL URI (it's corrupted). Someone has suggested to use the WSDL as a string instead of the URI.

I am developing my Soap Client with PHP. I can't find any documentation explaining how to pass such a string WSDL to SoapClient. How should I proceed? Is it even feasible?

Remark: I have solved my issue with a file URI (which is slightly different than the suggested duplicate question, but we can close it)

Upvotes: 1

Views: 1255

Answers (1)

I have used a file URI similar to:

file://path/my.wsdl 

Upvotes: 1

Related Questions