Topic by Shreyas Pandhari
Content
Hi,
How to access the xml elements in a WSDL with multiple operations in Customer Portal PHP? Currently, I am using nusoap. The wsdl structure is shown in the below image (WSDL Screen.png). Say if I want to access the operation ServiceReqInsert.
What should be the syntax for SOAP call? I am using:
$result=$client->call('ServiceReqInsert', array('Description' => 'Created for test', 'Abstract' => 'Via SOAP'));
For a simple wsdl like "http://ws.cdyne.com/delayedstockquote/delayedstockquote.asmx?wsdl" which has only one operation, getting a response and parsing it is a simple task. But for a complex wsdl (like in screenshot) it becomes tricky to make a SOAP call.
Referring the below image (WSDL Screen.png) and the above $client->call syntax, is this the correct way to achieve the requirement? If not then how the syntax should be?
Thanks,
Shreyas