php - Send XML with SOAP


I need to send SOAP data.

<vodh:VODHeader xmlns:vodh="">
<vodb:VODBody xmlns:vodb="" version="1.0">    
   <vodb:message>Lorem ipsum</vodb:message>

I was using SoapClient to create an array and pass it as parameter but is well defined so?

$client = new nusoap_client($Urlserver,FALSE);
//$data_xml is the xml I mention in previous lines
$msg = $client->serializeEnvelope($data_xml); 
$result=$client->send($msg, $Urlserver);

This is the correct way to send data or other method.

And soap responds with an ACK.

People are also looking for solutions to the problem: php - Cannot connect to remote MySql Server in Kohana


Didn't find the answer?

Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.

Ask a Question

Write quick answer

Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.

Similar questions

Find the answer in similar questions on our website.