Hello. I need my tag like this:

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
  xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
  xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <EnviarArquivo xmlns="http:(CLIENT LINK)">
      <Sistema>1</Sistema>
      <Chave>1</Chave>
      <Solicitacao>1</Solicitacao>
      <OK>TRUE</OK>
      <Observacao></Observacao>
      <Arquivo>1</Arquivo>
    </EnviarArquivo>
  </soap:Body>
</soap:Envelope>

my when the server get my request its going like this:

<?xml version="1.0" encoding="utf-8"?>
<SOAP-ENV:Envelope 
  xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
  <SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
  <NS1:EnviarArquivo xmlns:NS1="http:(CLIENT LINK)">
    <Sistema>1</Sistema>
    <Chave>1</Chave>
    <Solicitacao>1</Solicitacao>
    <OK>TRUE</OK>
    <Observacao></Observacao>
    <Arquivo>0</Arquivo>
  </NS1:EnviarArquivo>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

how can i remove/edit this itens?
- "SOAP-ENV"
- "SOAP-ENC"
- <SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">

i need the to send the xml as the first xml sample! can any1 help-me? thanks! ^_^

Hi I am using php soap

this is my client calling file

<?
$myFile = "202.xml";
$fh = fopen($myFile, 'r');
$theData = fread($fh, filesize($myFile));
// turn off the WSDL cache
ini_set("soap.wsdl_cache_enabled", "0");
$client = new SoapClient("http://testlamps/developerlamps/krish/soap/16/schoolmate.wsdl",array("trace"=>1,"exceptions"=>0));
$client->InstallationSchoolMATE($theData);
fclose($fh);
print "<pre><br>";
print "Request :\n".htmlspecialchars($client->__getLastRequest())."\n";
print "Response:\n".htmlspecialchars($client->__getLastResponse())."\n";
print "</pre>";
?>

202.xml data:

<?xml version="1.0" encoding="UTF-8"?>
<xml>
<registereduser>
<firstname>guna</firstname>
<lastname>shree</lastname>
<designation>manager</designation>
<mobile>9863475365</mobile>
<phone>4463747367</phone>
<email>kamal@gmail.com</email>
</registereduser>
<instdetails>
<instname>itpoint</instname>
<instcode>res</instcode>
<instaddress>100,anna nagar</instaddress>
<instwebsite>www.trichy.com</instwebsite>
<instemail>jai@gmial.com</instemail>
<instphone>4342347727</instphone>
</instdetails>
<user1details>
<firstname>guna</firstname>
<lastname>shree</lastname>
<loginid>INKLI610A011</loginid>
<password>459117</password>
<role>Director</role>
</user1details>
<user2details>
<firstname>guna</firstname>
<lastname>shree</lastname>
<loginid>INKLI610A012</loginid>
<password>175678</password>
<role>Admin</role>
</user2details>
<user3details>
<firstname>guna</firstname>
<lastname>shree</lastname>
<loginid>INKLI610A013</loginid>
<password>684319</password>
<role>Academic Operator</role>
</user3details>
<user4details>
<firstname>guna</firstname>
<lastname>shree</lastname>
<loginid>INKLI610A014</loginid>
<password>099788</password>
<role>Accountant</role>
</user4details>
<user5details>
<firstname>guna</firstname>
<lastname>shree</lastname>
<loginid>INKLI610A015</loginid>
<password>955443</password>
<role>Principle</role>
</user5details>
</xml>

I am getting request and response like below:
Request :
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://www.bridle.co.in:90/olservice/"><SOAP-ENV:Body><ns1:InstallationSchoolMATE/></SOAP-ENV:Body></SOAP-ENV:Envelope>

Response:
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><soap:Fault><faultcode>soap:Server</faultcode><faultstring>Server was unable to process request. ---&gt; Value cannot be null.
Parameter name: s</faultstring><detail /></soap:Fault></soap:Body></soap:Envelope>

please any one help to solve this problem?

why does delphi 7 do this èexÑû¸µ¼J±ÝIþ6Õ,X8±C¥Æêr¶Â”R~8º'ÍÆÛ˜`°ÉÖX"@ÿšŠˆ¦Ž†Qyª%!›+‚¼;ö[¾TTÃæl4jÏd^|‹2uð:×à/Ã8A€7ã_Á˜r"â5†äýÞ©ié†7
£4
3saôH

This article has been dead for over six months. Start a new discussion instead.