I have a wsdl file with location, i want to send the request value through soap, i am trying the below scenario. But its not calling the wsdl function. Kindly help me how to send soap request parameter.
<xs:complexType name="wsNotification">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="notificationList" nillable="true" type="tns:notificationsParam"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="notificationsParam">
<xs:sequence>
<xs:element minOccurs="0" name="email" type="xs:string"/>
<xs:element minOccurs="0" name="phone" type="xs:string"/>
</xs:sequence>
</xs:complexType>
Below code i am using in php to call wsdl using soap function
$client = new SoapClient("http://192.100.1.8:8080/getAPI/ws/WSNotification?wsdl",
array('email' => "test@gmail.com",
'phone' => "97122555")
);
echo "Response:
" . $client->__getLastResponse() . "<br>";
I am not getting any response from wsdl when i call the above soap function. Kindly help me how to send parameters from php to soap.