aspose file tools
The moose likes Web Services and the fly likes axis message based service and faults Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "axis message based service and faults" Watch "axis message based service and faults" New topic
Author

axis message based service and faults

Greg T Robertson
Ranch Hand

Joined: Nov 18, 2003
Posts: 91
I currently am experiencing a problem with a message based web service and soap faults. It seems as though I'm unable to get the faults from the web service. I suspect that it is due to this bug but am wondering if anyone out there has done anything to work around this or can provide any general pointers to me on getting the SOAPFault efficiently and effectively from the element on the client side. It would seem to to me that somewhere out there would have to be code available to already do this.
Greg T Robertson
Ranch Hand

Joined: Nov 18, 2003
Posts: 91
never mind. figured this one out myself. apparently you have to throw an AxisFault in order for it to get caught as a fault on the other side. Not the prettiest thing (i don't think) but it appears to work. Can anyone confirm/deny this is the correct way to do this for a message based service in Axis?
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: axis message based service and faults
 
Similar Threads
RunTime Exception
Info while runing the WSDL2java as standalone application
web service questions to ask based on the client wsdl file and XML sample files
SOAPFault
Any feedback for SCDJWS Beta?