[wsf-c-dev] Fault handling in data service

Samisa Abeysinghe samisa at wso2.com
Tue Mar 4 19:23:32 PST 2008


Manoj wrote:
> Manoj wrote:
>> hi all,
>>
>> There are some cases which we need to do fault handling in our PHP 
>> dataservice.
>>
>>          Eg
>>          1)when there are no data in the table.
>>          2)when the table doesn't exist.
>>          3)when the database doesn't exist.
>>          4)queries  which are return null values.
>>
>>          The JAVA people sending custom errors massages for  those 
>> faults.They don't do AXIS level fault handling. Can anybody explain 
>> the way which we need to handle those faults.

We can send a SOAP fault with a custom fault reason.

Samisa...

-- 
Samisa Abeysinghe 
Software Architect; WSO2 Inc.

http://www.wso2.com/ - "Oxygenating the Web Service Platform."




More information about the Wsf-c-dev mailing list