Title: Message
Hi!
 
User status : AXIS newbie
 
Well I am developing some 'simple' web services as part of my final year project! I am using a 100% RPC approach! I have a service that is responsible of making some sort of user validation. The client invokes the Logging service passing a username and password. The service checks its credentials and if the processing is succesful returns an encrypted string that is going to be used for the invocation of other services,like a passport lets say :) . Ok.. my newbie question is , alright and what if the credentials are bad..and the logging is non valid. Is it my responsibility  as a developer that should take care of  it, I mean that I should return a string saying 'ERROR' and the client side.(which is implemented by me) should have the code to check the string , or SHOULD i sent a FAULT response. From what i have red till now, a FAULT message is only associated with exception occuring at the AXIS engine as overal? Can i use FAULT messages to deliver businees logic to my client? or the FAULT messages are only for technical problems in the request/response flow!
 
If yes, how can i send as a response a FAULT message ? through a handler i suppose in the response flow?
 
Thank you for your time
A.P
 

Reply via email to