Hi all.
I am currently (re)developing a webservice that does searches and inserts into a rather complex crm-system.
I am using the bottom-up approach (good thing i dont have a dirty imagination, or that sentence would sound wierd..^^), starting with pojos and an implementation class and from there generating the service.
-all this is working well, and predictably.
now, i would like to return faults to the clients, since hardcoded status and messagefields in my returntypes is cumbersome both for me and my counterpart programming the client.
so, having declared my own fault-type to handle general errors i am looking for a way to send these to the client.
-atm when i throw my faults, my service does not return the fault-type, but only my standard data-type.
-i have looked into the info at codehaus, but to no avail, having followed as mouch as i can of their examples (from what i understand, writing my own error-handler should not be necesary) , i still do not get Faults returned. -obvioulsly i am doing something wrong.
so my question to you is this:
-is there a code-example somewhwere of a service generated bottom-up, and uses Faults sucessfully? , or do you have some general tips of things people tend to miss, common errors if you will?
regards,
\carl