NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
how to pass soap_fault


Joined: 07 Sep 2007
Posts: 2
Reply with quote
Hi, I need my web service to send a fault. I tried with:
Code:

return new soap_fault('MyErrorCode','','My description about why this error was thrown','');

but I have an error because the soap_fault cannot be converted to xml...

so... how should I pass a soap_fault?
View user's profileFind all posts by homer84Send private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
Quote:
but I have an error because the soap_fault cannot be converted to xml...

Soap_fault works pretty well, no need to convert it to xml, it's done by nusoap. You may want to check with samples, see sticky posts on this forum.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
how to pass soap_fault
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