I'm building an application within a 'Black Box'.
Because of this, I can not connect to the SOAP server that this application will eventually be connecting to. Instead, I have a flat SOAP formated XML file that I will be using as my test data.
My question is this: Can I some how fake a SOAP server by connecting to this file (which contains the SOAP XML data).
Perhaps something like this?
require_once('nusoap.php');
$soap = new soapclient("SOAPXML/Response_Pass.xml")
...
|
What would go next?
All I'm looking to get back is the Array of data called from $soap->call() ... however I'm not sure what I should put in the CALL data, as all I have is the XML data at this time.
Suggestions?