Hi there!
The RPC/Literal project I'm working on wants me to define faults that only 
contain 2 elements, faultcode and faulstring. Further, they want me to define 
these elements on my own according to a specific proprietary system. I tried 
this two different ways. 

When I did so by having my functions throw a SOAPFaultException, I was easily 
able to have the system throw my own defined faultcode and faultstrings, but it 
also insisted on including the faultactor and a detail attribute as well. 

I tried to get around this by defining a custom exception with only a faultcode 
and a faultstring element and having it throw this. When I did this, it 
included my custom faultcode and faultstring, but also included a separate 
faltcode (env:client) and its own faultstring (the name of the custom exception 
I had thrown). This was for obvious reasons not the ideal either.

Is there any way to have a function return a fault like that with JUST a 
faultcode and faultstring that I can define? Or any other way to have a 
function like that that would normally return one kind of complex datatype but 
would instead return the fault datatype in certain instances? Attention to this 
would be HIGHLY appreciated.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956227#3956227

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956227

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to