I'm ok with PHP and have just been asked to create a Web Service so one of our 3rd party suppliers can use our payments system. I've got all the info I need working once I have the data they want passed but I have no idea how my SOAP server should go about getting their XML
The examples I've used to learn pass parameters in as strings such as this example...
nabled", "0"); // disabling WSDL cache
$client = new SoapClient("http://..../payments.wsdl
$return = $client->makePayment('12.3
... but the company that wants to use our payments engine want to pass an XML document in something like...
... how would I go about that please? Would it simply be down to passing as simple xml in the 'makePaymentFunctions.php'
page then doing what I want with it? If so how would I add it to the stub of client-test.php : $return = $client->makePayment(?????
ini_set("soap.wsdl_cache_enabled", "0"); // disabling WSDL cache
$server = new SoapServer("payments.wsdl");