Benji1298 Posted April 18, 2011 Share Posted April 18, 2011 Ok, so I need to send a SOAP message to my server, but I have never done this before. The complete SOAP message should be as follows: <?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http:// www.w3.org/2001/XMLSchema-instance"> <soapenv:Body><request><username>testuser</username> </request></soapenv:Body></soapenv:Envelope> I have been trying to get this to work for a while now and can't do it, so I need your help. Here is what I have right now: $params = array('username'=>$username); $params2 = array('request'=>$params); $response = $client->invokeService($params2); var_dump($response); Please, any help is appreciated. I really don't understand this at all. I need help ASAP. Link to comment https://forums.phpfreaks.com/topic/234011-php-soap/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.