Soap request

Hi

Can anyone help me to make a request using soap and php. All time when I try to make it I get this error: looks like we got no XML document …


<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:fram="http://framework.zend.com">
     <soapenv:Header/>
     <soapenv:Body>
            <fram:getLocations>
                  <securityInfo>
                        <userName>test</userName>
                       <password>test</password>
                      <agentCode>test</agentCode>
                      <pos>UK</pos>
                     <lang>en</lang>
             </securityInfo>
           <country>GB</country>
         </fram:getLocations>
     </soapenv:Body>
</soapenv:Envelope>

Methods name: getLocations

WSDL Location - http://ach.kamadhenu.co.uk/en/soap/index?wsdl
Server End Point - http://ach.kamadhenu.co.uk/en/soap/index

Thanks

Usually the error “no XML document” appears when you have an error into your code.
So, make sure you have valid code (set error_reporting(E_ALL) and log everything). Any output will destroy the XML output.
Also, make a search after wsdl validator and try to validate your wsdl.