***Urgent*** remove xmlns atribute from soap request
Posted: Wed Jun 10, 2009 10:58 am
My soap server does not like the xmlns="http://Think/XmlWebServices/." added to each element in the request as shown below. Can I please get information on how I can remove this from my request as it does not work with this in the request. I have been looking an searching everywhere for info on how to do this, I am really in need to move on with this application.
the php code used to create the request is shown below
please give instructions on how to remove this from my requests.
Code: Select all
<SOAP-ENV:Body>
<login_authenticate_request xmlns="http://Think/XmlWebServices/" >
<user_login_data xmlns="http://Think/XmlWebServices/" >
<login>WUser</login>
<password>********</password>
</user_login_data>
<customer_identifier xmlns="http://Think/XmlWebServices/" >
<customer_id/>
<login>sean</login>
<password>********</password>
</customer_identifier>
</login_authenticate_request>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Code: Select all
$user_login_data = array('login' => 'WUser', 'password' => 'w3bus3r');
$customer_identifier = array('customer_id' => '', 'login' => 'sean', 'password' => 'sean');
$result = $soap->call('LoginAuthenticate', array('user_login_data' => $user_login_data, 'customer_identifier' => $customer_identifier)); please give instructions on how to remove this from my requests.