NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
****Urgent****** Need to remove xmlns attribute from request


Joined: 05 Jun 2009
Posts: 3
Reply with quote
My soap server does not like the xmlns added to each element in the request as shown below in red. Can I please get information on how I can remove this from my request. I have been looking an searching everywhere for info on how to do this, I am really need to move on with this application.

<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>

the php code used to create the request is shown below

$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.
View user's profileFind all posts by sfoley77Send private message
Site Admin

Joined: 13 Jul 2003
Posts: 7826
Reply with quote
xmlns attributes contain namespaces. You shouldn't remove them.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 15 Dec 2013
Posts: 3
Reply with quote
Hi im facing a similar problem posted at http://forum.nusphere.com/help-with-nusoap-attributes-t9741.html#33015#33015 struggling to solve it.. did u manage to get a solution for it?
View user's profileFind all posts by simoneSend private message
****Urgent****** Need to remove xmlns attribute from request
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic